Skip to content

Commit 8c76255

Browse files
committed
docs: fix tailwind setup for custom preflight css
1 parent 48eccf9 commit 8c76255

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

documentation/src/css/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
/* @tailwind base; */
2-
@import url(./tailwind-custom-base.css);
1+
@tailwind base;
32
@tailwind components;
43
@tailwind utilities;
54

5+
@import url(./custom-preflight.css);
66
/**
77
* Any CSS included here will be global. The classic template
88
* bundles Infima by default. Infima is a CSS framework designed to

documentation/tailwind.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module.exports = {
2-
mode: 'jit',
3-
purge: ['./src/**/*.{js,jsx,ts,tsx}'],
4-
darkMode: false, // or 'media' or 'class'
2+
content: ['./src/**/*.{js,jsx,ts,tsx}'],
53
theme: {
64
extend: {
75
borderRadius: {
@@ -32,4 +30,7 @@ module.exports = {
3230
variants: {
3331
extend: {},
3432
},
33+
corePlugins: {
34+
preflight: false,
35+
},
3536
};

0 commit comments

Comments
 (0)