Spaces:
Build error
Build error
| /** @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: { | |
| 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' | |
| } | |
| } | |
| }); | |
| }) | |
| ] | |
| }; | |