-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
70 lines (66 loc) · 1.79 KB
/
Copy pathtailwind.config.js
File metadata and controls
70 lines (66 loc) · 1.79 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
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
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: {
// Sage palette
paper: '#EEF0E8',
ink: '#1B2218',
'ink-2': '#2F3829',
accent: '#4F6B4B',
'accent-soft': '#E2E8DC',
hairline: '#D9DDD1',
muted: '#7E8475',
alert: '#8B4A3A',
surface: '#FAFBF6',
// Primary mapped to accent scale for component compatibility
primary: {
50: '#F0F2EA',
100: '#E2E8DC',
200: '#C5D1BB',
300: '#A8BA9A',
400: '#8BA37A',
500: '#6E8B5C',
600: '#4F6B4B',
700: '#3E5439',
800: '#2D3D28',
900: '#1B2218',
950: '#0F130E',
},
border: 'var(--hairline)',
input: 'var(--hairline)',
ring: '#4F6B4B',
background: 'var(--paper)',
},
fontFamily: {
serif: ['var(--font-serif)', 'Georgia', 'serif'],
sans: ['var(--font-sans)', 'system-ui', 'sans-serif'],
mono: ['var(--font-mono)', 'monospace'],
},
fontSize: {
'2xs': ['0.65rem', { lineHeight: '1rem' }],
},
keyframes: {
'slide-in': {
from: { opacity: '0', transform: 'translateX(16px)' },
to: { opacity: '1', transform: 'translateX(0)' },
},
'fade-in': {
from: { opacity: '0' },
to: { opacity: '1' },
},
},
animation: {
'slide-in': 'slide-in 0.2s ease-out',
'fade-in': 'fade-in 0.15s ease-out',
},
},
},
plugins: [],
}
export default config