-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I've setup correctly (I believe), but the plugin is not doing anything.
tailwind.config.js:
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: {
textFillColor: (theme) => theme('borderColor'),
textStrokeColor: (theme) => theme('borderColor'),
textStrokeWidth: (theme) => theme('borderWidth'),
paintOrder: {
fsm: { paintOrder: 'fill stroke markers' },
fms: { paintOrder: 'fill markers stroke' },
sfm: { paintOrder: 'stroke fill markers' },
smf: { paintOrder: 'stroke markers fill' },
mfs: { paintOrder: 'markers fill stroke' },
msf: { paintOrder: 'markers stroke fill' },
},
},
variants: {
// all the following default to ['responsive']
textFillColor: ['responsive'],
textStrokeColor: ['responsive'],
textStrokeWidth: ['responsive'],
paintOrder: ['responsive'],
},
plugins: [
require('tailwindcss-text-fill-stroke'), // no options to configure
],
}
markup:
<span
class="text-stroke-white text-stroke-2"
>
LOREM IPSUM
</span>
Metadata
Metadata
Assignees
Labels
No labels