, status pills, inline labels.
-
- background-muted
- - Use on grouping surfaces and lightly separated table or form sections.
- - Example: table header rows, section footers, secondary panels.
-
- background-hover
- - Use for hover/focus backgrounds on secondary interactive elements.
- - Example: nav links, secondary buttons, list item hover states.
-
- primary
- - Use for the strongest action and brand accent.
- - Example: primary buttons, active links, important badges.
-
- primary-hover
- - Use for hover state on primary actions.
- - Example: hover state for .btn-primary.
-
- primary-muted
- - Use for soft focus rings, overlays, and low-contrast primary accents.
- - Example: focus outlines, active ring shadows.
-
- foreground
- - Use for main readable text.
- - Example: , , , primary copy.
-
- text-secondary
- - Use for supporting text and secondary copy.
- - Example: help text, paragraph subtitles, nav links.
-
- text-tertiary
- - Use for labels, metadata, captions, and subtle UI hints.
- - Example: timestamps, table captions, badge text.
-
- stroke
- - Use for standard borders and dividers.
- - Example: card borders, section separators, input outlines.
-
- stroke-subtle
- - Use for very soft borders or low-priority dividers.
- - Example: muted form separators, background grid lines.
-
- outline
- - Use for interactive emphasis around controls.
- - Example: focus states, hover border highlights.
-
- success / warning / danger
- - Use only for semantic feedback states.
- - Example: status badges, alerts, validation states.
-
- Best practice:
- Use these tokens by semantic purpose, not by appearance alone.
- Don’t use primary for neutral surfaces; reserve it for actions,
- links, and important accents. Keep foreground text for main content,
- text-secondary for supporting copy, and text-tertiary for labels.
-*/
-
@theme {
- --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
- --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
+ --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
+ --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
- --color-background: #f8f9ff;
- --color-background-base: #f8f9ff;
- --color-background-bright: #ffffff;
- --color-background-secondary: #eff4ff;
- --color-background-raised: #e5eeff;
- --color-background-muted: #f8fafc;
- --color-background-hover: #f1f5f9;
- --color-primary: #006591;
- --color-primary-hover: #004c6e;
- --color-primary-container: #0ea5e9;
- --color-primary-muted: rgba(0, 101, 145, 0.12);
- --color-foreground: #0b1c30;
- --color-text-secondary: #3e4850;
- --color-text-tertiary: #57657a;
- --color-stroke: #e2e8f0;
- --color-stroke-subtle: #f1f5f9;
- --color-outline: #6e7881;
- --color-success: #15803d;
- --color-surface-success: #dcfce7;
- --color-warning: #b45309;
- --color-surface-warning: #fef3c7;
- --color-danger: #ba1a1a;
- --color-surface-danger: #ffdad6;
- --color-expired: #6e7881;
- --color-surface-expired: #f1f5f9;
-
+ --color-background: oklch(98.6% 0.008 255);
+ --color-foreground: oklch(20.8% 0.04 255);
- --radius-sm: 0.125rem;
- --radius-md: 0.25rem;
- --radius-lg: 0.375rem;
- --radius-xl: 0.5rem;
- --radius-2xl: 0.75rem;
+ --color-card: oklch(100% 0 0);
+ --color-card-foreground: oklch(20.8% 0.04 255);
+
+ --color-muted: oklch(96.9% 0.012 255);
+ --color-muted-foreground: oklch(48.5% 0.03 255);
+
+ --color-accent: oklch(94.8% 0.025 255);
+ --color-accent-foreground: oklch(25.4% 0.045 255);
+
+ --color-primary: oklch(45.2% 0.115 235);
+ --color-primary-foreground: oklch(100% 0 0);
+ --color-primary-hover: oklch(37.8% 0.098 235);
+ --color-primary-muted: oklch(45.2% 0.115 235 / 12%);
+
+ --color-secondary: oklch(94.8% 0.025 255);
+ --color-secondary-foreground: oklch(34.5% 0.04 255);
+
+ --color-border: oklch(91.9% 0.016 255);
+ --color-border-subtle: oklch(96.8% 0.01 255);
+ --color-input: oklch(100% 0 0);
+ --color-ring: oklch(45.2% 0.115 235);
+ --color-ring-muted: oklch(45.2% 0.115 235 / 12%);
+
+ --color-success: oklch(47.8% 0.13 150);
+ --color-success-foreground: oklch(47.8% 0.13 150);
+ --color-success-muted: oklch(94.8% 0.055 150);
+
+ --color-warning: oklch(54.7% 0.13 65);
+ --color-warning-foreground: oklch(54.7% 0.13 65);
+ --color-warning-muted: oklch(96.3% 0.052 85);
+
+ --color-danger: oklch(50.6% 0.18 27);
+ --color-danger-foreground: oklch(50.6% 0.18 27);
+ --color-danger-muted: oklch(93.6% 0.04 27);
+
+ --color-expired: oklch(55.8% 0.025 255);
+ --color-expired-foreground: oklch(55.8% 0.025 255);
+ --color-expired-muted: oklch(96.8% 0.01 255);
+
+ --radius-sm: 0.125rem;
+ --radius-md: 0.25rem;
+ --radius-lg: 0.375rem;
+ --radius-xl: 0.5rem;
+ --radius-2xl: 0.75rem;
+}
+
+@custom-variant dark (&:where(.dark, .dark *));
+
+.dark {
+ --color-background: oklch(18.4% 0.035 255);
+ --color-foreground: oklch(96.5% 0.012 255);
+
+ --color-card: oklch(22.8% 0.035 255);
+ --color-card-foreground: oklch(96.5% 0.012 255);
+
+ --color-muted: oklch(27% 0.032 255);
+ --color-muted-foreground: oklch(72% 0.025 255);
+
+ --color-accent: oklch(30.8% 0.04 255);
+ --color-accent-foreground: oklch(96.5% 0.012 255);
+
+ --color-primary: oklch(72% 0.125 235);
+ --color-primary-foreground: oklch(16% 0.03 255);
+ --color-primary-hover: oklch(78% 0.115 235);
+ --color-primary-muted: oklch(72% 0.125 235 / 18%);
+
+ --color-secondary: oklch(30.8% 0.04 255);
+ --color-secondary-foreground: oklch(90% 0.018 255);
+
+ --color-border: oklch(34% 0.035 255);
+ --color-border-subtle: oklch(29% 0.03 255);
+ --color-input: oklch(22.8% 0.035 255);
+ --color-ring: oklch(72% 0.125 235);
+ --color-ring-muted: oklch(72% 0.125 235 / 20%);
+
+ --color-success: oklch(75% 0.12 150);
+ --color-success-foreground: oklch(82% 0.12 150);
+ --color-success-muted: oklch(32% 0.07 150);
+
+ --color-warning: oklch(82% 0.13 75);
+ --color-warning-foreground: oklch(86% 0.13 75);
+ --color-warning-muted: oklch(35% 0.075 75);
+
+ --color-danger: oklch(76% 0.15 27);
+ --color-danger-foreground: oklch(82% 0.13 27);
+ --color-danger-muted: oklch(34% 0.08 27);
+
+ --color-expired: oklch(74% 0.025 255);
+ --color-expired-foreground: oklch(78% 0.025 255);
+ --color-expired-muted: oklch(30% 0.03 255);
}
@layer base {
- html {
- background: #f8f9ff;
- color: #0b1c30;
- font-family: var(--font-sans);
- }
+ * {
+ @apply border-border;
+ }
- body {
- letter-spacing: 0;
- }
+ html {
+ @apply bg-background text-foreground;
+ font-family: var(--font-sans);
+ }
- a,
- button,
- input {
- outline-color: var(--color-primary);
- }
+ body {
+ @apply bg-background text-foreground antialiased;
+ letter-spacing: 0;
+ }
- code {
- font-family: var(--font-mono);
- }
+ code {
+ font-family: var(--font-mono);
+ }
}
@layer components {
- /* Section labels */
- .section-header-primary {
- @apply text-xs font-semibold uppercase tracking-[0.05em] text-primary;
- }
+ .btn {
+ @apply inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md px-4 py-2.5 text-sm font-medium transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50;
+ }
- .section-header-subtle {
- @apply text-xs font-semibold uppercase tracking-[0.05em] text-text-tertiary;
- }
+ .btn-sm {
+ @apply px-3 py-2;
+ }
- /* Buttons */
- .btn-primary {
- @apply rounded-md bg-primary px-4 py-2.5 text-sm font-medium text-white transition hover:bg-primary-hover focus:ring-2 focus:ring-primary-muted;
- }
+ .btn-primary {
+ @apply bg-primary text-primary-foreground hover:bg-primary-hover;
+ }
- .btn-secondary {
- @apply px-3 py-2 text-sm font-medium transition bg-white border rounded-md border-stroke text-text-secondary hover:border-outline hover:text-foreground;
- }
+ .btn-secondary {
+ @apply border border-border bg-card text-secondary-foreground hover:border-ring hover:bg-accent hover:text-accent-foreground;
+ }
- .btn-nav {
- @apply px-3 py-2 text-sm font-medium transition rounded-md text-text-secondary hover:bg-background-hover hover:text-foreground;
- }
+ .btn-nav {
+ @apply text-muted-foreground hover:bg-accent hover:text-accent-foreground;
+ }
- /* Status badges */
- .badge-success {
- @apply rounded-full px-2.5 py-1 text-xs font-medium bg-surface-success text-success;
- }
+ .section-header-primary {
+ @apply text-xs font-semibold uppercase tracking-[0.05em] text-primary;
+ }
- .badge-warning {
- @apply rounded-full px-2.5 py-1 text-xs font-medium bg-surface-warning text-warning;
- }
+ .section-header-subtle {
+ @apply text-xs font-semibold uppercase tracking-[0.05em] text-muted-foreground;
+ }
- .badge-danger {
- @apply rounded-full px-2.5 py-1 text-xs font-medium bg-surface-danger text-danger;
- }
+ .badge {
+ @apply rounded-full px-2.5 py-1 text-xs font-medium;
+ }
- .badge-expired {
- @apply rounded-full px-2.5 py-1 text-xs font-medium bg-surface-expired text-expired;
- }
+ .badge-success {
+ @apply rounded-full bg-success-muted px-2.5 py-1 text-xs font-medium text-success-foreground;
+ }
- /* Cards */
- .card {
- @apply bg-white border rounded-lg border-stroke;
- }
+ .badge-warning {
+ @apply rounded-full bg-warning-muted px-2.5 py-1 text-xs font-medium text-warning-foreground;
+ }
- .card-header {
- @apply px-4 py-3 border-b border-stroke;
- }
+ .badge-danger {
+ @apply rounded-full bg-danger-muted px-2.5 py-1 text-xs font-medium text-danger-foreground;
+ }
- .card-header-label {
- @apply text-xs font-semibold uppercase tracking-[0.05em] text-text-tertiary;
- }
+ .badge-expired {
+ @apply rounded-full bg-expired-muted px-2.5 py-1 text-xs font-medium text-expired-foreground;
+ }
- .card-header-title {
- @apply mt-1 text-base font-semibold text-foreground;
- }
+ .card {
+ @apply rounded-lg border border-border bg-card text-card-foreground;
+ }
- .card-body {
- @apply px-4 py-4;
- }
+ .card-header {
+ @apply border-b border-border px-4 py-3;
+ }
- /* Form inputs */
- .input-mono {
- @apply px-3 py-2 text-sm transition bg-white border rounded-md border-stroke placeholder:text-text-tertiary focus:border-primary focus:ring-2 focus:ring-primary-muted font-mono text-[13px] leading-5;
- }
+ .card-header-label {
+ @apply text-xs font-semibold uppercase tracking-[0.05em] text-muted-foreground;
+ }
+
+ .card-header-title {
+ @apply mt-1 text-base font-semibold text-card-foreground;
+ }
+
+ .card-body {
+ @apply px-4 py-4;
+ }
+
+ .input-mono {
+ @apply rounded-md border border-border bg-input px-3 py-2 font-mono text-[13px] leading-5 text-foreground transition placeholder:text-muted-foreground focus:border-ring focus:outline-none focus:ring-2 focus:ring-ring-muted;
+ }
}
diff --git a/web/app/templates/base.html b/web/app/templates/base.html
index f1664cc..cca3ccc 100644
--- a/web/app/templates/base.html
+++ b/web/app/templates/base.html
@@ -1,54 +1,46 @@
-
-
-
-
-
- {% block title %}Myst{% endblock %}
-
-
-
-
-
-
-
-
-
-
+
+ {% block content %}{% endblock %}
+
+
+
diff --git a/web/app/templates/dashboard.html b/web/app/templates/dashboard.html
index d93c465..b670ce1 100644
--- a/web/app/templates/dashboard.html
+++ b/web/app/templates/dashboard.html
@@ -1,80 +1,79 @@
{% extends "base.html" %}
{% block title %}Dashboard — Myst{% endblock %}
{% block content %}
-
-
-
-
-
-
0
-
No repository snapshots published yet.
-
-
-
-
7 days
-
Applied to newly created links.
-
-
-
-
0
-
Viewer activity will appear here.
-
-
-
@@ -39,36 +38,37 @@
+ viewBox="0 0 256 256"
+ class="text-muted-foreground"
+ fill="currentColor">
-
+
infra/deployment
-
Pinned commit 9f2a1c8 · expires in 7 days
+
Pinned commit 9f2a1c8 · expires in 7 days
Active
-
+
audit/policies
-
Pinned commit 31e0b77 · revoked yesterday
+
Pinned commit 31e0b77 · revoked yesterday
Revoked
-
+
platform/utils
-
Pinned commit a81dc40 · 14 views
+
Pinned commit a81dc40 · 14 views
Expired