Skip to content

Commit

Permalink
upgrade tailwindcss configuration (#6462)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxsan authored Oct 21, 2022
1 parent 53ad0f9 commit 37954bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/styles/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* @import "tailwindcss/base"; */
@import 'tailwindcss/base';
/* @import "tailwindcss/components"; */
@import 'tailwindcss/utilities';

Expand Down
6 changes: 2 additions & 4 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
mode: 'jit',
content: ['./src/components/**/*.{js,jsx}'],
darkMode: 'class', // or 'media' or 'class'
theme: {
Expand Down Expand Up @@ -44,8 +43,7 @@ module.exports = {
},
},
},
variants: {
extend: {},
corePlugins: {
preflight: false,
},
plugins: [],
};

1 comment on commit 37954bb

@vercel
Copy link

@vercel vercel bot commented on 37954bb Oct 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.