-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
116 lines (114 loc) · 5.33 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'dev/html/**/*.html',
'dev/js/**/*.js'
],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
inherit: 'inherit',
primary: {
DEFAULT: 'hsl(var(--color-primary) / <alpha-value>)',
darker: 'hsl(var(--color-primary-darker) / <alpha-value>)',
dark: 'hsl(var(--color-primary-dark) / <alpha-value>)',
light: 'hsl(var(--color-primary-light) / <alpha-value>)',
lighter: 'hsl(var(--color-primary-lighter) / <alpha-value>)',
},
accent: {
DEFAULT: 'hsl(var(--color-accent) / <alpha-value>)',
darker: 'hsl(var(--color-accent-darker) / <alpha-value>)',
dark: 'hsl(var(--color-accent-dark) / <alpha-value>)',
light: 'hsl(var(--color-accent-light) / <alpha-value>)',
lighter: 'hsl(var(--color-accent-lighter) / <alpha-value>)',
},
black: 'hsl(var(--color-black) / <alpha-value>)',
white: 'hsl(var(--color-white) / <alpha-value>)',
warning: {
DEFAULT: 'hsl(var(--color-warning) / <alpha-value>)',
darker: 'hsl(var(--color-warning-darker) / <alpha-value>)',
dark: 'hsl(var(--color-warning-dark) / <alpha-value>)',
light: 'hsl(var(--color-warning-light) / <alpha-value>)',
lighter: 'hsl(var(--color-warning-lighter) / <alpha-value>)',
},
success: {
DEFAULT: 'hsl(var(--color-success) / <alpha-value>)',
darker: 'hsl(var(--color-success-darker) / <alpha-value>)',
dark: 'hsl(var(--color-success-dark) / <alpha-value>)',
light: 'hsl(var(--color-success-light) / <alpha-value>)',
lighter: 'hsl(var(--color-success-lighter) / <alpha-value>)',
},
error: {
DEFAULT: 'hsl(var(--color-error) / <alpha-value>)',
darker: 'hsl(var(--color-error-darker) / <alpha-value>)',
dark: 'hsl(var(--color-error-dark) / <alpha-value>)',
light: 'hsl(var(--color-error-light) / <alpha-value>)',
lighter: 'hsl(var(--color-error-lighter) / <alpha-value>)',
},
floor: {
DEFAULT: 'hsl(var(--color-floor) / <alpha-value>)',
darker: 'hsl(var(--color-floor-darker) / <alpha-value>)',
dark: 'hsl(var(--color-floor-dark) / <alpha-value>)',
light: 'hsl(var(--color-floor-light) / <alpha-value>)',
lighter: 'hsl(var(--color-floor-lighter) / <alpha-value>)',
},
contrast: {
lower: 'hsl(var(--color-contrast-lower) / <alpha-value>)',
low: 'hsl(var(--color-contrast-low) / <alpha-value>)',
medium: 'hsl(var(--color-contrast-medium) / <alpha-value>)',
high: 'hsl(var(--color-contrast-high) / <alpha-value>)',
higher: 'hsl(var(--color-contrast-higher) / <alpha-value>)',
},
},
extend: {
zIndex: {
'1': '1',
'2': '2',
'3': '3',
'5': '5',
'15': '15',
},
borderRadius: {
'inherit': 'inherit',
},
lineHeight: {
'extra-tight': '1.1',
},
transitionTimingFunction: {
'out-back': 'cubic-bezier(0.34, 1.56, 0.64, 1)',
},
boxShadow: {
'inner-xs': 'inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.1px 0.3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12)',
'inner-2xs': 'inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.1px 0.3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12), 0 0.1px 0.3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12)',
'inner-sm': 'inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.3px 0.4px rgba(0, 0, 0, 0.025), 0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1)',
'inner-md': 'inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0.9px 1.5px rgba(0, 0, 0, 0.03), 0 3.1px 5.5px rgba(0, 0, 0, 0.08), 0 14px 25px rgba(0, 0, 0, 0.12)',
'inner-lg': 'inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 1.2px 1.9px -1px rgba(0, 0, 0, 0.014), 0 3.3px 5.3px -1px rgba(0, 0, 0, 0.038), 0 8.5px 12.7px -1px rgba(0, 0, 0, 0.085), 0 30px 42px -1px rgba(0, 0, 0, 0.15)',
'inner-top-xs': 'inset 0 1px 0.5px hsla(0, 0%, 100%, 0.075), 0 0.1px 0.3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12)',
'inner-top-sm': 'inset 0 1px 0.5px hsla(0, 0%, 100%, 0.075), 0 0.3px 0.4px rgba(0, 0, 0, 0.025), 0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1)',
'inner-top-md': 'inset 0 1px 0.5px hsla(0, 0%, 100%, 0.075), 0 0.9px 1.5px rgba(0, 0, 0, 0.03), 0 3.1px 5.5px rgba(0, 0, 0, 0.08), 0 14px 25px rgba(0, 0, 0, 0.12)',
'inner-top-lg': 'inset 0 1px 0.5px hsla(0, 0%, 100%, 0.075), 0 1.2px 1.9px -1px rgba(0, 0, 0, 0.014), 0 3.3px 5.3px -1px rgba(0, 0, 0, 0.038), 0 8.5px 12.7px -1px rgba(0, 0, 0, 0.085), 0 30px 42px -1px rgba(0, 0, 0, 0.15)',
},
opacity: {
'7': '.07',
'8': '.08',
'9': '.09',
'12': '.12',
'15': '.15',
'35': '.35',
'65': '.65',
'85': '.85',
'98': '.98',
},
borderWidth: {
'3': '3px',
},
outlineWidth: {
'3': '3px',
},
},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
],
}