-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.css
More file actions
427 lines (329 loc) · 7.98 KB
/
global.css
File metadata and controls
427 lines (329 loc) · 7.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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/preflight.css" layer(base);
@import "tailwindcss/utilities.css";
@import "nativewind/theme";
@theme {
--color-background: #fff9e3;
--color-foreground: #081126;
--color-card: #fff8e7;
--color-muted: #f6eecf;
--color-muted-foreground: rgba(0, 0, 0, 0.6);
--color-primary: #081126;
--color-accent: #ea7a53;
--color-border: rgba(0, 0, 0, 0.1);
--color-success: #16a34a;
--color-destructive: #dc2626;
--color-subscription: #8fd1bd;
--font-sans: sans-regular;
--font-sans-light: sans-light;
--font-sans-medium: sans-medium;
--font-sans-semibold: sans-semibold;
--font-sans-bold: sans-bold;
--font-sans-extrabold: sans-extrabold;
--spacing-0: 0px;
--spacing-1: 4px;
--spacing-2: 8px;
--spacing-3: 12px;
--spacing-4: 16px;
--spacing-5: 20px;
--spacing-6: 24px;
--spacing-7: 28px;
--spacing-8: 32px;
--spacing-9: 36px;
--spacing-10: 40px;
--spacing-11: 44px;
--spacing-12: 48px;
--spacing-14: 56px;
--spacing-16: 64px;
--spacing-18: 72px;
--spacing-20: 80px;
--spacing-24: 96px;
--spacing-30: 120px;
--font-sans: sans-regular;
--font-sans-light: sans-light;
--font-sans-medium: sans-medium;
--font-sans-semibold: sans-semibold;
--font-sans-bold: sans-bold;
--font-sans-extrabold: sans-extrabold;
}
@layer components {
.tabs-icon {
@apply size-12 items-center justify-center;
}
.tabs-pill {
@apply size-12 items-center justify-center rounded-full bg-transparent;
}
.tabs-active {
@apply bg-accent;
}
.tabs-glyph {
@apply size-6;
}
.home-header {
@apply mb-2.5 flex-row items-center justify-between;
}
.home-user {
@apply flex-row items-center;
}
.home-avatar {
@apply size-16 rounded-full;
}
.home-user-name {
@apply ml-4 text-2xl font-sans-bold text-primary;
}
.home-add-icon {
@apply size-12;
}
.home-balance-card {
@apply my-2.5 min-h-50 justify-between gap-5 rounded-bl-4xl rounded-tr-4xl bg-accent p-6;
}
.home-balance-label {
@apply text-xl font-sans-semibold text-white/80;
}
.home-balance-row {
@apply flex-row items-center justify-between;
}
.home-balance-amount {
@apply text-4xl font-sans-extrabold text-white;
}
.home-balance-date {
@apply text-xl font-sans-medium text-white;
}
.list-head {
@apply my-5 flex-row items-center justify-between;
}
.list-title {
@apply text-2xl font-sans-bold text-primary;
}
.list-action {
@apply rounded-full border border-black/20 px-4 py-1;
}
.list-action-text {
@apply text-lg font-sans-semibold text-primary;
}
.upcoming-card {
@apply mr-4 w-44 rounded-2xl border border-black/10 bg-background p-4;
}
.upcoming-row {
@apply flex-row items-center gap-3;
}
.upcoming-icon {
@apply size-14;
}
.upcoming-price {
@apply text-lg font-sans-bold text-primary;
}
.upcoming-meta {
@apply text-sm font-sans-semibold text-muted-foreground;
}
.upcoming-name {
@apply mt-2 text-lg font-sans-bold text-primary;
}
.sub-card {
@apply rounded-2xl border border-border p-4;
}
.sub-card-expanded {
@apply bg-subscription;
}
.sub-head {
@apply flex-row items-center py-2;
}
.sub-main {
@apply min-w-0 flex-1 flex-row items-center gap-3;
}
.sub-icon {
@apply size-16 rounded-lg;
}
.sub-copy {
@apply min-w-0 flex-1;
}
.sub-title {
@apply mb-1 text-lg font-sans-bold text-primary;
}
.sub-meta {
@apply text-sm font-sans-semibold text-muted-foreground;
}
.sub-price-box {
@apply ml-3 shrink-0 items-end;
}
.sub-price {
@apply mb-1 text-lg font-sans-bold text-primary;
}
.sub-billing {
@apply text-sm font-sans-medium text-muted-foreground;
}
.sub-body {
@apply mt-6 gap-4;
}
.sub-details {
@apply gap-6;
}
.sub-row {
@apply flex-row items-center justify-between gap-3;
}
.sub-row-copy {
@apply min-w-0 flex-1 flex-row items-center gap-2;
}
.sub-label {
@apply shrink-0 text-base font-sans-medium text-muted-foreground;
}
.sub-value {
@apply flex-1 font-sans-bold text-primary;
}
.sub-cancel {
@apply mt-2 items-center rounded-full bg-primary py-4;
}
.sub-cancel-disabled {
@apply bg-primary/35;
}
.sub-cancel-text {
@apply font-sans-bold text-background;
}
.home-empty-state {
@apply py-4 text-sm font-sans-medium text-black/60;
}
.auth-safe-area {
@apply flex-1 bg-background;
}
.auth-screen {
@apply flex-1 bg-background;
}
.auth-scroll {
@apply flex-1;
}
.auth-content {
@apply grow px-5 pb-10 pt-8;
}
.auth-brand-block {
@apply mt-2 items-center;
}
.auth-logo-wrap {
@apply mb-7 flex-row items-center gap-3;
}
.auth-logo-mark {
@apply relative size-14 items-center justify-center rounded-2xl bg-accent;
}
.auth-logo-mark-text {
@apply text-2xl font-sans-extrabold text-background;
}
.auth-wordmark {
@apply text-3xl font-sans-extrabold text-primary;
}
.auth-wordmark-sub {
@apply -mt-1 text-xs font-sans-semibold uppercase tracking-[1px] text-muted-foreground;
}
.auth-title {
@apply text-3xl font-sans-bold text-primary;
}
.auth-subtitle {
@apply mt-2 max-w-[320px] text-center text-base font-sans-medium text-muted-foreground;
}
.auth-card {
@apply mt-8 rounded-3xl border border-border bg-card p-5;
}
.auth-form {
@apply gap-4;
}
.auth-field {
@apply gap-2;
}
.auth-label {
@apply text-sm font-sans-semibold text-primary;
}
.auth-input {
@apply rounded-2xl border border-border bg-background px-4 py-4 text-base font-sans-medium text-primary;
}
.auth-input-error {
@apply border-destructive;
}
.auth-error {
@apply text-xs font-sans-medium text-destructive;
}
.auth-helper {
@apply text-sm font-sans-medium text-muted-foreground;
}
.auth-button {
@apply mt-1 items-center rounded-2xl bg-accent py-4;
}
.auth-button-disabled {
@apply bg-accent/45;
}
.auth-button-text {
@apply text-base font-sans-bold text-primary;
}
.auth-secondary-button {
@apply items-center rounded-2xl border border-accent/30 bg-accent/10 py-3;
}
.auth-secondary-button-text {
@apply text-sm font-sans-semibold text-accent;
}
.auth-divider-row {
@apply my-4 flex-row items-center gap-3;
}
.auth-divider-line {
@apply h-px flex-1 bg-border;
}
.auth-divider-text {
@apply text-[11px] font-sans-semibold uppercase tracking-[1px] text-muted-foreground;
}
.auth-link-row {
@apply mt-5 flex-row items-center justify-center gap-1;
}
.auth-link-copy {
@apply text-sm font-sans-medium text-muted-foreground;
}
.auth-link {
@apply text-sm font-sans-bold text-accent;
}
.modal-overlay {
@apply flex-1 bg-black/50;
}
.modal-container {
@apply mt-auto max-h-[85%] rounded-t-3xl bg-background;
}
.modal-header {
@apply flex-row items-center justify-between border-b border-border px-5 py-4;
}
.modal-title {
@apply text-xl font-sans-bold text-primary;
}
.modal-close {
@apply size-8 items-center justify-center rounded-full bg-muted;
}
.modal-close-text {
@apply text-lg font-sans-bold text-primary;
}
.modal-body {
@apply gap-5 p-5;
}
.picker-row {
@apply flex-row gap-3;
}
.picker-option {
@apply flex-1 items-center rounded-2xl border border-border bg-background py-3;
}
.picker-option-active {
@apply border-accent bg-accent/10;
}
.picker-option-text {
@apply text-sm font-sans-semibold text-muted-foreground;
}
.picker-option-text-active {
@apply text-accent;
}
.category-scroll {
@apply flex-row flex-wrap gap-2;
}
.category-chip {
@apply rounded-full border border-border bg-background px-4 py-2;
}
.category-chip-active {
@apply border-accent bg-accent/10;
}
.category-chip-text {
@apply text-sm font-sans-semibold text-muted-foreground;
}
.category-chip-text-active {
@apply text-accent;
}
}