-
Notifications
You must be signed in to change notification settings - Fork 230
Expand file tree
/
Copy pathtailwind_config.py
More file actions
131 lines (130 loc) · 4.51 KB
/
tailwind_config.py
File metadata and controls
131 lines (130 loc) · 4.51 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
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
128
129
130
131
from tailwind_radix_map import custom_colors_dict, radix_colors_dict
tw_config = {
"plugins": [
"@tailwindcss/typography",
"tailwindcss-radix",
"tailwindcss-animated",
"tailwind-scrollbar",
],
"darkMode": "class",
"theme": {
"extend": {
"fontFamily": {
"sans": ["Instrument Sans", "sans-serif"],
"mono": ["JetBrains Mono", "monospace"],
"body": ["Instrument Sans", "sans-serif"],
},
"fontSize": {
"xs": [
"0.75rem",
{
"lineHeight": "1rem",
"letterSpacing": "-0.00375rem",
},
],
"sm": [
"0.875rem",
{
"lineHeight": "1.25rem",
"letterSpacing": "-0.01rem",
},
],
"base": [
"1rem",
{
"lineHeight": "1.5rem",
"letterSpacing": "-0.015rem",
},
],
"lg": [
"1.125rem",
{
"lineHeight": "1.625rem",
"letterSpacing": "-0.01625rem",
},
],
"xl": [
"1.25rem",
{
"lineHeight": "1.75rem",
"letterSpacing": "-0.028125rem",
},
],
"2xl": [
"1.5rem",
{
"lineHeight": "2rem",
"letterSpacing": "-0.0375rem",
},
],
"3xl": [
"2rem",
{
"lineHeight": "2.5rem",
"letterSpacing": "-0.07rem",
},
],
"4xl": [
"2.5rem",
{
"lineHeight": "3rem",
"letterSpacing": "-0.125rem",
},
],
"5xl": [
"3rem",
{
"lineHeight": "3.5rem",
"letterSpacing": "-0.1575rem",
},
],
"6xl": [
"3.5rem",
{
"lineHeight": "4rem",
"letterSpacing": "-0.1925rem",
},
],
},
"colors": {
**radix_colors_dict,
**custom_colors_dict,
"transparent": "transparent",
},
"boxShadow": {
"none": "none",
"small": "0px 2px 5px 0px light-dark(rgba(28, 32, 36, 0.03), rgba(0, 0, 0, 0.00))",
"medium": "0px 4px 8px 0px light-dark(rgba(28, 32, 36, 0.04), rgba(0, 0, 0, 0.00))",
"large": "0px 24px 12px 0px light-dark(rgba(28, 32, 36, 0.02), rgba(0, 0, 0, 0.00)), 0px 8px 8px 0px light-dark(rgba(28, 32, 36, 0.02), rgba(0, 0, 0, 0.00)), 0px 2px 6px 0px light-dark(rgba(28, 32, 36, 0.02), rgba(0, 0, 0, 0.00))",
},
"keyframes": {
"accordion-down": {
"from": {"height": "0"},
"to": {"height": "var(--radix-accordion-content-height)"},
},
"accordion-up": {
"from": {"height": "var(--radix-accordion-content-height)"},
"to": {"height": "0"},
},
"spin": {
"from": {"transform": "rotate(0deg)"},
"to": {"transform": "rotate(360deg)"},
},
"blur-in": {
"0%": {"filter": "blur(4px)"},
"100%": {"filter": "blur(0)"},
},
"border": {
"to": {"--border-angle": "360deg"},
},
},
"animation": {
"border": "border 3s linear infinite",
"accordion-down": "accordion-down 0.2s ease-out",
"accordion-up": "accordion-up 0.2s ease-out",
"spin": "spin 1s linear infinite",
"blur-in": "blur-in 0.15s ease forwards",
},
},
},
}