-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
42 lines (41 loc) · 1.14 KB
/
tailwind.config.js
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
39
40
41
42
const {
TailwindColorsUZH,
TailwindFonts,
TailwindAnimations,
} = require('./src/constants')
module.exports = {
content: ['src/**/**.tsx'],
future: {
hoverOnlyWhenSupported: true,
},
theme: {
extend: {
...TailwindAnimations,
colors: {
...TailwindColorsUZH,
primary: 'var(--theme-color-primary)',
'primary-80': 'var(--theme-color-primary-80)',
'primary-60': 'var(--theme-color-primary-60)',
'primary-40': 'var(--theme-color-primary-40)',
'primary-20': 'var(--theme-color-primary-20)',
secondary: 'var(--theme-color-secondary)',
'secondary-80': 'var(--theme-color-secondary-80)',
'secondary-60': 'var(--theme-color-secondary-60)',
'secondary-40': 'var(--theme-color-secondary-40)',
'secondary-20': 'var(--theme-color-secondary-20)',
},
fontFamily: {
...TailwindFonts,
},
},
},
plugins: [
require('tailwindcss-radix')({ variantPrefix: 'rdx' }),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
],
corePlugins: {
preflight: false,
},
}