@gemboss/ui 0.58.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +85 -0
- package/README.md +189 -5
- package/catalog/editor.html +1 -1
- package/catalog/index.html +2 -2
- package/gemboss-ui.css +2 -2
- package/node/skill-flow/layout.js +194 -0
- package/node/skill-flow/model.js +279 -0
- package/package.json +16 -2
- package/parts/components.css +1 -1
- package/parts/core.css +1 -1
- package/parts/shell.css +1 -1
- package/src/auth-sso-plain.js +1 -1
- package/src/auth.tsx +2 -0
- package/src/editor.css +1 -1
- package/src/index.ts +11 -1
- package/src/list-page.css +1 -1
- package/src/members-data.ts +278 -0
- package/src/members.css +1 -0
- package/src/members.tsx +868 -0
- package/src/menu-extras.css +1 -1
- package/src/menu-select.css +1 -0
- package/src/menu.tsx +39 -12
- package/src/skill-card.css +1 -0
- package/src/skill-card.tsx +146 -0
- package/src/skill-flow/canvas.tsx +43 -24
- package/src/skill-flow/index.ts +3 -1
- package/src/skill-flow/layout.ts +15 -6
- package/src/skill-flow/model.ts +216 -60
- package/src/skill-flow.css +1 -1
- package/src/skill-view.css +1 -1
- package/src/skill-view.tsx +101 -109
- package/src/theme-dark.css +1 -1
package/src/skill-view.tsx
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
* null is not drawn, so a skill with no flow simply has no Flow tab. Props only: no fetching, no routing; the surface keeps the open
|
|
11
11
|
* tab if it wants it in its URL (`tab` + `onTab`), or lets the popup keep it (`defaultTab`).
|
|
12
12
|
*
|
|
13
|
+
* 04/11/2026 (Chris: "Kit thêm slot, giữ giao diện content-radar"): the body is `SkillViewBody`, drawn without the dialog too
|
|
14
|
+
* (content-radar shows a skill in its writer popup's Skill pane and beside the chat of "Edit with AI"), and the head took
|
|
15
|
+
* content-radar's: a picture of its own (`iconSize`, a 96px mascot), lines of any shape in `intro` (English and a muted Vietnamese
|
|
16
|
+
* line under it), a tinted `callout` with its small-caps `calloutLabel` ("Kitchen"), `badges` (the kit's filled badges) and a quiet
|
|
17
|
+
* `note` ("Suggested when: …"). Every one optional: GemBoss's Assistant › Skills draws what it drew before.
|
|
18
|
+
*
|
|
13
19
|
* The tab bar is the kit's `ui-tabs` (button tabs, arrow keys move between them) and stays at the top while the body scrolls; a
|
|
14
20
|
* Flow canvas inside reads `--skf-sticky` so its zoom bar sticks under the tabs, not under them. `back` puts "← <label>" first in
|
|
15
21
|
* the head (Chris's popups: the way back top left); ✕ and Escape still close it. skill-view.css is its own entry.
|
|
@@ -39,22 +45,23 @@ export interface SkillViewTab {
|
|
|
39
45
|
content?: ReactNode;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
title: ReactNode;
|
|
46
|
-
/** One line under the title: "advertorial · v2 · updated 28 Oct". */
|
|
47
|
-
subtitle?: ReactNode;
|
|
48
|
-
/** Beside the title, before ✕: "Use this skill". */
|
|
49
|
-
actions?: ReactNode;
|
|
50
|
-
/** "← Skills" first in the head. `onClick` defaults to closing. */
|
|
51
|
-
back?: { label: string; onClick?: () => void };
|
|
52
|
-
/** The skill's picture: a kit icon on a tile. */
|
|
48
|
+
/** What a skill shows: its head and its tabs. SkillView puts it in a ReaderDialog; a surface may draw it anywhere else. */
|
|
49
|
+
export interface SkillViewBodyProps {
|
|
50
|
+
/** The skill's picture: a kit icon on a tile, or with `iconSize` a picture of its own. */
|
|
53
51
|
icon?: ReactNode;
|
|
54
|
-
/**
|
|
52
|
+
/** The picture's size in px when it is not a kit icon (content-radar's 96px mascot): it stands bare, no tile. */
|
|
53
|
+
iconSize?: number;
|
|
54
|
+
/** What it does, one short line. Any shape: two lines (a translation under it, muted) fit. */
|
|
55
55
|
intro?: ReactNode;
|
|
56
|
+
/** A tinted box under the intro (content-radar's "Kitchen" line), its `calloutLabel` in small caps before the first line. */
|
|
57
|
+
callout?: ReactNode;
|
|
58
|
+
calloutLabel?: ReactNode;
|
|
56
59
|
/** A few facts as quiet chips (a version, a count of rules). Empty ones are dropped. */
|
|
57
60
|
facts?: readonly ReactNode[];
|
|
61
|
+
/** Traits as the kit's filled badges (a voice, a style, "EN 500–600 words"), after the facts. Empty ones are dropped. */
|
|
62
|
+
badges?: readonly ReactNode[];
|
|
63
|
+
/** A quiet line or two under the badges ("Suggested when: …"). */
|
|
64
|
+
note?: ReactNode;
|
|
58
65
|
/** The longer reason, folded behind "Why?". */
|
|
59
66
|
why?: ReactNode;
|
|
60
67
|
whyLabel?: string;
|
|
@@ -63,19 +70,43 @@ export interface SkillViewProps {
|
|
|
63
70
|
tab?: string;
|
|
64
71
|
onTab?: (key: string) => void;
|
|
65
72
|
defaultTab?: string;
|
|
73
|
+
/** The tab row's name for a screen reader. */
|
|
74
|
+
tabsLabel?: string;
|
|
66
75
|
/** While the skill's details load: a quiet line instead of the tabs' bodies. */
|
|
67
76
|
loading?: boolean;
|
|
68
77
|
loadingLabel?: string;
|
|
69
78
|
/** A read that failed, said in the body. */
|
|
70
79
|
error?: ReactNode;
|
|
71
80
|
className?: string;
|
|
81
|
+
tabIndex?: number;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export interface SkillViewProps extends Omit<SkillViewBodyProps, "className" | "tabIndex"> {
|
|
85
|
+
open: boolean;
|
|
86
|
+
onClose: () => void;
|
|
87
|
+
title: ReactNode;
|
|
88
|
+
/** One line under the title: "advertorial · v2 · updated 28 Oct". */
|
|
89
|
+
subtitle?: ReactNode;
|
|
90
|
+
/** Beside the title, before ✕: "Use this skill". */
|
|
91
|
+
actions?: ReactNode;
|
|
92
|
+
/** "← Skills" first in the head. `onClick` defaults to closing. */
|
|
93
|
+
back?: { label: string; onClick?: () => void };
|
|
94
|
+
/** The popup's class (the body is the kit's). */
|
|
95
|
+
className?: string;
|
|
72
96
|
closeLabel?: string;
|
|
73
97
|
}
|
|
74
98
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
99
|
+
const present = (f: ReactNode) => f !== null && f !== undefined && f !== false && f !== "";
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* A skill's head and tabs, without the dialog: in a ReaderDialog give it `className="ui-reader__scroll"` (SkillView does), so it is
|
|
103
|
+
* the popup's scroller and its tab row sticks to the popup's top edge; anywhere else it is a column whose tab row sticks to the top
|
|
104
|
+
* of whatever scrolls round it.
|
|
105
|
+
*/
|
|
106
|
+
export function SkillViewBody({
|
|
107
|
+
icon, iconSize, intro, callout, calloutLabel, facts = [], badges = [], note, why, whyLabel = "Why?", tabs, tab, onTab, defaultTab,
|
|
108
|
+
tabsLabel = "Skill sections", loading = false, loadingLabel = "Loading…", error, className, tabIndex,
|
|
109
|
+
}: SkillViewBodyProps) {
|
|
79
110
|
const shown = tabs.filter((t) => t.content !== null && t.content !== undefined && t.content !== false);
|
|
80
111
|
const [own, setOwn] = useState<string | undefined>(defaultTab);
|
|
81
112
|
const want = tab ?? own;
|
|
@@ -83,7 +114,8 @@ export function SkillView({
|
|
|
83
114
|
const pick = (key: string) => { if (tab === undefined) setOwn(key); onTab?.(key); };
|
|
84
115
|
const base = useId();
|
|
85
116
|
const tabsRef = useRef<HTMLDivElement>(null);
|
|
86
|
-
const chips = facts.filter(
|
|
117
|
+
const chips = facts.filter(present);
|
|
118
|
+
const tags = badges.filter(present);
|
|
87
119
|
// Arrow keys move along the tabs and pick (the kit's tabs are a tablist; Home / End go to the ends).
|
|
88
120
|
const onKeyDown = (e: React.KeyboardEvent) => {
|
|
89
121
|
const i = shown.findIndex((t) => t.key === cur?.key);
|
|
@@ -94,6 +126,57 @@ export function SkillView({
|
|
|
94
126
|
pick(next.key);
|
|
95
127
|
tabsRef.current?.querySelector<HTMLButtonElement>(`[data-tab="${next.key}"]`)?.focus();
|
|
96
128
|
};
|
|
129
|
+
const art = typeof iconSize === "number" && iconSize > 0;
|
|
130
|
+
return (
|
|
131
|
+
<div className={cx(className, "ui-skillview")} tabIndex={tabIndex}>
|
|
132
|
+
{icon || intro || callout || chips.length || tags.length || note || why ? (
|
|
133
|
+
<header className={art ? "ui-skillview__hero ui-skillview__hero--art" : "ui-skillview__hero"}>
|
|
134
|
+
{icon ? (art
|
|
135
|
+
? <span className="ui-skillview__art" aria-hidden="true" style={{ ["--ui-skillview-art" as string]: `${iconSize}px` } as React.CSSProperties}>{icon}</span>
|
|
136
|
+
: <span className="ui-skillview__icon" aria-hidden="true">{icon}</span>) : null}
|
|
137
|
+
<div className="ui-skillview__lead">
|
|
138
|
+
{intro ? <div className="ui-skillview__intro">{intro}</div> : null}
|
|
139
|
+
{callout ? (
|
|
140
|
+
<div className="ui-skillview__callout">
|
|
141
|
+
{calloutLabel ? <span className="ui-skillview__calloutlabel">{calloutLabel} · </span> : null}
|
|
142
|
+
{callout}
|
|
143
|
+
</div>
|
|
144
|
+
) : null}
|
|
145
|
+
{chips.length ? <ul className="ui-skillview__facts">{chips.map((f, i) => <li key={i} className="ui-skillview__fact">{f}</li>)}</ul> : null}
|
|
146
|
+
{tags.length ? <ul className="ui-skillview__badges">{tags.map((f, i) => <li key={i} className="ui-badge">{f}</li>)}</ul> : null}
|
|
147
|
+
{note ? <div className="ui-skillview__note">{note}</div> : null}
|
|
148
|
+
{why ? (
|
|
149
|
+
<details className="ui-skillview__why">
|
|
150
|
+
<summary>{whyLabel}</summary>
|
|
151
|
+
<div className="ui-skillview__whytext">{why}</div>
|
|
152
|
+
</details>
|
|
153
|
+
) : null}
|
|
154
|
+
</div>
|
|
155
|
+
</header>
|
|
156
|
+
) : null}
|
|
157
|
+
{error ? <p className="ui-skillview__error" role="alert">{error}</p> : null}
|
|
158
|
+
{shown.length > 1 ? (
|
|
159
|
+
<div className="ui-tabs ui-skillview__tabs" role="tablist" aria-label={tabsLabel} ref={tabsRef} onKeyDown={onKeyDown}>
|
|
160
|
+
{shown.map((t) => (
|
|
161
|
+
<button key={t.key} type="button" role="tab" id={`${base}-t-${t.key}`} data-tab={t.key} aria-selected={cur?.key === t.key}
|
|
162
|
+
aria-controls={`${base}-p-${t.key}`} tabIndex={cur?.key === t.key ? 0 : -1} onClick={() => pick(t.key)}>
|
|
163
|
+
{t.label}{t.count ? <span className="ui-skillview__count">{t.count}</span> : null}
|
|
164
|
+
</button>
|
|
165
|
+
))}
|
|
166
|
+
</div>
|
|
167
|
+
) : null}
|
|
168
|
+
{loading ? <p className="ui-skillview__loading">{loadingLabel}</p> : cur ? (
|
|
169
|
+
<div className="ui-skillview__panel" role={shown.length > 1 ? "tabpanel" : undefined} id={`${base}-p-${cur.key}`}
|
|
170
|
+
aria-labelledby={shown.length > 1 ? `${base}-t-${cur.key}` : undefined} data-tab={cur.key}>
|
|
171
|
+
{cur.content}
|
|
172
|
+
</div>
|
|
173
|
+
) : null}
|
|
174
|
+
</div>
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** One skill in the kit's ReaderDialog: the head's title, subtitle, actions and "← Back", over SkillViewBody. */
|
|
179
|
+
export function SkillView({ open, onClose, title, subtitle, actions, back, className, closeLabel, ...body }: SkillViewProps) {
|
|
97
180
|
return (
|
|
98
181
|
// The popup itself takes the focus on opening (as Sheet does), not "← Back": a ring on the way out is the first thing a mouse
|
|
99
182
|
// reader saw, and the arrow keys and Page Down read the skill from there.
|
|
@@ -104,40 +187,7 @@ export function SkillView({
|
|
|
104
187
|
<span aria-hidden="true">←</span> {back.label}
|
|
105
188
|
</button>
|
|
106
189
|
) : undefined}>
|
|
107
|
-
<
|
|
108
|
-
{icon || intro || chips.length || why ? (
|
|
109
|
-
<header className="ui-skillview__hero">
|
|
110
|
-
{icon ? <span className="ui-skillview__icon" aria-hidden="true">{icon}</span> : null}
|
|
111
|
-
<div className="ui-skillview__lead">
|
|
112
|
-
{intro ? <p className="ui-skillview__intro">{intro}</p> : null}
|
|
113
|
-
{chips.length ? <ul className="ui-skillview__facts">{chips.map((f, i) => <li key={i} className="ui-skillview__fact">{f}</li>)}</ul> : null}
|
|
114
|
-
{why ? (
|
|
115
|
-
<details className="ui-skillview__why">
|
|
116
|
-
<summary>{whyLabel}</summary>
|
|
117
|
-
<div className="ui-skillview__whytext">{why}</div>
|
|
118
|
-
</details>
|
|
119
|
-
) : null}
|
|
120
|
-
</div>
|
|
121
|
-
</header>
|
|
122
|
-
) : null}
|
|
123
|
-
{error ? <p className="ui-skillview__error" role="alert">{error}</p> : null}
|
|
124
|
-
{shown.length > 1 ? (
|
|
125
|
-
<div className="ui-tabs ui-skillview__tabs" role="tablist" aria-label="Skill sections" ref={tabsRef} onKeyDown={onKeyDown}>
|
|
126
|
-
{shown.map((t) => (
|
|
127
|
-
<button key={t.key} type="button" role="tab" id={`${base}-t-${t.key}`} data-tab={t.key} aria-selected={cur?.key === t.key}
|
|
128
|
-
aria-controls={`${base}-p-${t.key}`} tabIndex={cur?.key === t.key ? 0 : -1} onClick={() => pick(t.key)}>
|
|
129
|
-
{t.label}{t.count ? <span className="ui-skillview__count">{t.count}</span> : null}
|
|
130
|
-
</button>
|
|
131
|
-
))}
|
|
132
|
-
</div>
|
|
133
|
-
) : null}
|
|
134
|
-
{loading ? <p className="ui-skillview__loading">{loadingLabel}</p> : cur ? (
|
|
135
|
-
<div className="ui-skillview__panel" role={shown.length > 1 ? "tabpanel" : undefined} id={`${base}-p-${cur.key}`}
|
|
136
|
-
aria-labelledby={shown.length > 1 ? `${base}-t-${cur.key}` : undefined} data-tab={cur.key}>
|
|
137
|
-
{cur.content}
|
|
138
|
-
</div>
|
|
139
|
-
) : null}
|
|
140
|
-
</div>
|
|
190
|
+
<SkillViewBody {...body} className="ui-reader__scroll" tabIndex={-1} />
|
|
141
191
|
</ReaderDialog>
|
|
142
192
|
);
|
|
143
193
|
}
|
|
@@ -184,64 +234,6 @@ export function SkillRuleList({ rules, className }: { rules: readonly SkillRule[
|
|
|
184
234
|
);
|
|
185
235
|
}
|
|
186
236
|
|
|
187
|
-
/**
|
|
188
|
-
* A skill on the list: a kit icon on a tile (never content-radar's mascot art; Stage pictures come later), its title by the job it
|
|
189
|
-
* does, one short line, a quiet foot ("advertorial · v2") and, when the surface has it, how often it ran. A button (or a link with
|
|
190
|
-
* `href`, the press handled by `onOpen` unless a modifier asks for a new tab). Hover and press states are its own, so an app's
|
|
191
|
-
* bare `button:hover` cannot paint it.
|
|
192
|
-
*/
|
|
193
|
-
export function SkillCard({ title, line, icon, meta, stat, badge, href, onOpen, className }: {
|
|
194
|
-
title: ReactNode;
|
|
195
|
-
line?: ReactNode;
|
|
196
|
-
icon?: ReactNode;
|
|
197
|
-
/** "advertorial · v2". */
|
|
198
|
-
meta?: ReactNode;
|
|
199
|
-
/** "12 runs · 30 days": only when there is a number. */
|
|
200
|
-
stat?: ReactNode;
|
|
201
|
-
/** One word in the corner ("New"). */
|
|
202
|
-
badge?: ReactNode;
|
|
203
|
-
href?: string;
|
|
204
|
-
onOpen?: () => void;
|
|
205
|
-
className?: string;
|
|
206
|
-
}) {
|
|
207
|
-
const body = (
|
|
208
|
-
<>
|
|
209
|
-
<span className="ui-skillcard__top">
|
|
210
|
-
{icon ? <span className="ui-skillcard__icon" aria-hidden="true">{icon}</span> : null}
|
|
211
|
-
{badge ? <span className="ui-skillcard__badge">{badge}</span> : null}
|
|
212
|
-
</span>
|
|
213
|
-
<b className="ui-skillcard__title">{title}</b>
|
|
214
|
-
{line ? <span className="ui-skillcard__line">{line}</span> : null}
|
|
215
|
-
{meta || stat ? (
|
|
216
|
-
<span className="ui-skillcard__foot">
|
|
217
|
-
{meta ? <span className="ui-skillcard__meta">{meta}</span> : null}
|
|
218
|
-
{stat ? <span className="ui-skillcard__stat">{stat}</span> : null}
|
|
219
|
-
</span>
|
|
220
|
-
) : null}
|
|
221
|
-
</>
|
|
222
|
-
);
|
|
223
|
-
return href ? (
|
|
224
|
-
<a href={href} className={cx("ui-skillcard", className)}
|
|
225
|
-
onClick={(e) => { if (!onOpen || e.metaKey || e.ctrlKey || e.shiftKey || e.button !== 0) return; e.preventDefault(); onOpen(); }}>{body}</a>
|
|
226
|
-
) : (
|
|
227
|
-
<button type="button" className={cx("ui-skillcard", className)} onClick={onOpen}>{body}</button>
|
|
228
|
-
);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/** Skills that do one job, under its name and one line, as a grid of cards. Nothing in it: nothing drawn. */
|
|
232
|
-
export function SkillGroup({ title, line, children, className, id }: { title: ReactNode; line?: ReactNode; children?: ReactNode; className?: string; id?: string }) {
|
|
233
|
-
if (!React.Children.toArray(children).length) return null;
|
|
234
|
-
return (
|
|
235
|
-
<section className={cx("ui-skillgroup", className)} aria-labelledby={id ? `${id}-h` : undefined}>
|
|
236
|
-
<div className="ui-skillgroup__head">
|
|
237
|
-
<h2 className="ui-skillgroup__title" id={id ? `${id}-h` : undefined}>{title}</h2>
|
|
238
|
-
{line ? <p className="ui-skillgroup__line">{line}</p> : null}
|
|
239
|
-
</div>
|
|
240
|
-
<div className="ui-skillgroup__grid">{children}</div>
|
|
241
|
-
</section>
|
|
242
|
-
);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
237
|
/**
|
|
246
238
|
* One block of a tab: a small heading, an optional one-line note, then the body. The pieces every tab is made of, so the surfaces
|
|
247
239
|
* write their Rules and History the same way.
|
package/src/theme-dark.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root[data-theme=dark]{color-scheme:dark;--gemboss-primary: #f2f3f5;--gemboss-primary-dark: #ffffff;--gemboss-primary-soft: #23242a;--gemboss-on-primary: #0d0d12;--gemboss-accent: #7c84ff;--gemboss-accent-strong: #a3a9ff;--gemboss-accent-soft: #1f2140;--gemboss-accent-wash: #181a33;--gemboss-accent-tint: #2a2e5c;--gemboss-accent-mid: #3b4180;--gemboss-text-strong: #f2f3f5;--gemboss-text: #e3e4e8;--gemboss-text-muted: #9a9ca6;--gemboss-surface: #16171d;--gemboss-canvas: #0d0d12;--gemboss-app-bg: #0d0d12;--gemboss-rail-bg: #0d0d12;--gemboss-panel-bg: #16171d;--gemboss-topbar-bg: rgba(13, 13, 18, .96);--gemboss-nav-bg: #0d0d12;--gemboss-nav-hover: rgba(255, 255, 255, .06);--gemboss-divider: #2a2b33;--gemboss-divider-soft: #22232a;--gemboss-hover: #22232b;--gemboss-active-bg: #262833;--gemboss-active-fg: #f2f3f5;--gemboss-field-bg: #121318;--gemboss-field-bg-hover: #17181e;--gemboss-field-ink: #e3e4e8;--gemboss-field-placeholder: #8a8c96;--gemboss-field-line: #3a3c46;--gemboss-field-line-hover: #50525e;--gemboss-field-line-active: #c9cbd3;--gemboss-chip-ink: #d6d8de;--gemboss-chip-line: #3a3c46;--gemboss-chip-line-hover: #50525e;--gemboss-chip-bg-hover: #22232b;--gemboss-success: #34c38f;--gemboss-success-strong: #5fd6a8;--gemboss-success-soft: #13291f;--gemboss-success-border: #22533e;--gemboss-warning: #e0b341;--gemboss-warning-soft: #2b2412;--gemboss-warning-border: #5a4a1d;--gemboss-danger: #ff6b5a;--gemboss-danger-strong: #ff8a7c;--gemboss-danger-soft: #2e1714;--gemboss-danger-border: #5c2a24;--ui-accent-fg: #0d0d12;--ui-warning-fg: #e8c063;--ui-card-shadow: none;--gb-brand-ink: #f2f3f5}:root[data-theme=dark] .gb-avatar[data-tone]{background:color-mix(in srgb,var(--gb-tone) 30%,#16171d);color:color-mix(in srgb,var(--gb-tone) 35%,#ffffff)}:root[data-theme=dark] body{background:var(--gemboss-app-bg);color:var(--gemboss-text)}:root[data-theme=dark] .gb-leaderboard-row.is-first .gb-leaderboard-value,:root[data-theme=dark] .gb-podium-slot--1 .gb-podium-value{color:#e0b341}
|
|
1
|
+
:root[data-theme=dark]{color-scheme:dark;--gemboss-primary: #f2f3f5;--gemboss-primary-dark: #ffffff;--gemboss-primary-soft: #23242a;--gemboss-on-primary: #0d0d12;--gemboss-accent: #7c84ff;--gemboss-accent-strong: #a3a9ff;--gemboss-accent-soft: #1f2140;--gemboss-accent-wash: #181a33;--gemboss-accent-tint: #2a2e5c;--gemboss-accent-mid: #3b4180;--gemboss-text-strong: #f2f3f5;--gemboss-text: #e3e4e8;--gemboss-text-muted: #9a9ca6;--gemboss-surface: #16171d;--gemboss-canvas: #0d0d12;--gemboss-app-bg: #0d0d12;--gemboss-rail-bg: #0d0d12;--gemboss-panel-bg: #16171d;--gemboss-topbar-bg: rgba(13, 13, 18, .96);--gemboss-nav-bg: #0d0d12;--gemboss-nav-hover: rgba(255, 255, 255, .06);--gemboss-divider: #2a2b33;--gemboss-divider-soft: #22232a;--gemboss-hover: #22232b;--gemboss-active-bg: #262833;--gemboss-active-fg: #f2f3f5;--gemboss-fill-tertiary: #2a2b33;--gemboss-fill-tertiary-hover: #33353f;--gemboss-fill-tertiary-active: #3a3c46;--gemboss-field-bg: #121318;--gemboss-field-bg-hover: #17181e;--gemboss-field-ink: #e3e4e8;--gemboss-field-placeholder: #8a8c96;--gemboss-field-line: #3a3c46;--gemboss-field-line-hover: #50525e;--gemboss-field-line-active: #c9cbd3;--gemboss-chip-ink: #d6d8de;--gemboss-chip-line: #3a3c46;--gemboss-chip-line-hover: #50525e;--gemboss-chip-bg-hover: #22232b;--gemboss-success: #34c38f;--gemboss-success-strong: #5fd6a8;--gemboss-success-soft: #13291f;--gemboss-success-border: #22533e;--gemboss-warning: #e0b341;--gemboss-warning-soft: #2b2412;--gemboss-warning-border: #5a4a1d;--gemboss-danger: #ff6b5a;--gemboss-danger-strong: #ff8a7c;--gemboss-danger-soft: #2e1714;--gemboss-danger-border: #5c2a24;--ui-accent-fg: #0d0d12;--ui-warning-fg: #e8c063;--ui-card-shadow: none;--gb-brand-ink: #f2f3f5}:root[data-theme=dark] .gb-avatar[data-tone]{background:color-mix(in srgb,var(--gb-tone) 30%,#16171d);color:color-mix(in srgb,var(--gb-tone) 35%,#ffffff)}:root[data-theme=dark] body{background:var(--gemboss-app-bg);color:var(--gemboss-text)}:root[data-theme=dark] .gb-leaderboard-row.is-first .gb-leaderboard-value,:root[data-theme=dark] .gb-podium-slot--1 .gb-podium-value{color:#e0b341}
|