-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Expand file tree
/
Copy pathtailwind.css
More file actions
104 lines (87 loc) · 2.22 KB
/
tailwind.css
File metadata and controls
104 lines (87 loc) · 2.22 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
@import "tailwindcss";
@theme {
--color-*: initial;
--color-bg: var(--bg-color);
--color-main: var(--main-color);
--color-caret: var(--caret-color);
--color-sub: var(--sub-color);
--color-sub-alt: var(--sub-alt-color);
--color-text: var(--text-color);
--color-error: var(--error-color);
--color-error-extra: var(--error-extra-color);
--color-colorful-error: var(--colorful-error-color);
--color-colorful-error-extra: var(--colorful-error-extra-color);
/* decide on rem or em */
--spacing: 0.25rem;
--em-spacing: 0.25em;
--breakpoint-*: initial;
--breakpoint-2xl: 1617px;
--breakpoint-xl: 1361px;
--breakpoint-lg: 1105px;
--breakpoint-md: 849px;
--breakpoint-sm: 721px;
--breakpoint-xs: 426px;
--breakpoint-xxs: 331px;
--default-transition-duration: 0.25s;
--duration-half: 0.125s;
--radius: var(--roundness);
@keyframes loader {
0% {
transform: translateX(-100%) scaleX(0);
}
50% {
transform: translateX(0) scaleX(1);
}
100% {
transform: translateX(100%) scaleX(0);
}
}
}
@utility rounded-double {
border-radius: calc(var(--roundness) * 2);
}
@utility rounded-half {
border-radius: calc(var(--roundness) / 2);
}
@utility debug {
border: 1px dashed hotpink !important;
}
@utility text-em-xs {
font-size: 0.75em;
line-height: var(--text-xs--line-height);
}
@utility text-em-sm {
font-size: 0.875em;
line-height: var(--text-sm--line-height);
}
@utility text-em-base {
font-size: 1em;
line-height: var(--text-base--line-height);
}
@utility text-em-lg {
font-size: 1.125em;
line-height: var(--text-lg--line-height);
}
@utility text-em-xl {
font-size: 1.25em;
line-height: var(--text-xl--line-height);
}
@utility text-em-2xl {
font-size: 1.5em;
line-height: var(--text-2xl--line-height);
}
@layer utilities {
.has-button\:p-0:has(button) {
padding: 0;
}
}
@layer utilities {
.autofill-fix:-webkit-autofill,
.autofill-fix:-webkit-autofill:hover,
.autofill-fix:-webkit-autofill:focus {
@apply border-none font-(--font) caret-(--text-color) font-[inherit];
outline: 0.15em solid var(--main-color);
-webkit-text-fill-color: var(--text-color);
-webkit-box-shadow: 0 0 0 1000000px var(--sub-alt-color) inset;
}
}