Spaces:
Runtime error
Runtime error
File size: 2,019 Bytes
46085c7 fd0f6b9 46085c7 fd0f6b9 46085c7 fd0f6b9 939f16c fd0f6b9 939f16c fd0f6b9 939f16c fd0f6b9 939f16c fd0f6b9 939f16c fd0f6b9 939f16c fd0f6b9 | 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 | @tailwind base;
@tailwind components;
@tailwind utilities;
:root {
color-scheme: light;
--canvas: #f8f9fa;
--card: #ffffff;
--ink: #101418;
--muted: #5f6872;
--line: #d9dee5;
--field: #f3f6f8;
--brand: #1f8aa8;
--shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
}
body {
margin: 0;
background: var(--canvas);
color: var(--ink);
font-weight: 400;
}
button,
input,
textarea,
select {
font: inherit;
}
.focus-ring {
@apply focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand;
}
@layer components {
.ui-card {
@apply rounded-xl border border-line bg-white p-4 sm:p-6;
box-shadow: var(--shadow-card);
}
.ui-card-subtle {
@apply rounded-xl border border-line bg-field p-4 sm:p-6;
}
.ui-heading {
@apply text-3xl font-normal leading-tight text-ink sm:text-4xl md:text-5xl;
letter-spacing: -0.02em;
}
.ui-section-title {
@apply text-xl font-normal leading-tight text-ink sm:text-2xl;
letter-spacing: -0.02em;
}
.ui-label {
@apply mb-2 block text-sm font-bold text-ink;
}
.ui-input {
@apply focus-ring w-full rounded-xl border border-line bg-field px-4 py-3 text-base font-normal text-ink placeholder:text-slate-400;
}
.ui-primary-button {
@apply focus-ring inline-flex min-h-12 w-full items-center justify-center gap-2 rounded-xl bg-brand px-5 py-3 text-center text-base font-bold text-white shadow-none disabled:cursor-not-allowed disabled:opacity-60;
}
.ui-secondary-button {
@apply focus-ring inline-flex min-h-11 items-center justify-center gap-2 rounded-xl border border-line bg-white px-4 py-2 text-sm font-bold text-ink shadow-none disabled:cursor-not-allowed disabled:opacity-60;
}
.ui-metric {
@apply text-center text-4xl font-bold leading-none text-ink sm:text-6xl;
}
.ui-alert-block {
@apply rounded-xl px-4 py-6 text-center text-3xl font-bold leading-tight text-white sm:px-6 sm:py-8 sm:text-4xl;
letter-spacing: -0.02em;
}
}
|