@betterinternship/components 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +50 -50
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/app-header.js.map +1 -1
- package/dist/components/ui/avatar.js.map +1 -1
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/fab.d.ts +5 -0
- package/dist/components/ui/fab.js +9 -0
- package/dist/components/ui/fab.js.map +1 -0
- package/dist/components/ui/icons.js.map +1 -1
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js.map +1 -1
- package/dist/components/ui/page-header.js.map +1 -1
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/separator.js.map +1 -1
- package/dist/components/ui/skeleton.js.map +1 -1
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/hooks/useClientProcess.js.map +1 -1
- package/dist/utils.js.map +1 -1
- package/package.json +247 -231
- package/theme.css +228 -228
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -364
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -45
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -20
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/node_modules/style-inject/dist/style-inject.es.js +0 -29
- package/dist/node_modules/style-inject/dist/style-inject.es.js.map +0 -1
package/theme.css
CHANGED
|
@@ -1,228 +1,228 @@
|
|
|
1
|
-
@custom-variant dark (&:is(.dark *));
|
|
2
|
-
|
|
3
|
-
:root {
|
|
4
|
-
--radius: 0.625rem;
|
|
5
|
-
--background: oklch(1 0 0);
|
|
6
|
-
--foreground: oklch(0.145 0 0);
|
|
7
|
-
--card: oklch(1 0 0);
|
|
8
|
-
--card-foreground: oklch(0.145 0 0);
|
|
9
|
-
--popover: oklch(1 0 0);
|
|
10
|
-
--popover-foreground: oklch(0.145 0 0);
|
|
11
|
-
|
|
12
|
-
/* primary brand (deep royal blue) */
|
|
13
|
-
--primary: oklch(0.441 0.122 251);
|
|
14
|
-
--primary-foreground: oklch(0.984 0.003 210);
|
|
15
|
-
|
|
16
|
-
/* secondary (soft tinted gray-blue) */
|
|
17
|
-
--secondary: oklch(0.441 0.122 251);
|
|
18
|
-
--secondary-foreground: oklch(0.25 0.08 251);
|
|
19
|
-
|
|
20
|
-
--supportive: oklch(0.663 0.137 137);
|
|
21
|
-
--supportive-foreground: oklch(0.984 0.003 210);
|
|
22
|
-
--muted: oklch(0.968 0.007 210);
|
|
23
|
-
--muted-foreground: oklch(0.554 0.041 257);
|
|
24
|
-
--warning: oklch(0.731 0.144 64);
|
|
25
|
-
--warning-foreground: oklch(0.968 0.007 210);
|
|
26
|
-
--accent: oklch(0.97 0 0);
|
|
27
|
-
--accent-foreground: oklch(0.205 0 0);
|
|
28
|
-
--destructive: oklch(0.48 0.218 29);
|
|
29
|
-
--destructive-foreground: oklch(0.984 0.003 210);
|
|
30
|
-
--border: oklch(0.922 0 0);
|
|
31
|
-
--input: oklch(0.922 0 0);
|
|
32
|
-
--ring: oklch(0.708 0 0);
|
|
33
|
-
--chart-1: oklch(0.646 0.222 41.116);
|
|
34
|
-
--chart-2: oklch(0.6 0.118 184.704);
|
|
35
|
-
--chart-3: oklch(0.398 0.07 227.392);
|
|
36
|
-
--chart-4: oklch(0.828 0.189 84.429);
|
|
37
|
-
--chart-5: oklch(0.769 0.188 70.08);
|
|
38
|
-
--sidebar: oklch(0.985 0 0);
|
|
39
|
-
--sidebar-foreground: oklch(0.145 0 0);
|
|
40
|
-
--sidebar-primary: oklch(0.205 0 0);
|
|
41
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
42
|
-
--sidebar-accent: oklch(0.97 0 0);
|
|
43
|
-
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
44
|
-
--sidebar-border: oklch(0.922 0 0);
|
|
45
|
-
--sidebar-ring: oklch(0.708 0 0);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@theme {
|
|
49
|
-
--animate-accordion-down: accordion-down 0.2s ease-out;
|
|
50
|
-
--animate-accordion-up: accordion-up 0.2s ease-out;
|
|
51
|
-
|
|
52
|
-
--font-sans:
|
|
53
|
-
Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
54
|
-
'Helvetica Neue', Arial, sans-serif;
|
|
55
|
-
--font-mono:
|
|
56
|
-
'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, 'Liberation Mono',
|
|
57
|
-
'Courier New', monospace;
|
|
58
|
-
|
|
59
|
-
--color-background: var(--background);
|
|
60
|
-
--color-foreground: var(--foreground);
|
|
61
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
62
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
63
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
64
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
65
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
66
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
67
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
68
|
-
--color-sidebar: var(--sidebar);
|
|
69
|
-
--color-chart-5: var(--chart-5);
|
|
70
|
-
--color-chart-4: var(--chart-4);
|
|
71
|
-
--color-chart-3: var(--chart-3);
|
|
72
|
-
--color-chart-2: var(--chart-2);
|
|
73
|
-
--color-chart-1: var(--chart-1);
|
|
74
|
-
--color-ring: var(--ring);
|
|
75
|
-
--color-input: var(--input);
|
|
76
|
-
--color-border: var(--border);
|
|
77
|
-
--color-destructive: var(--destructive);
|
|
78
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
79
|
-
--color-supportive: var(--supportive);
|
|
80
|
-
--color-supportive-foreground: var(--supportive-foreground);
|
|
81
|
-
--color-warning: var(--warning);
|
|
82
|
-
--color-warning-foreground: var(--warning-foreground);
|
|
83
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
84
|
-
--color-accent: var(--accent);
|
|
85
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
86
|
-
--color-muted: var(--muted);
|
|
87
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
88
|
-
--color-secondary: var(--secondary);
|
|
89
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
90
|
-
--color-primary: var(--primary);
|
|
91
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
92
|
-
--color-popover: var(--popover);
|
|
93
|
-
--color-card-foreground: var(--card-foreground);
|
|
94
|
-
--color-card: var(--card);
|
|
95
|
-
--radius-sm: calc(var(--radius) - 4px);
|
|
96
|
-
--radius-md: calc(var(--radius) - 2px);
|
|
97
|
-
--radius-lg: var(--radius);
|
|
98
|
-
--radius-xl: calc(var(--radius) + 4px);
|
|
99
|
-
|
|
100
|
-
@keyframes accordion-down {
|
|
101
|
-
from {
|
|
102
|
-
height: 0;
|
|
103
|
-
}
|
|
104
|
-
to {
|
|
105
|
-
height: var(--radix-accordion-content-height);
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
@keyframes accordion-up {
|
|
109
|
-
from {
|
|
110
|
-
height: var(--radix-accordion-content-height);
|
|
111
|
-
}
|
|
112
|
-
to {
|
|
113
|
-
height: 0;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.dark {
|
|
119
|
-
--background: oklch(0.145 0 0);
|
|
120
|
-
--foreground: oklch(0.985 0 0);
|
|
121
|
-
--card: oklch(0.205 0 0);
|
|
122
|
-
--card-foreground: oklch(0.985 0 0);
|
|
123
|
-
--popover: oklch(0.205 0 0);
|
|
124
|
-
--popover-foreground: oklch(0.985 0 0);
|
|
125
|
-
--primary: oklch(0.922 0 0);
|
|
126
|
-
--primary-foreground: oklch(0.205 0 0);
|
|
127
|
-
--secondary: oklch(0.269 0 0);
|
|
128
|
-
--secondary-foreground: oklch(0.985 0 0);
|
|
129
|
-
--muted: oklch(0.269 0 0);
|
|
130
|
-
--muted-foreground: oklch(0.708 0 0);
|
|
131
|
-
--accent: oklch(0.269 0 0);
|
|
132
|
-
--accent-foreground: oklch(0.985 0 0);
|
|
133
|
-
--destructive: oklch(0.704 0.191 22.216);
|
|
134
|
-
--destructive-foreground: oklch(0.984 0.003 210);
|
|
135
|
-
--border: oklch(1 0 0 / 10%);
|
|
136
|
-
--input: oklch(1 0 0 / 15%);
|
|
137
|
-
--ring: oklch(0.556 0 0);
|
|
138
|
-
--chart-1: oklch(0.488 0.243 264.376);
|
|
139
|
-
--chart-2: oklch(0.696 0.17 162.48);
|
|
140
|
-
--chart-3: oklch(0.769 0.188 70.08);
|
|
141
|
-
--chart-4: oklch(0.627 0.265 303.9);
|
|
142
|
-
--chart-5: oklch(0.645 0.246 16.439);
|
|
143
|
-
--sidebar: oklch(0.205 0 0);
|
|
144
|
-
--sidebar-foreground: oklch(0.985 0 0);
|
|
145
|
-
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
146
|
-
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
147
|
-
--sidebar-accent: oklch(0.269 0 0);
|
|
148
|
-
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
149
|
-
--sidebar-border: oklch(1 0 0 / 10%);
|
|
150
|
-
--sidebar-ring: oklch(0.556 0 0);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
@layer base {
|
|
154
|
-
* {
|
|
155
|
-
@apply border-border outline-ring/50;
|
|
156
|
-
}
|
|
157
|
-
body {
|
|
158
|
-
@apply bg-background text-foreground;
|
|
159
|
-
}
|
|
160
|
-
a {
|
|
161
|
-
@apply text-primary hover:text-primary/80 transition-colors duration-200;
|
|
162
|
-
@apply rounded-sm focus:outline-none;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
body {
|
|
167
|
-
width: 100vw;
|
|
168
|
-
height: 100vh;
|
|
169
|
-
margin: 0;
|
|
170
|
-
padding: 0;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
html {
|
|
174
|
-
overflow: hidden;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
* {
|
|
178
|
-
box-sizing: border-box;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/* Mobile-specific utilities */
|
|
182
|
-
@layer utilities {
|
|
183
|
-
.pb-safe {
|
|
184
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.pt-safe {
|
|
188
|
-
padding-top: env(safe-area-inset-top);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.pl-safe {
|
|
192
|
-
padding-left: env(safe-area-inset-left);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.pr-safe {
|
|
196
|
-
padding-right: env(safe-area-inset-right);
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.webkit-overflow-scrolling-touch {
|
|
200
|
-
-webkit-overflow-scrolling: touch;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.input-wrap {
|
|
205
|
-
height: 40px; /* lock height so font-size change won't jump */
|
|
206
|
-
display: flex;
|
|
207
|
-
align-items: center;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.input-wrap input {
|
|
211
|
-
font-size: 14px; /* your preferred size */
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.input-wrap input:focus {
|
|
215
|
-
font-size: 16px; /* prevents iOS zoom */
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/* --- unified input sizing: 1rem on focus only on mobile --- */
|
|
219
|
-
@layer base {
|
|
220
|
-
/* Mobile: bump to 1rem (16px) on focus to avoid iOS zoom */
|
|
221
|
-
@media (max-width: 639.98px) {
|
|
222
|
-
input:focus,
|
|
223
|
-
textarea:focus,
|
|
224
|
-
select:focus {
|
|
225
|
-
font-size: 1rem; /* 16px on focus ONLY on mobile */
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
1
|
+
@custom-variant dark (&:is(.dark *));
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--radius: 0.625rem;
|
|
5
|
+
--background: oklch(1 0 0);
|
|
6
|
+
--foreground: oklch(0.145 0 0);
|
|
7
|
+
--card: oklch(1 0 0);
|
|
8
|
+
--card-foreground: oklch(0.145 0 0);
|
|
9
|
+
--popover: oklch(1 0 0);
|
|
10
|
+
--popover-foreground: oklch(0.145 0 0);
|
|
11
|
+
|
|
12
|
+
/* primary brand (deep royal blue) */
|
|
13
|
+
--primary: oklch(0.441 0.122 251);
|
|
14
|
+
--primary-foreground: oklch(0.984 0.003 210);
|
|
15
|
+
|
|
16
|
+
/* secondary (soft tinted gray-blue) */
|
|
17
|
+
--secondary: oklch(0.441 0.122 251);
|
|
18
|
+
--secondary-foreground: oklch(0.25 0.08 251);
|
|
19
|
+
|
|
20
|
+
--supportive: oklch(0.663 0.137 137);
|
|
21
|
+
--supportive-foreground: oklch(0.984 0.003 210);
|
|
22
|
+
--muted: oklch(0.968 0.007 210);
|
|
23
|
+
--muted-foreground: oklch(0.554 0.041 257);
|
|
24
|
+
--warning: oklch(0.731 0.144 64);
|
|
25
|
+
--warning-foreground: oklch(0.968 0.007 210);
|
|
26
|
+
--accent: oklch(0.97 0 0);
|
|
27
|
+
--accent-foreground: oklch(0.205 0 0);
|
|
28
|
+
--destructive: oklch(0.48 0.218 29);
|
|
29
|
+
--destructive-foreground: oklch(0.984 0.003 210);
|
|
30
|
+
--border: oklch(0.922 0 0);
|
|
31
|
+
--input: oklch(0.922 0 0);
|
|
32
|
+
--ring: oklch(0.708 0 0);
|
|
33
|
+
--chart-1: oklch(0.646 0.222 41.116);
|
|
34
|
+
--chart-2: oklch(0.6 0.118 184.704);
|
|
35
|
+
--chart-3: oklch(0.398 0.07 227.392);
|
|
36
|
+
--chart-4: oklch(0.828 0.189 84.429);
|
|
37
|
+
--chart-5: oklch(0.769 0.188 70.08);
|
|
38
|
+
--sidebar: oklch(0.985 0 0);
|
|
39
|
+
--sidebar-foreground: oklch(0.145 0 0);
|
|
40
|
+
--sidebar-primary: oklch(0.205 0 0);
|
|
41
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
42
|
+
--sidebar-accent: oklch(0.97 0 0);
|
|
43
|
+
--sidebar-accent-foreground: oklch(0.205 0 0);
|
|
44
|
+
--sidebar-border: oklch(0.922 0 0);
|
|
45
|
+
--sidebar-ring: oklch(0.708 0 0);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@theme {
|
|
49
|
+
--animate-accordion-down: accordion-down 0.2s ease-out;
|
|
50
|
+
--animate-accordion-up: accordion-up 0.2s ease-out;
|
|
51
|
+
|
|
52
|
+
--font-sans:
|
|
53
|
+
Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
54
|
+
'Helvetica Neue', Arial, sans-serif;
|
|
55
|
+
--font-mono:
|
|
56
|
+
'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, 'Liberation Mono',
|
|
57
|
+
'Courier New', monospace;
|
|
58
|
+
|
|
59
|
+
--color-background: var(--background);
|
|
60
|
+
--color-foreground: var(--foreground);
|
|
61
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
62
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
63
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
64
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
65
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
66
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
67
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
68
|
+
--color-sidebar: var(--sidebar);
|
|
69
|
+
--color-chart-5: var(--chart-5);
|
|
70
|
+
--color-chart-4: var(--chart-4);
|
|
71
|
+
--color-chart-3: var(--chart-3);
|
|
72
|
+
--color-chart-2: var(--chart-2);
|
|
73
|
+
--color-chart-1: var(--chart-1);
|
|
74
|
+
--color-ring: var(--ring);
|
|
75
|
+
--color-input: var(--input);
|
|
76
|
+
--color-border: var(--border);
|
|
77
|
+
--color-destructive: var(--destructive);
|
|
78
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
79
|
+
--color-supportive: var(--supportive);
|
|
80
|
+
--color-supportive-foreground: var(--supportive-foreground);
|
|
81
|
+
--color-warning: var(--warning);
|
|
82
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
83
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
84
|
+
--color-accent: var(--accent);
|
|
85
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
86
|
+
--color-muted: var(--muted);
|
|
87
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
88
|
+
--color-secondary: var(--secondary);
|
|
89
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
90
|
+
--color-primary: var(--primary);
|
|
91
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
92
|
+
--color-popover: var(--popover);
|
|
93
|
+
--color-card-foreground: var(--card-foreground);
|
|
94
|
+
--color-card: var(--card);
|
|
95
|
+
--radius-sm: calc(var(--radius) - 4px);
|
|
96
|
+
--radius-md: calc(var(--radius) - 2px);
|
|
97
|
+
--radius-lg: var(--radius);
|
|
98
|
+
--radius-xl: calc(var(--radius) + 4px);
|
|
99
|
+
|
|
100
|
+
@keyframes accordion-down {
|
|
101
|
+
from {
|
|
102
|
+
height: 0;
|
|
103
|
+
}
|
|
104
|
+
to {
|
|
105
|
+
height: var(--radix-accordion-content-height);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
@keyframes accordion-up {
|
|
109
|
+
from {
|
|
110
|
+
height: var(--radix-accordion-content-height);
|
|
111
|
+
}
|
|
112
|
+
to {
|
|
113
|
+
height: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.dark {
|
|
119
|
+
--background: oklch(0.145 0 0);
|
|
120
|
+
--foreground: oklch(0.985 0 0);
|
|
121
|
+
--card: oklch(0.205 0 0);
|
|
122
|
+
--card-foreground: oklch(0.985 0 0);
|
|
123
|
+
--popover: oklch(0.205 0 0);
|
|
124
|
+
--popover-foreground: oklch(0.985 0 0);
|
|
125
|
+
--primary: oklch(0.922 0 0);
|
|
126
|
+
--primary-foreground: oklch(0.205 0 0);
|
|
127
|
+
--secondary: oklch(0.269 0 0);
|
|
128
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
129
|
+
--muted: oklch(0.269 0 0);
|
|
130
|
+
--muted-foreground: oklch(0.708 0 0);
|
|
131
|
+
--accent: oklch(0.269 0 0);
|
|
132
|
+
--accent-foreground: oklch(0.985 0 0);
|
|
133
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
134
|
+
--destructive-foreground: oklch(0.984 0.003 210);
|
|
135
|
+
--border: oklch(1 0 0 / 10%);
|
|
136
|
+
--input: oklch(1 0 0 / 15%);
|
|
137
|
+
--ring: oklch(0.556 0 0);
|
|
138
|
+
--chart-1: oklch(0.488 0.243 264.376);
|
|
139
|
+
--chart-2: oklch(0.696 0.17 162.48);
|
|
140
|
+
--chart-3: oklch(0.769 0.188 70.08);
|
|
141
|
+
--chart-4: oklch(0.627 0.265 303.9);
|
|
142
|
+
--chart-5: oklch(0.645 0.246 16.439);
|
|
143
|
+
--sidebar: oklch(0.205 0 0);
|
|
144
|
+
--sidebar-foreground: oklch(0.985 0 0);
|
|
145
|
+
--sidebar-primary: oklch(0.488 0.243 264.376);
|
|
146
|
+
--sidebar-primary-foreground: oklch(0.985 0 0);
|
|
147
|
+
--sidebar-accent: oklch(0.269 0 0);
|
|
148
|
+
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
149
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
150
|
+
--sidebar-ring: oklch(0.556 0 0);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@layer base {
|
|
154
|
+
* {
|
|
155
|
+
@apply border-border outline-ring/50;
|
|
156
|
+
}
|
|
157
|
+
body {
|
|
158
|
+
@apply bg-background text-foreground;
|
|
159
|
+
}
|
|
160
|
+
a {
|
|
161
|
+
@apply text-primary hover:text-primary/80 transition-colors duration-200;
|
|
162
|
+
@apply rounded-sm focus:outline-none;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
body {
|
|
167
|
+
width: 100vw;
|
|
168
|
+
height: 100vh;
|
|
169
|
+
margin: 0;
|
|
170
|
+
padding: 0;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
html {
|
|
174
|
+
overflow: hidden;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
* {
|
|
178
|
+
box-sizing: border-box;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* Mobile-specific utilities */
|
|
182
|
+
@layer utilities {
|
|
183
|
+
.pb-safe {
|
|
184
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.pt-safe {
|
|
188
|
+
padding-top: env(safe-area-inset-top);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.pl-safe {
|
|
192
|
+
padding-left: env(safe-area-inset-left);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.pr-safe {
|
|
196
|
+
padding-right: env(safe-area-inset-right);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.webkit-overflow-scrolling-touch {
|
|
200
|
+
-webkit-overflow-scrolling: touch;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.input-wrap {
|
|
205
|
+
height: 40px; /* lock height so font-size change won't jump */
|
|
206
|
+
display: flex;
|
|
207
|
+
align-items: center;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.input-wrap input {
|
|
211
|
+
font-size: 14px; /* your preferred size */
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.input-wrap input:focus {
|
|
215
|
+
font-size: 16px; /* prevents iOS zoom */
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/* --- unified input sizing: 1rem on focus only on mobile --- */
|
|
219
|
+
@layer base {
|
|
220
|
+
/* Mobile: bump to 1rem (16px) on focus to avoid iOS zoom */
|
|
221
|
+
@media (max-width: 639.98px) {
|
|
222
|
+
input:focus,
|
|
223
|
+
textarea:focus,
|
|
224
|
+
select:focus {
|
|
225
|
+
font-size: 1rem; /* 16px on focus ONLY on mobile */
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|