-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
38 lines (38 loc) · 977 Bytes
/
tailwind.config.js
File metadata and controls
38 lines (38 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// tailwind.config.js
module.exports = {
content: [
'./src/**/*.{js,jsx,ts,tsx}', // etc.
'./src/**/*.{stories,story}.{js,jsx,ts,tsx,mdx}', // 👈 add this for storybook files
'./.storybook/**/*.{js,jsx,ts,tsx,mdx}', // if you have decorators etc
],
theme: {
extend: {
// you can still extend theme here if needed
},
},
// Added because we manage some of these dynamically, and it confuses PostCSS.
safelist: [
'grid-cols-1',
'grid-cols-2',
'grid-cols-3',
'grid-cols-4',
'grid-cols-5',
'h-screen-safe',
'w-screen-safe',
'min-h-screen-safe',
'max-h-screen-safe',
// Unpainted color classes
'bg-unpainted',
'text-unpainted',
'border-unpainted',
'hover:bg-unpainted-800',
'bg-unpainted-50',
'text-unpainted-600',
'border-unpainted-300',
'hover:bg-unpainted-200',
'hover:border-unpainted-400',
// add as high as you'll ever need
],
plugins: [
],
}