-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
98 lines (98 loc) · 2.98 KB
/
Copy pathtailwind.config.js
File metadata and controls
98 lines (98 loc) · 2.98 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
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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ["class"],
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
border: "var(--border)",
input: "var(--input)",
ring: "var(--ring)",
background: "var(--background)",
foreground: "var(--foreground)",
primary: {
DEFAULT: "var(--primary)",
foreground: "var(--primary-foreground)",
},
secondary: {
DEFAULT: "var(--secondary)",
foreground: "var(--secondary-foreground)",
},
destructive: {
DEFAULT: "var(--destructive)",
foreground: "var(--destructive-foreground)",
},
muted: {
DEFAULT: "var(--muted)",
foreground: "var(--muted-foreground)",
},
accent: {
DEFAULT: "var(--accent)",
foreground: "var(--accent-foreground)",
},
popover: {
DEFAULT: "var(--popover)",
foreground: "var(--popover-foreground)",
},
card: {
DEFAULT: "var(--card)",
foreground: "var(--card-foreground)",
},
metal: {
100: "#e8e8f0",
200: "#c4c4d4",
300: "#9d9db0",
400: "#7a7a8f",
500: "#5a5a6e",
600: "#3d3d4d",
700: "#2a2a38",
800: "#1c1c27",
850: "#16161f",
900: "#111118",
950: "#0a0a0f",
},
"steel-blue": {
DEFAULT: "#4a6fa5",
light: "#6b8fc5",
},
"cyan-accent": "#22d3ee",
"amber-accent": "#fbbf24",
"emerald-accent": "#34d399",
"rose-accent": "#fb7185",
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
typography: (theme) => ({
metal: {
css: {
'--tw-prose-body': theme('colors.metal.300'),
'--tw-prose-headings': theme('colors.metal.100'),
'--tw-prose-lead': theme('colors.metal.200'),
'--tw-prose-links': theme('colors.steel-blue.light'),
'--tw-prose-bold': theme('colors.metal.100'),
'--tw-prose-counters': theme('colors.metal.400'),
'--tw-prose-bullets': theme('colors.metal.400'),
'--tw-prose-hr': theme('colors.metal.700'),
'--tw-prose-quotes': theme('colors.metal.200'),
'--tw-prose-quote-borders': theme('colors.metal.700'),
'--tw-prose-captions': theme('colors.metal.400'),
'--tw-prose-code': theme('colors.metal.200'),
'--tw-prose-pre-code': theme('colors.metal.200'),
'--tw-prose-pre-bg': theme('colors.metal.900'),
'--tw-prose-th-borders': theme('colors.metal.700'),
'--tw-prose-td-borders': theme('colors.metal.700'),
},
},
}),
},
},
plugins: [
require('@tailwindcss/typography'),
],
}