-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
127 lines (113 loc) · 5.36 KB
/
tailwind.config.ts
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
117
118
119
120
121
122
123
124
125
126
127
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/islands/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
colors: {
'solid-red': 'var(--solid-red)',
'solid-orange': 'var(--solid-orange)',
'solid-yellow': 'var(--solid-yellow)',
'solid-green': 'var(--solid-green)',
'solid-blue': 'var(--solid-blue)',
'solid-indigo': 'var(--solid-indigo)',
'solid-purple': 'var(--solid-purple)',
'solid-pink': 'var(--solid-pink)',
'solid-brown': 'var(--solid-brown)',
'solid-black': 'var(--solid-black)',
'solid-white': 'var(--solid-white)',
'solid-translucent-red': 'var(--solid-translucent-red)',
'solid-translucent-orange': 'var(--solid-translucent-orange)',
'solid-translucent-yellow': 'var(--solid-translucent-yellow)',
'solid-translucent-green': 'var(--solid-translucent-green)',
'solid-translucent-blue': 'var(--solid-translucent-blue)',
'solid-translucent-indigo': 'var(--solid-translucent-indigo)',
'solid-translucent-purple': 'var(--solid-translucent-purple)',
'solid-translucent-pink': 'var(--solid-translucent-pink)',
'solid-translucent-brown': 'var(--solid-translucent-brown)',
'solid-translucent-black': 'var(--solid-translucent-black)',
'solid-translucent-white': 'var(--solid-translucent-white)',
'background-standard-primary': 'var(--backgroud-standard-primary)',
'background-standard-secondary': 'var(--backgroud-standard-secondary)',
'background-inverted-primary': 'var(--backgroud-inverted-primary)',
'background-inverted-secondary': 'var(--backgroud-inverted-secondary)',
'content-standard-primary': 'var(--content-standard-primary)',
'content-standard-secondary': 'var(--content-standard-secondary)',
'content-standard-tertiary': 'var(--content-standard-tertiary)',
'content-standard-quaternary': 'var(--content-standard-quaternary)',
'content-inverted-primary': 'var(--content-inverted-primary)',
'content-inverted-secondary': 'var(--content-inverted-secondary)',
'content-inverted-tertiary': 'var(--content-inverted-tertiary)',
'content-inverted-quaternary': 'var(--content-inverted-quaternary)',
'line-divider': 'var(--line-divider)',
'line-outline': 'var(--line-outline)',
'components-fill-standard-primary': 'var(--components-fill-standard-primary)',
'components-fill-standard-secondary': 'var(--components-fill-standard-secondary)',
'components-fill-standard-tertiary': 'var(--components-fill-standard-tertiary)',
'components-fill-inverted-primary': 'var(--components-fill-inverted-primary)',
'components-fill-inverted-secondary': 'var(--components-fill-inverted-secondary)',
'components-fill-inverted-tertiary': 'var(--components-fill-inverted-tertiary)',
'components-interactive-hover': 'var(--components-interactive-hover)',
'components-interactive-focused': 'var(--components-interactive-focused)',
'components-interactive-pressed': 'var(--components-interactive-pressed)',
'components-translucent-primary': 'var(--components-translucent-primary)',
'components-translucent-secondary': 'var(--components-translucent-secondary)',
'components-translucent-tertiary': 'var(--components-translucent-tertiary)',
'core-accent': 'var(--core-accent)',
'core-accent-translucent': 'var(--core-accent-translucent)',
'core-status-positive': 'var(--core-status-positive)',
'core-status-warning': 'var(--core-status-warning)',
'core-status-negative': 'var(--core-status-negative)',
'syntax-comment': 'var(--syntax-comment)',
'syntax-function': 'var(--syntax-function)',
'syntax-variable': 'var(--syntax-variable)',
'syntax-string': 'var(--syntax-string)',
'syntax-constant': 'var(--syntax-constant)',
'syntax-operator': 'var(--syntax-operator)',
'syntax-keyword': 'var(--syntax-keyword)',
},
fontSize: {
display: ['48px', { lineHeight: '64px', letterSpacing: '-1.44px' }],
title: ['24px', { lineHeight: '32px', letterSpacing: '-0.48px' }],
heading: ['20px', { lineHeight: '28px', letterSpacing: '-0.4px' }],
body: ['16px', { lineHeight: '24px', letterSpacing: '-0.32px' }],
label: ['14px', { lineHeight: '22px', letterSpacing: '-0.28px' }],
footnote: ['12px', { lineHeight: '20px', letterSpacing: '-0.24px' }],
caption: ['10px', { lineHeight: '16px', letterSpacing: '-0.2px' }],
},
spacing: {
'spacing-50': '2px',
'spacing-100': '4px',
'spacing-150': '6px',
'spacing-200': '8px',
'spacing-300': '12px',
'spacing-400': '16px',
'spacing-500': '20px',
'spacing-550': '24px',
'spacing-600': '28px',
'spacing-700': '32px',
'spacing-750': '36px',
'spacing-800': '40px',
'spacing-850': '48px',
'spacing-900': '64px',
'spacing-950': '72px',
'spacing-1000': '80px',
},
borderRadius: {
'radius-100': '4px',
'radius-200': '6px',
'radius-300': '8px',
'radius-400': '12px',
'radius-500': '14px',
'radius-600': '16px',
'radius-700': '20px',
'radius-800': '24px',
'radius-full': '9999px',
},
},
plugins: [],
};
export default config;