Commit awal: prototipe UI SIAKAD Untan

This commit is contained in:
Ariyutta
2026-10-24 11:45:32 +07:00
commit d9b9cb5c0f
477 changed files with 51958 additions and 0 deletions
+162
View File
@@ -0,0 +1,162 @@
/* Token template HTML statis SIAKAD Untan. Semua warna, font, bentuk, bayangan dan gerak ada di blok ini.
Kanvas gelap berlapis (marun, kirmizi, biru tinta) supaya kaca terang punya sesuatu untuk dikaburkan. */
@theme static {
--color-*: initial;
/* Kanvas: gradien linear marun ke biru tinta; tanpa lingkaran cahaya di belakang kaca */
--color-canvas-1: oklch(27% 0.115 24);
--color-canvas-2: oklch(23% 0.075 12);
--color-canvas-3: oklch(21% 0.06 262);
--color-pane: oklch(100% 0 0 / 0.05);
--color-pane-2: oklch(100% 0 0 / 0.035);
--color-grid-line: oklch(100% 0 0 / 0.045);
--color-canvas-gold: oklch(82% 0.155 85 / 0.55);
--color-on-canvas: oklch(97.5% 0.008 250);
--color-on-canvas-2: oklch(87% 0.02 250);
/* Kaca terang (konten) dan kaca gelap (sidebar) */
--color-glass: oklch(98.6% 0.006 250 / 0.82);
--color-glass-strong: oklch(98.8% 0.005 250 / 0.9);
--color-glass-dark: oklch(18% 0.045 262 / 0.68);
--color-glass-fallback: oklch(99% 0.004 250 / 0.97);
--color-glass-dark-fallback: oklch(19% 0.04 262 / 0.97);
--color-scrim: oklch(15% 0.04 262 / 0.55);
/* Permukaan solid dan tinta */
--color-surface: oklch(99.2% 0.004 250);
--color-surface-2: oklch(96.4% 0.01 250);
--color-surface-3: oklch(92.5% 0.016 250);
--color-ink: oklch(21% 0.025 262);
--color-ink-2: oklch(34% 0.025 262);
--color-muted: oklch(42% 0.025 262);
--color-edge: oklch(58% 0.025 262);
--color-rule: oklch(86% 0.014 255);
--color-rule-strong: oklch(78% 0.02 255);
/* Tinta di atas kaca gelap */
--color-nav-ink: oklch(97% 0.008 250);
--color-nav-muted: oklch(82% 0.02 255);
--color-nav-rule: oklch(100% 0 0 / 0.14);
--color-nav-hover: oklch(100% 0 0 / 0.09);
--color-nav-active: oklch(100% 0 0 / 0.16);
/* Satu aksen: merah tua Untan */
--color-accent: oklch(48% 0.19 27);
--color-accent-hi: oklch(43% 0.18 27);
--color-accent-lo: oklch(39% 0.16 27);
--color-accent-ink: oklch(99% 0.004 25);
--color-accent-soft: oklch(94% 0.032 25);
--color-accent-text: oklch(41% 0.17 27);
--color-focus: oklch(50% 0.2 27);
--color-focus-dark: oklch(86% 0.13 85);
/* Warna lambang: hanya tanda dekoratif */
--color-gold: oklch(82% 0.155 85);
--color-gold-soft: oklch(94.5% 0.06 95);
--color-gold-ink: oklch(36% 0.07 75);
/* Status */
--color-success: oklch(42% 0.11 155);
--color-success-soft: oklch(94.5% 0.04 155);
--color-warning: oklch(42% 0.1 70);
--color-warning-soft: oklch(95% 0.06 90);
--color-danger: oklch(46% 0.19 25);
--color-danger-soft: oklch(95% 0.03 25);
--color-info: oklch(41% 0.12 255);
--color-info-soft: oklch(94.5% 0.03 250);
/* Grafik: empat warna yang tetap terbedakan pada kaca terang */
--color-chart-1: oklch(48% 0.19 27);
--color-chart-2: oklch(40% 0.12 262);
--color-chart-3: oklch(70% 0.14 80);
--color-chart-4: oklch(52% 0.1 175);
--color-chart-track: oklch(90% 0.012 255);
/* Huruf: dihosting sendiri lewat @fontsource */
--font-display: "Newsreader Variable", ui-serif, Georgia, "Times New Roman", serif;
--font-body: "Hanken Grotesk Variable", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
--font-sans: var(--font-body);
--text-*: initial;
--text-xs: 0.75rem;
--text-xs--line-height: 1.4;
--text-sm: 0.875rem;
--text-sm--line-height: 1.45;
--text-md: 1rem;
--text-md--line-height: 1.55;
--text-lg: 1.2rem;
--text-lg--line-height: 1.45;
--text-xl: 1.44rem;
--text-xl--line-height: 1.3;
--text-2xl: 1.728rem;
--text-2xl--line-height: 1.2;
--text-3xl: 2.074rem;
--text-3xl--line-height: 1.15;
--text-hero: 2.986rem;
--text-hero--line-height: 1.08;
--tracking-display: -0.012em;
--radius-*: initial;
--radius-card: 1.25rem;
--radius-inner: 0.875rem;
--radius-control: 0.625rem;
--radius-pill: 999px;
--shadow-*: initial;
--shadow-glass: 0 1px 2px oklch(14% 0.05 20 / 0.18), 0 22px 48px -22px oklch(10% 0.06 20 / 0.6);
--shadow-raised: 0 1px 2px oklch(25% 0.05 27 / 0.3);
--shadow-pop: 0 2px 6px oklch(14% 0.05 262 / 0.16), 0 24px 48px -16px oklch(14% 0.05 262 / 0.42);
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--ease-in: cubic-bezier(0.7, 0, 0.84, 0);
--breakpoint-*: initial;
--breakpoint-sm: 40rem;
--breakpoint-md: 60rem;
--breakpoint-xl: 90rem;
}
:root {
--space-3xs: 2px;
--space-2xs: 4px;
--space-xs: 8px;
--space-sm: 12px;
--space-md: 16px;
--space-lg: 24px;
--space-xl: 40px;
--space-2xl: 64px;
--dur-micro: 120ms;
--dur-short: 220ms;
--dur-long: 420ms;
--z-sticky: 200;
--z-dropdown: 300;
--z-drawer: 400;
--z-modal: 500;
--z-toast: 600;
/* Kaca: kabur, kejenuhan, tepi atas bercahaya, cincin tipis */
--glass-blur: 24px;
--glass-saturate: 1.6;
--glass-edge: inset 0 1px 0 oklch(100% 0 0 / 0.9);
--glass-ring: 0 0 0 1px oklch(100% 0 0 / 0.35);
--glass-edge-dark: inset 0 1px 0 oklch(100% 0 0 / 0.22);
--glass-ring-dark: 0 0 0 1px oklch(100% 0 0 / 0.1);
--container: 96rem;
--gutter: 1rem;
--sidebar-w: 17.5rem;
--topbar-h: 3.5rem;
--control-h: 2.75rem;
--rule-hair: 1px;
}
@media (width >= 40rem) {
:root { --gutter: 1.5rem; }
}
@media (pointer: coarse) {
:root { --control-h: 3rem; }
}