Last active
March 30, 2021 08:10
-
-
Save danjac/4559a13e29c4db3bdd4392fbb76adce6 to your computer and use it in GitHub Desktop.
Typography+dark mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
darkMode: 'class', | |
future: { | |
removeDeprecatedGapUtilities: true, | |
purgeLayersByDefault: true, | |
}, | |
purge: { | |
content: ['./templates/**/*.html', './static/src/js/**/*.js', './safelist.txt'], | |
keyframes: true, | |
}, | |
theme: { | |
extend: { | |
colors: { | |
orange: colors.orange, | |
}, | |
}, | |
typography: (theme) => ({ | |
}), | |
}, | |
variants: { | |
textColor: ['responsive', 'hover', 'focus', 'visited', 'dark'], | |
extend: { | |
typography: ['dark'], | |
}, | |
}, | |
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment