-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
98 lines (98 loc) · 3.25 KB
/
tailwind.config.cjs
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ['class'],
content: [
'./{src,.storybook}/**/*.{ts,tsx}',
//
'./**/@nordcom/**/dist/**/*.{js,jsx}'
],
theme: {
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px'
}
},
extend: {
height: {
15: '3.75rem'
},
brightness: {
65: '.65'
},
transitionProperty: {
colors: 'color, background-color, border-color, text-decoration-color, fill, stroke, filter'
},
transitionDuration: {
DEFAULT: '250ms'
},
fontSize: {
inherit: 'inherit'
},
fontFamily: {
DEFAULT: ['var(--font-sans, var(--font-fallback))', 'sans-serif'],
heading: ['var(--font-heading, var(--font-sans, var(--font-fallback)))', 'sans-serif'],
body: ['var(--font-heading, var(--font-sans, var(--font-fallback)))', 'sans-serif'],
sans: ['var(--font-sans, var(--font-fallback))', 'sans-serif'],
mono: ['var(--font-mono)', 'monospace']
},
fontWeight: {
inherit: 'inherit'
},
colors: {
foreground: {
DEFAULT: 'hsl(var(--color-foreground))',
highlight: 'hsl(var(--color-foreground-highlight))'
},
background: {
DEFAULT: 'hsl(var(--color-background))',
highlight: 'hsl(var(--color-background-highlight))'
},
primary: {
DEFAULT: 'hsl(var(--color-accent-primary))',
foreground: 'hsl(var(--color-accent-primary-foreground))'
},
secondary: {
DEFAULT: 'hsl(var(--color-accent-secondary))',
foreground: 'hsl(var(--color-accent-secondary-foreground))'
}
},
borderWidth: {
1: 'var(--border-width-small, 1px)',
2: 'var(--border-width, 2px)',
4: 'var(--border-width-large, 4px)'
},
strokeWidth: {
1: '0.2rem',
2: '0.25rem',
3: '0.35rem'
},
aspectRatio: {
'3/2': '3 / 2'
},
keyframes: {
'scroll-shadow-inset': {
from: {
shadow: 'inset -10px 0px 10px -10px var(--header-scroll-shadow, rgb(155 155 155 / 0.75));'
},
to: {
shadow: 'inset 10px 0px 10px -10px var(--header-scroll-shadow, rgb(155 155 155 / 0.75));'
}
}
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out'
},
overflow: {}
}
},
future: {
hoverOnlyWhenSupported: true
},
corePlugins: {
preflight: false
},
plugins: []
};