mirror of
https://github.com/mue/mue.git
synced 2026-07-06 16:04:20 +02:00
Co-authored-by: David Ralph <me@davidcralph.co.uk> Co-authored-by: Isaac <contact@eartharoid.me>
29 lines
681 B
JavaScript
29 lines
681 B
JavaScript
const plugin = require('tailwindcss/plugin');
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
|
|
theme: {
|
|
extend: {
|
|
textShadow: {
|
|
sm: '0 1px 4px var(--tw-shadow-color)',
|
|
DEFAULT: '0 2px 8px var(--tw-shadow-color)',
|
|
lg: '0 8px 24px var(--tw-shadow-color)',
|
|
},
|
|
},
|
|
},
|
|
plugins: [
|
|
require('@tailwindcss/typography'),
|
|
plugin(function ({ matchUtilities, theme }) {
|
|
matchUtilities(
|
|
{
|
|
'text-shadow': (value) => ({
|
|
textShadow: value,
|
|
}),
|
|
},
|
|
{ values: theme('textShadow') },
|
|
);
|
|
}),
|
|
],
|
|
};
|