okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

Niko1221apps/host: the owner's UI and the Node App Host0b3299a01

main
3.7 KiB88 linesraw
1/* Strata UI — tokens. Derived from the Gainsty design system.
2   Light is default; dark via <html data-theme="dark">.
3   Values marked (derived) are not in the Gainsty source and were added for the app. */
4
5@font-face{font-family:"GT Walsheim Pro";src:url("/fonts/GTWalsheimPro-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
6@font-face{font-family:"GT Walsheim Pro";src:url("/fonts/GTWalsheimPro-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
7@font-face{font-family:"GT Walsheim Pro";src:url("/fonts/GTWalsheimPro-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
8@font-face{font-family:"GT Walsheim Pro";src:url("/fonts/GTWalsheimPro-Black.woff2") format("woff2");font-weight:900;font-display:swap}
9
10:root{
11  /* type */
12  --st-font:"GT Walsheim Pro",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
13  --st-font-mono:ui-monospace,"SF Mono","Cascadia Code",Consolas,"Liberation Mono",monospace; /* (derived) */
14  --st-fs-xs:12px;  --st-fs-sm:13px; --st-fs-md:14px; --st-fs-base:16px;
15  --st-fs-lg:18px;  --st-fs-xl:24px; --st-fs-stat:32px; --st-fs-display:40px;
16  --st-fw-regular:400; --st-fw-medium:500; --st-fw-bold:700; --st-fw-black:900;
17  --st-lh-tight:1.1; --st-lh-body:1.55;
18
19  /* spacing (4pt) */
20  --st-s-1:4px; --st-s-2:8px; --st-s-3:12px; --st-s-4:16px; --st-s-5:20px;
21  --st-s-6:24px; --st-s-8:32px; --st-s-10:40px; --st-s-12:48px; --st-s-16:64px;
22
23  /* radius */
24  --st-r-sm:8px; --st-r-md:14px; --st-r-lg:20px; --st-r-xl:24px; --st-r-pill:9999px;
25
26  /* motion (derived) */
27  --st-ease:cubic-bezier(.2,.7,.2,1); --st-dur:160ms;
28
29  /* color — light */
30  --st-bg:#f9fafb;
31  --st-surface:#ffffff;
32  --st-surface-2:#f7f7f7;
33  --st-line:#dee5ee;
34  --st-line-soft:#eeeeee;
35  --st-ink:#221e1f;
36  --st-ink-soft:#303030;
37  --st-ink-muted:#6f6f6f;        /* Gainsty #7a7a7a darkened slightly for 4.5:1 on white */
38  --st-icon:#2F384C;             /* Anron default */
39
40  --st-accent:#10b981;
41  --st-accent-hover:#0c8a60;
42  --st-accent-ink:#ffffff;
43  --st-accent-tint:#ecfdf5;
44  --st-accent-text:#0c8a60;      /* accent used as text on light */
45  --st-focus:#405de6;
46
47  --st-info:#0f97ff;     --st-info-tint:#e8f4ff;    --st-info-text:#0668c2;
48  --st-warn:#e39b0b;     --st-warn-tint:#fff6e0;    --st-warn-text:#8a5a00;   /* (derived) */
49  --st-danger:#e0283f;   --st-danger-tint:#fdecee;  --st-danger-text:#b01a2e; /* (derived) */
50
51  --st-code-bg:#1b1f23;  --st-code-ink:#e6e9ec;  /* code blocks stay dark in both themes (derived) */
52
53  --st-sh-card:0 18px 7px rgba(0,0,0,.01),0 10px 6px rgba(0,0,0,.02),0 4px 4px rgba(0,0,0,.03),0 1px 2px rgba(0,0,0,.04);
54  --st-sh-bar:0 54px 21px rgba(0,0,0,.01),0 30px 18px rgba(0,0,0,.03),0 13px 13px rgba(0,0,0,.05),0 3px 7px rgba(0,0,0,.06);
55  --st-sh-pop:0 10px 40px rgba(15,23,42,.08),0 1px 3px rgba(15,23,42,.06);
56  color-scheme:light;
57}
58
59/* color — dark (all derived) */
60[data-theme="dark"]{
61  --st-bg:#0e1113;
62  --st-surface:#161a1d;
63  --st-surface-2:#1d2226;
64  --st-line:#2a3036;
65  --st-line-soft:#22272c;
66  --st-ink:#eef1f3;
67  --st-ink-soft:#c7cdd3;
68  --st-ink-muted:#8e979f;
69  --st-icon:#c7cdd3;
70
71  --st-accent:#34d399;
72  --st-accent-hover:#4ade80;
73  --st-accent-ink:#052e20;
74  --st-accent-tint:rgba(52,211,153,.12);
75  --st-accent-text:#4ade80;
76  --st-focus:#7b93ff;
77
78  --st-info:#3aa9ff;     --st-info-tint:rgba(58,169,255,.12);  --st-info-text:#7cc4ff;
79  --st-warn:#f5b53d;     --st-warn-tint:rgba(245,181,61,.12);  --st-warn-text:#f8c96a;
80  --st-danger:#ff5a6e;   --st-danger-tint:rgba(255,90,110,.12);--st-danger-text:#ff8a98;
81
82  --st-code-bg:#0a0c0e;  --st-code-ink:#e6e9ec;
83
84  --st-sh-card:0 1px 2px rgba(0,0,0,.4);
85  --st-sh-bar:0 12px 32px rgba(0,0,0,.45),0 2px 6px rgba(0,0,0,.35);
86  --st-sh-pop:0 16px 48px rgba(0,0,0,.55),0 1px 3px rgba(0,0,0,.4);
87  color-scheme:dark;
88}