We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55bc09f commit 166753bCopy full SHA for 166753b
tailwind.config.js
@@ -1,6 +1,7 @@
1
const defaultTheme = require('tailwindcss/defaultTheme');
2
3
module.exports = {
4
+ darkMode: 'media',
5
theme: {
6
extend: {
7
fontFamily: {
@@ -27,6 +28,11 @@ module.exports = {
27
28
},
29
30
31
+ dark: {
32
+ css: {
33
+ color: defaultTheme.colors.gray[300],
34
+ },
35
36
37
38
future: {
@@ -39,4 +45,9 @@ module.exports = {
39
45
require('@tailwindcss/typography'),
40
46
require('@tailwindcss/aspect-ratio'),
41
47
],
48
+ variants: {
49
+ extend: {
50
+ typography: ['dark'],
51
52
42
53
};
0 commit comments