36 lines
757 B
TypeScript
36 lines
757 B
TypeScript
import type { Config } from 'tailwindcss'
|
|
|
|
import plugin from 'tailwindcss/plugin'
|
|
|
|
export default {
|
|
content: [
|
|
'./components/**/*.{js,vue,ts}',
|
|
'./layouts/**/*.vue',
|
|
'./pages/**/*.vue',
|
|
'./plugins/**/*.{js,ts}',
|
|
'./app.vue',
|
|
'./error.vue',
|
|
],
|
|
theme: {
|
|
extend: {
|
|
textShadow: {
|
|
sm: '0 1px 2px var(--tw-shadow-color)',
|
|
DEFAULT: '0 2px 4px var(--tw-shadow-color)',
|
|
lg: '0 8px 16px var(--tw-shadow-color)',
|
|
},
|
|
},
|
|
},
|
|
plugins: [
|
|
plugin(function ({ matchUtilities, theme }) {
|
|
matchUtilities(
|
|
{
|
|
'text-shadow': value => ({
|
|
textShadow: value,
|
|
}),
|
|
},
|
|
{ values: theme('textShadow') },
|
|
)
|
|
}),
|
|
],
|
|
} satisfies Config
|