-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
44 lines (42 loc) · 1.16 KB
/
Copy pathtailwind.config.ts
File metadata and controls
44 lines (42 loc) · 1.16 KB
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
import type { Config } from 'tailwindcss'
/**
* Utilities only — `src/styles/tailwind.css` pulls in `@tailwind utilities`
* and nothing else, so preflight never touches the hand-written v2 layer.
* The tokens below mirror the custom properties in `src/styles/v2.css` so a
* utility and a component class can never disagree about the palette.
*/
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
paper: 'var(--paper)',
ink: {
DEFAULT: 'var(--ink)',
soft: 'var(--ink-soft)',
faint: 'var(--ink-faint)',
},
lime: {
DEFAULT: 'var(--lime)',
deep: 'var(--lime-deep)',
},
coral: 'var(--coral)',
violet: 'var(--violet)',
sky: 'var(--sky)',
teal: 'var(--teal)',
sand: 'var(--sand)',
blue: 'var(--blue)',
pink: 'var(--pink)',
},
fontFamily: {
sans: ['var(--font-sans)', 'system-ui', 'sans-serif'],
script: ['var(--font-script)', 'cursive'],
},
},
},
plugins: [],
}
export default config