Skip to content

Commit 37954bb

Browse files
authored
upgrade tailwindcss configuration (#6462)
1 parent 53ad0f9 commit 37954bb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/styles/tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @import "tailwindcss/base"; */
1+
@import 'tailwindcss/base';
22
/* @import "tailwindcss/components"; */
33
@import 'tailwindcss/utilities';
44

tailwind.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
module.exports = {
2-
mode: 'jit',
32
content: ['./src/components/**/*.{js,jsx}'],
43
darkMode: 'class', // or 'media' or 'class'
54
theme: {
@@ -44,8 +43,7 @@ module.exports = {
4443
},
4544
},
4645
},
47-
variants: {
48-
extend: {},
46+
corePlugins: {
47+
preflight: false,
4948
},
50-
plugins: [],
5149
};

0 commit comments

Comments
 (0)