-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
91 lines (90 loc) · 4.63 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
import type { Config } from 'tailwindcss';
import { fontFamily } from 'tailwindcss/defaultTheme';
const config: Config = {
darkMode: 'class',
content: [
'./mdx-components.tsx',
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./lib/ui/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
fontFamily: {
display: ['var(--font-display)', ...fontFamily.sans],
body: ['var(--font-body)', ...fontFamily.serif],
mono: ['var(--font-mono)', ...fontFamily.mono],
},
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
colors: {
background: {
50: 'color-mix(in srgb, var(--color-background-base) 20%, white)',
100: 'color-mix(in srgb, var(--color-background-base) 50%, white)',
200: 'color-mix(in srgb, var(--color-background-base) 70%, white)',
300: 'color-mix(in srgb, var(--color-background-base) 80%, white)',
400: 'color-mix(in srgb, var(--color-background-base) 90%, white)',
500: 'var(--color-background-base)',
600: 'color-mix(in srgb, var(--color-background-base), black 10%)',
700: 'color-mix(in srgb, var(--color-background-base), black 30%)',
800: 'color-mix(in srgb, var(--color-background-base), black 50%)',
900: 'color-mix(in srgb, var(--color-background-base), black 70%)',
},
primary: {
50: 'color-mix(in srgb, var(--color-primary-base) 5%, white)',
100: 'color-mix(in srgb, var(--color-primary-base) 10%, white)',
200: 'color-mix(in srgb, var(--color-primary-base) 30%, white)',
300: 'color-mix(in srgb, var(--color-primary-base) 50%, white)',
400: 'color-mix(in srgb, var(--color-primary-base) 70%, white)',
500: 'var(--color-primary-base)',
600: 'color-mix(in srgb, var(--color-primary-base), black 10%)',
700: 'color-mix(in srgb, var(--color-primary-base), black 30%)',
800: 'color-mix(in srgb, var(--color-primary-base), black 50%)',
900: 'color-mix(in srgb, var(--color-primary-base), black 70%)',
},
secondary: {
50: 'color-mix(in srgb, var(--color-secondary-base) 5%, white)',
100: 'color-mix(in srgb, var(--color-secondary-base) 10%, white)',
200: 'color-mix(in srgb, var(--color-secondary-base) 30%, white)',
300: 'color-mix(in srgb, var(--color-secondary-base) 50%, white)',
400: 'color-mix(in srgb, var(--color-secondary-base) 70%, white)',
500: 'var(--color-secondary-base)',
600: 'color-mix(in srgb, var(--color-secondary-base), black 10%)',
700: 'color-mix(in srgb, var(--color-secondary-base), black 30%)',
800: 'color-mix(in srgb, var(--color-secondary-base), black 50%)',
900: 'color-mix(in srgb, var(--color-secondary-base), black 70%)',
},
accent: {
50: 'color-mix(in srgb, var(--color-accent-base) 5%, white)',
100: 'color-mix(in srgb, var(--color-accent-base) 10%, white)',
200: 'color-mix(in srgb, var(--color-accent-base) 30%, white)',
300: 'color-mix(in srgb, var(--color-accent-base) 50%, white)',
400: 'color-mix(in srgb, var(--color-accent-base) 70%, white)',
500: 'var(--color-accent-base)',
600: 'color-mix(in srgb, var(--color-accent-base), black 10%)',
700: 'color-mix(in srgb, var(--color-accent-base), black 30%)',
800: 'color-mix(in srgb, var(--color-accent-base), black 50%)',
900: 'color-mix(in srgb, var(--color-accent-base), black 70%)',
},
'accent-secondary': {
50: 'color-mix(in srgb, var(--color-accent-secondary-base) 5%, white)',
100: 'color-mix(in srgb, var(--color-accent-secondary-base) 10%, white)',
200: 'color-mix(in srgb, var(--color-accent-secondary-base) 30%, white)',
300: 'color-mix(in srgb, var(--color-accent-secondary-base) 50%, white)',
400: 'color-mix(in srgb, var(--color-accent-secondary-base) 70%, white)',
500: 'var(--color-accent-secondary-base)',
600: 'color-mix(in srgb, var(--color-accent-secondary-base), black 10%)',
700: 'color-mix(in srgb, var(--color-accent-secondary-base), black 30%)',
800: 'color-mix(in srgb, var(--color-accent-secondary-base), black 50%)',
900: 'color-mix(in srgb, var(--color-accent-secondary-base), black 70%)',
},
},
},
},
plugins: [],
};
export default config;