Drawing2Sat / frontend /tailwind.config.cjs
Ruben Gres
first commit
ec3efd7
raw
history blame
888 Bytes
/** @type {import('tailwindcss').Config} */
const plugin = require('tailwindcss/plugin');
const disabledCss = {
'code::before': false,
'code::after': false,
'blockquote p:first-of-type::before': false,
'blockquote p:last-of-type::after': false,
pre: false,
code: false,
'pre code': false,
'code::before': false,
'code::after': false
};
module.exports = {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
darkMode: false, // Enable dark mode based on the system preference
screens: {
sm: '530px'
},
typography: {
DEFAULT: { css: disabledCss }
}
}
},
plugins: [
require('@tailwindcss/typography'),
plugin(function ({ addUtilities }) {
addUtilities({
'.scrollbar-hide': {
'-ms-overflow-style': 'none',
'scrollbar-width': 'none',
'&::-webkit-scrollbar': {
display: 'none'
}
}
});
})
]
};