feat(ui,api): strip board redesign - island, rail by day, context view, server search, vault graph

This commit is contained in:
hh committed 2026-09-02 03:48:26 +02:00
1 parent 85b14e2c2f
commit 025f2dbc3f
60 files changed
+5071 -2347

No files matched your search

+159 -90
View File
@@ -10,27 +10,31 @@
@custom-variant dark (&:is(.dark *));
:root {
--background: oklch(0.99 0.004 340);
--foreground: oklch(0.24 0.03 340);
--card: oklch(0.985 0.006 340);
--card-foreground: oklch(0.24 0.03 340);
--popover: oklch(0.985 0.006 340);
--popover-foreground: oklch(0.24 0.03 340);
--rack: oklch(0.968 0.007 340);
--strip: oklch(0.996 0.002 340);
--background: var(--rack);
--foreground: oklch(0.23 0.03 340);
--card: var(--strip);
--card-foreground: oklch(0.23 0.03 340);
--popover: var(--strip);
--popover-foreground: oklch(0.23 0.03 340);
--primary: oklch(0.47 0.13 340);
--primary-foreground: oklch(0.99 0.005 340);
--secondary: oklch(0.96 0.012 340);
--secondary-foreground: oklch(0.24 0.03 340);
--muted: oklch(0.96 0.012 340);
--muted-foreground: oklch(0.5 0.04 340);
--accent: oklch(0.96 0.012 340);
--accent-foreground: oklch(0.24 0.03 340);
--secondary: oklch(0.95 0.012 340);
--secondary-foreground: oklch(0.23 0.03 340);
--muted: oklch(0.945 0.012 340);
--muted-foreground: oklch(0.5 0.035 340);
--accent: oklch(0.95 0.012 340);
--accent-foreground: oklch(0.23 0.03 340);
--destructive: oklch(0.58 0.22 25);
--destructive-foreground: oklch(0.99 0 0);
--border: oklch(0.9 0.02 340);
--input: oklch(0.9 0.02 340);
--border: oklch(0.9 0.016 340);
--input: oklch(0.9 0.016 340);
--ring: oklch(0.55 0.2 342);
--icon: oklch(0.55 0.03 340);
--signal: oklch(0.48 0.21 342);
--signal: oklch(0.5 0.21 342);
--attention: oklch(0.72 0.16 72);
--attention-foreground: oklch(0.5 0.14 70);
--note: oklch(0.52 0.13 78);
--warn: oklch(0.55 0.13 75);
--link: var(--primary);
@@ -43,64 +47,81 @@
--status-meeting: oklch(0.5 0.2 300);
--status-work: oklch(0.55 0.13 195);
--radius: 0.45rem;
--sidebar: oklch(0.975 0.01 340);
--sidebar-foreground: oklch(0.24 0.03 340);
--sidebar-primary: oklch(0.47 0.13 340);
--sidebar-primary-foreground: oklch(0.99 0.005 340);
--sidebar-accent: oklch(0.94 0.016 340);
--sidebar-accent-foreground: oklch(0.24 0.03 340);
--sidebar-border: oklch(0.9 0.02 340);
--sidebar-ring: oklch(0.55 0.2 342);
--radius: 0.5rem;
--sidebar: var(--rack);
--sidebar-foreground: var(--foreground);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: oklch(0.93 0.016 340);
--sidebar-accent-foreground: var(--foreground);
--sidebar-border: var(--border);
--sidebar-ring: var(--ring);
--shadow-lift:
0 8px 20px -12px oklch(0.25 0.06 340 / 0.35),
0 1px 2px oklch(0.25 0.06 340 / 0.08);
--shadow-float:
0 24px 60px -24px oklch(0.2 0.06 340 / 0.45),
0 2px 6px oklch(0.2 0.06 340 / 0.08);
}
.dark {
--background: #22111e;
--foreground: #f5f5f5;
--card: #341d2f;
--card-foreground: #f5f5f5;
--popover: #341d2f;
--popover-foreground: #f5f5f5;
--primary: #7c3871;
--primary-foreground: #f5f5f5;
--secondary: #341d2f;
--secondary-foreground: #f5f5f5;
--muted: #40283a;
--muted-foreground: #a989a3;
--accent: #40283a;
--accent-foreground: #f5f5f5;
--destructive: oklch(0.62 0.2 25);
--destructive-foreground: #f5f5f5;
--border: oklch(0.92 0.04 340 / 10%);
--input: oklch(0.92 0.04 340 / 14%);
--ring: #ff82f3;
--icon: #877384;
--signal: #ff82f3;
--rack: oklch(0.2 0.025 335);
--strip: oklch(0.255 0.028 335);
--background: var(--rack);
--foreground: oklch(0.96 0.005 340);
--card: var(--strip);
--card-foreground: oklch(0.96 0.005 340);
--popover: oklch(0.27 0.03 335);
--popover-foreground: oklch(0.96 0.005 340);
--primary: oklch(0.72 0.16 340);
--primary-foreground: oklch(0.18 0.03 340);
--secondary: oklch(0.29 0.03 335);
--secondary-foreground: oklch(0.96 0.005 340);
--muted: oklch(0.3 0.03 335);
--muted-foreground: oklch(0.72 0.03 340);
--accent: oklch(0.3 0.03 335);
--accent-foreground: oklch(0.96 0.005 340);
--destructive: oklch(0.66 0.2 25);
--destructive-foreground: oklch(0.98 0 0);
--border: oklch(0.96 0.02 340 / 10%);
--input: oklch(0.96 0.02 340 / 14%);
--ring: oklch(0.8 0.15 340);
--icon: oklch(0.65 0.03 340);
--signal: oklch(0.8 0.17 340);
--attention: oklch(0.8 0.15 75);
--attention-foreground: oklch(0.85 0.14 78);
--note: oklch(0.84 0.14 88);
--warn: oklch(0.8 0.13 75);
--link: #ff82f3;
--link: oklch(0.8 0.15 340);
--status-new: #ff82f3;
--status-new: oklch(0.8 0.17 340);
--status-done: oklch(0.74 0.14 155);
--status-skip: #a989a3;
--status-skip: oklch(0.7 0.03 340);
--status-reply: oklch(0.72 0.13 235);
--status-snooze: oklch(0.8 0.13 75);
--status-meeting: oklch(0.72 0.16 300);
--status-work: oklch(0.75 0.12 195);
--sidebar: #2c1b29;
--sidebar-foreground: #f5f5f5;
--sidebar-primary: #ff82f3;
--sidebar-primary-foreground: #22111e;
--sidebar-accent: #341d2f;
--sidebar-accent-foreground: #f5f5f5;
--sidebar-border: oklch(0.92 0.04 340 / 10%);
--sidebar-ring: #ff82f3;
--sidebar: var(--rack);
--sidebar-foreground: var(--foreground);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: oklch(0.3 0.03 335);
--sidebar-accent-foreground: var(--foreground);
--sidebar-border: var(--border);
--sidebar-ring: var(--ring);
--shadow-lift:
0 8px 20px -12px oklch(0 0 0 / 0.7), 0 1px 2px oklch(0 0 0 / 0.3);
--shadow-float:
0 24px 60px -24px oklch(0 0 0 / 0.8), 0 2px 6px oklch(0 0 0 / 0.3);
}
@theme inline {
--font-sans: "Inter Variable", sans-serif;
--font-heading: "Inter Variable", sans-serif;
--font-sans:
-apple-system, BlinkMacSystemFont, "Inter Variable", system-ui, sans-serif;
--font-heading: var(--font-sans);
--text-xs: 0.75rem;
--text-sm: 0.8125rem;
@@ -108,6 +129,12 @@
--text-lg: 1rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 2rem;
--color-rack: var(--rack);
--color-strip: var(--strip);
--color-attention: var(--attention);
--color-attention-foreground: var(--attention-foreground);
--color-sidebar-ring: var(--sidebar-ring);
--color-sidebar-border: var(--sidebar-border);
@@ -150,11 +177,37 @@
--color-foreground: var(--foreground);
--color-background: var(--background);
--shadow-lift: var(--shadow-lift);
--shadow-float: var(--shadow-float);
--radius-sm: calc(var(--radius) * 0.6);
--radius-md: calc(var(--radius) * 0.8);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) * 1.4);
--radius-2xl: calc(var(--radius) * 1.8);
--animate-island-in: island-in 260ms cubic-bezier(0.2, 0.9, 0.25, 1.05) both;
--animate-fade-in: fade-in 180ms ease-out both;
}
@keyframes island-in {
from {
opacity: 0;
transform: translateY(-6px) scale(0.985);
}
to {
opacity: 1;
transform: none;
}
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@layer base {
@@ -163,6 +216,7 @@
}
body {
font-feature-settings: "cv11", "ss01";
-webkit-font-smoothing: antialiased;
@apply bg-background text-foreground;
}
html,
@@ -177,18 +231,6 @@
::selection {
background: color-mix(in oklab, var(--primary) 28%, transparent);
}
}
@utility hue-chip {
color: oklch(0.45 0.13 var(--hue));
background: oklch(0.6 0.09 var(--hue) / 0.12);
border-color: oklch(0.6 0.09 var(--hue) / 0.4);
.dark & {
color: oklch(0.82 0.08 var(--hue));
}
}
@layer base {
* {
scrollbar-color: color-mix(in oklab, var(--foreground) 22%, transparent)
transparent;
@@ -210,6 +252,14 @@
textarea {
caret-color: var(--primary);
}
input:focus,
textarea:focus,
select:focus {
--tw-ring-color: transparent;
outline: none;
border-color: var(--border);
box-shadow: none;
}
a {
text-underline-offset: 3px;
}
@@ -229,10 +279,38 @@
}
}
@utility hue-chip {
color: oklch(0.45 0.13 var(--hue));
background: oklch(0.6 0.09 var(--hue) / 0.12);
border-color: oklch(0.6 0.09 var(--hue) / 0.4);
.dark & {
color: oklch(0.82 0.08 var(--hue));
}
}
@utility hairline {
border-color: color-mix(in oklab, var(--border) 100%, transparent);
}
@utility label-quiet {
font-size: var(--text-xs);
font-weight: 500;
color: var(--muted-foreground);
letter-spacing: 0.02em;
}
@utility rule-word {
font-size: var(--text-sm);
font-weight: 500;
color: var(--muted-foreground);
transition: color 150ms ease-out;
&:hover,
&[aria-current="page"],
&[data-active="true"] {
color: var(--foreground);
}
}
/* chat markdown: typography plugin on the theme tokens, compact rhythm */
.prose {
--tw-prose-body: var(--foreground);
@@ -258,34 +336,25 @@
:where(p, ul, ol, pre, blockquote, table):not(
:where([class~="not-prose"] *)
) {
margin-block: 0.4em;
margin-top: 0.4em;
margin-bottom: 0.4em;
}
.prose :where(h1, h2, h3, h4):not(:where([class~="not-prose"] *)) {
margin-block: 0.8em 0.4em;
margin-top: 0.9em;
margin-bottom: 0.3em;
font-size: 1em;
font-weight: 600;
}
.prose :where(li):not(:where([class~="not-prose"] *)) {
margin-block: 0.15em;
.prose :where(code):not(:where([class~="not-prose"] *)) {
padding: 0.1em 0.3em;
font-weight: 500;
background: var(--muted);
border-radius: 0.3em;
}
.prose :where(code):not(:where([class~="not-prose"] *))::before,
.prose :where(code):not(:where([class~="not-prose"] *))::after {
content: none;
}
.prose :where(code):not(:where(pre *)):not(:where([class~="not-prose"] *)) {
padding: 0.1em 0.3em;
font-weight: 500;
background: color-mix(in oklch, var(--muted) 70%, transparent);
border-radius: 0.25rem;
}
.prose :where(pre):not(:where([class~="not-prose"] *)) {
padding: 0.6em 0.8em;
font-size: 0.8125rem;
border-radius: 0.375rem;
}
.prose > :first-child {
margin-top: 0;
}
.prose > :last-child {
margin-bottom: 0;
.prose :where(a.internal-link):not(:where([class~="not-prose"] *)) {
text-decoration-style: dotted;
}