Skip to content

Instantly share code, notes, and snippets.

@danjac
Last active March 30, 2021 08:10
Show Gist options
  • Save danjac/4559a13e29c4db3bdd4392fbb76adce6 to your computer and use it in GitHub Desktop.
Save danjac/4559a13e29c4db3bdd4392fbb76adce6 to your computer and use it in GitHub Desktop.
Typography+dark mode
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