EnergyVenom commited on
Commit
153376e
·
verified ·
1 Parent(s): ea59f21

Astra: CES blue gradient theme, ASTRA wordmark (d3855f0)

Browse files
web/src/apple.css CHANGED
@@ -188,6 +188,14 @@ html:root[data-mantine-color-scheme='dark'] .trio-logo[data-for='dark'] { displa
188
  html:root[data-mantine-color-scheme='dark'] .trio-logo[data-for='light'] { display: none; }
189
  /* the product logo (CES, a wide shape): keeps its proportions at the height it is given; reads on light and dark */
190
  .astra-logo { display: block; width: auto; max-width: 64px; object-fit: contain; flex: none; }
 
 
 
 
 
 
 
 
191
  .fpt-sb-brand-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
192
  .fpt-sb-brand-name small { font-weight: var(--fw-regular); font-size: var(--fs-xs); color: var(--label-2); letter-spacing: 0; margin-top: -1px; }
193
  .fpt-sb-top { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
 
188
  html:root[data-mantine-color-scheme='dark'] .trio-logo[data-for='light'] { display: none; }
189
  /* the product logo (CES, a wide shape): keeps its proportions at the height it is given; reads on light and dark */
190
  .astra-logo { display: block; width: auto; max-width: 64px; object-fit: contain; flex: none; }
191
+ /* the wordmark next to the logo: ASTRA, bold capitals */
192
+ .astra-wordmark { text-transform: uppercase; font-weight: 800; letter-spacing: 0.08em; }
193
+ .astra-grad-text { background: linear-gradient(135deg, #5aa2f0 0%, #2f7fd6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
194
+ /* primary (filled, brand-colour) buttons wear the CES blue gradient; other filled colours (red: destructive) stay flat */
195
+ .mantine-Button-root[data-variant='filled'][style*='--button-bg: var(--mantine-primary-color-filled)']:not(:disabled):not([data-disabled]) {
196
+ background: var(--accent-grad); }
197
+ .mantine-Button-root[data-variant='filled'][style*='--button-bg: var(--mantine-primary-color-filled)']:not(:disabled):not([data-disabled]):hover {
198
+ background: var(--accent-grad); filter: brightness(1.08); }
199
  .fpt-sb-brand-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
200
  .fpt-sb-brand-name small { font-weight: var(--fw-regular); font-size: var(--fs-xs); color: var(--label-2); letter-spacing: 0; margin-top: -1px; }
201
  .fpt-sb-top { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
web/src/components/shell/AppSidebar.tsx CHANGED
@@ -119,7 +119,7 @@ export function AppSidebar({ onNavigate }: { onNavigate?: () => void }) {
119
  <div className="fpt-sb-top">
120
  <div className="fpt-sb-brand" data-testid="brand">
121
  <img className="astra-logo" src="/astra-logo.png" alt="" height={30} />
122
- <span className="fpt-sb-brand-name" title={name}><b className="fpt-sb-name">{name}</b>{brand.data?.org_name ? <small>{brand.data.org_name}</small> : null}</span>
123
  </div>
124
  <EnvSwitcher />
125
  <nav className="fpt-sb-nav" aria-label="Pages">
 
119
  <div className="fpt-sb-top">
120
  <div className="fpt-sb-brand" data-testid="brand">
121
  <img className="astra-logo" src="/astra-logo.png" alt="" height={30} />
122
+ <span className="fpt-sb-brand-name" title={name}><b className="fpt-sb-name astra-wordmark">{name}</b>{brand.data?.org_name ? <small>{brand.data.org_name}</small> : null}</span>
123
  </div>
124
  <EnvSwitcher />
125
  <nav className="fpt-sb-nav" aria-label="Pages">
web/src/components/shell/TopNav.tsx CHANGED
@@ -37,7 +37,7 @@ export function TopNav() {
37
  <header className="pw-nav" aria-label="Main navigation">
38
  <Link to="/" className="pw-nav-brand" aria-label={`${name} home`} data-testid="brand">
39
  <img className="astra-logo" src="/astra-logo.png" alt="" height={28} />
40
- <span className="pw-nav-name">{name}<small>Oracle patch testing</small></span>
41
  </Link>
42
 
43
  <nav className="pw-nav-pill" aria-label="Pages">
 
37
  <header className="pw-nav" aria-label="Main navigation">
38
  <Link to="/" className="pw-nav-brand" aria-label={`${name} home`} data-testid="brand">
39
  <img className="astra-logo" src="/astra-logo.png" alt="" height={28} />
40
+ <span className="pw-nav-name"><b className="astra-wordmark">{name}</b><small>Oracle patch testing</small></span>
41
  </Link>
42
 
43
  <nav className="pw-nav-pill" aria-label="Pages">
web/src/components/shell/topnav.css CHANGED
@@ -28,9 +28,9 @@
28
  .pw-nav-warn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--red-soft); color: var(--red);
29
  font: 700 12px var(--font); }
30
  /* the environment: an ember-outlined pill, like Sheryians' "Request Call" */
31
- html body .pw-nav .fpt-env.pw-nav-env { width: auto; max-width: 260px; margin: 0; padding: 4px 12px 4px 6px; gap: 8px; border-radius: 999px; background: rgba(232, 96, 46, 0.08);
32
- box-shadow: inset 0 0 0 1px rgba(232, 96, 46, 0.55); }
33
- html body .pw-nav .fpt-env.pw-nav-env:hover { background: rgba(232, 96, 46, 0.16); }
34
  html body .pw-nav .fpt-env.pw-nav-env .fpt-env-tile { width: 24px; height: 24px; border-radius: 50%; }
35
  html body .pw-nav .fpt-env.pw-nav-env .fpt-env-label { line-height: 14px; }
36
  html body .pw-nav .fpt-me[data-compact] { width: 36px; height: 36px; padding: 0; justify-content: center; border: 0; background: transparent; border-radius: 50%; }
 
28
  .pw-nav-warn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--red-soft); color: var(--red);
29
  font: 700 12px var(--font); }
30
  /* the environment: an ember-outlined pill, like Sheryians' "Request Call" */
31
+ html body .pw-nav .fpt-env.pw-nav-env { width: auto; max-width: 260px; margin: 0; padding: 4px 12px 4px 6px; gap: 8px; border-radius: 999px; background: rgba(var(--ember-rgb), 0.08);
32
+ box-shadow: inset 0 0 0 1px rgba(var(--ember-rgb), 0.55); }
33
+ html body .pw-nav .fpt-env.pw-nav-env:hover { background: rgba(var(--ember-rgb), 0.16); }
34
  html body .pw-nav .fpt-env.pw-nav-env .fpt-env-tile { width: 24px; height: 24px; border-radius: 50%; }
35
  html body .pw-nav .fpt-env.pw-nav-env .fpt-env-label { line-height: 14px; }
36
  html body .pw-nav .fpt-me[data-compact] { width: 36px; height: 36px; padding: 0; justify-content: center; border: 0; background: transparent; border-radius: 50%; }
web/src/components/wensity/wensity.css CHANGED
@@ -3,5 +3,5 @@
3
  html:root, html:root[data-mantine-color-scheme] {
4
  --surface: var(--bg-elev);
5
  --surface-muted: var(--fill-2);
6
- --color-chili-500: var(--ember, #e8602e);
7
  }
 
3
  html:root, html:root[data-mantine-color-scheme] {
4
  --surface: var(--bg-elev);
5
  --surface-muted: var(--fill-2);
6
+ --color-chili-500: var(--ember, #1f6fc4);
7
  }
web/src/ember.css CHANGED
@@ -4,7 +4,7 @@
4
 
5
  html, body { background: var(--canvas); }
6
  html body { font-family: var(--font); color: var(--label); }
7
- ::selection { background: rgba(232, 96, 46, 0.32); color: var(--label); }
8
 
9
  /* ------------------------------------------------------------------ type */
10
  html body .trio-head h1, html body .trio-h1 { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 46px;
@@ -25,22 +25,22 @@ html body .rg-card, html body .fpt-stage, html body .rv-groups {
25
  border-radius: 16px; box-shadow: 0 0 0 1px var(--sep);
26
  }
27
  html body a.dsh-pin:hover, html body a.dsh-kpi:hover, html body .dsh-panel:hover {
28
- box-shadow: 0 0 0 1px rgba(232, 96, 46, 0.45), 0 18px 50px -24px rgba(232, 96, 46, 0.45);
29
  }
30
  html body .dsh-panel { transition: box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
31
  html body .mantine-Menu-dropdown, html body .mantine-Popover-dropdown, html body .mantine-Combobox-dropdown, html body .mantine-Modal-content, html body .mantine-Drawer-content {
32
  background: var(--menu-bg) !important; box-shadow: var(--menu-shadow) !important; }
33
- html body .mantine-Menu-item:hover, html body .mantine-Combobox-option:hover, html body .mantine-Combobox-option[data-combobox-selected] { background: rgba(232, 96, 46, 0.12); }
34
 
35
  /* ------------------------------------------------------------------ buttons */
36
  html body .mantine-Button-root { border-radius: 10px; font-family: var(--font); }
37
  html body .mantine-Button-root[data-variant='filled'] { background: var(--accent); border-color: var(--accent); color: #fff;
38
- box-shadow: inset 0 1px 0 var(--btn-sheen), 0 8px 24px -10px rgba(232, 96, 46, 0.7); }
39
  html body .mantine-Button-root[data-variant='filled']:hover { background: var(--accent-hover); }
40
  html body .mantine-Button-root[data-variant='default'], html body .mantine-Button-root[data-variant='outline'] {
41
  background: transparent; color: var(--label); border: 1px solid var(--sep-strong); box-shadow: none; }
42
  html body .mantine-Button-root[data-variant='default']:hover, html body .mantine-Button-root[data-variant='outline']:hover {
43
- border-color: rgba(232, 96, 46, 0.6); background: rgba(232, 96, 46, 0.08); }
44
  html body .mantine-Button-root[data-variant='subtle'], html body .mantine-Button-root[data-variant='light'] { color: var(--label-2); }
45
  html body .mantine-Button-root[data-variant='subtle']:hover, html body .mantine-Button-root[data-variant='light']:hover { color: var(--label); background: var(--fill); }
46
  html body .mantine-Button-root:disabled, html body .mantine-Button-root[data-disabled] { opacity: 0.45; box-shadow: none; }
@@ -49,19 +49,19 @@ html body .mantine-Button-root:disabled, html body .mantine-Button-root[data-dis
49
  html body .mantine-Input-input, html body .mantine-Select-input, html body .mantine-Textarea-input, html body .mantine-PasswordInput-input {
50
  background: var(--tint) !important; color: var(--label); box-shadow: inset 0 0 0 1px var(--sep-strong) !important; border: 0 !important; border-radius: 10px; }
51
  html body .mantine-Input-input:focus, html body .mantine-Input-input:focus-within, html body .mantine-PasswordInput-input:focus-within {
52
- box-shadow: inset 0 0 0 1px var(--ember), 0 0 0 3px rgba(232, 96, 46, 0.2) !important; }
53
  html body .mantine-Checkbox-input:checked, html body .mantine-Radio-radio:checked { background: var(--ember); border-color: var(--ember); }
54
 
55
  /* ------------------------------------------------------------------ tables */
56
  html body .mantine-Table-th, html body .pw-table th, html body .fpt-table th { background: var(--tint) !important; color: var(--label-3);
57
  font: 600 11.5px/16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
58
  html body .mantine-Table-td, html body .pw-table td { border-color: var(--row-line) !important; }
59
- html body .rg-row:hover > td, html body .lib-row:hover > td, html body a.dsh-tr:hover { background: rgba(232, 96, 46, 0.06); }
60
  html body .dsh-th { font: 600 11px/16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
61
 
62
  /* ------------------------------------------------------------------ status and chips */
63
  html body .pw-status, html body .dsh-pill { font-family: var(--font); }
64
- html body .fpt-filterchip[data-active='true'], html body .mantine-SegmentedControl-indicator { background: rgba(232, 96, 46, 0.16) !important; box-shadow: inset 0 0 0 1px rgba(232, 96, 46, 0.5) !important; }
65
  html body .fpt-filterchip[data-active='true'] { color: var(--label); }
66
 
67
  /* ------------------------------------------------------------------ Home: the hero and the numbers */
@@ -109,7 +109,7 @@ html body .pw-countup { font-variant-numeric: tabular-nums; }
109
  /* ------------------------------------------------------------------ polish: icon tiles, panel titles, empty states */
110
  html body .dsh-khead { display: flex; align-items: center; gap: 10px; }
111
  html body .dsh-ki { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; color: var(--ember);
112
- background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(232, 96, 46, 0.25); }
113
  html body .dsh-kpi { gap: 10px; padding: 18px 20px; }
114
  html body .dsh-v[data-tone] { font-size: 26px; line-height: 32px; }
115
  html body .dsh-ph h2 { display: inline-flex; align-items: center; gap: 10px; }
 
4
 
5
  html, body { background: var(--canvas); }
6
  html body { font-family: var(--font); color: var(--label); }
7
+ ::selection { background: rgba(var(--ember-rgb), 0.32); color: var(--label); }
8
 
9
  /* ------------------------------------------------------------------ type */
10
  html body .trio-head h1, html body .trio-h1 { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 46px;
 
25
  border-radius: 16px; box-shadow: 0 0 0 1px var(--sep);
26
  }
27
  html body a.dsh-pin:hover, html body a.dsh-kpi:hover, html body .dsh-panel:hover {
28
+ box-shadow: 0 0 0 1px rgba(var(--ember-rgb), 0.45), 0 18px 50px -24px rgba(var(--ember-rgb), 0.45);
29
  }
30
  html body .dsh-panel { transition: box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
31
  html body .mantine-Menu-dropdown, html body .mantine-Popover-dropdown, html body .mantine-Combobox-dropdown, html body .mantine-Modal-content, html body .mantine-Drawer-content {
32
  background: var(--menu-bg) !important; box-shadow: var(--menu-shadow) !important; }
33
+ html body .mantine-Menu-item:hover, html body .mantine-Combobox-option:hover, html body .mantine-Combobox-option[data-combobox-selected] { background: rgba(var(--ember-rgb), 0.12); }
34
 
35
  /* ------------------------------------------------------------------ buttons */
36
  html body .mantine-Button-root { border-radius: 10px; font-family: var(--font); }
37
  html body .mantine-Button-root[data-variant='filled'] { background: var(--accent); border-color: var(--accent); color: #fff;
38
+ box-shadow: inset 0 1px 0 var(--btn-sheen), 0 8px 24px -10px rgba(var(--ember-rgb), 0.7); }
39
  html body .mantine-Button-root[data-variant='filled']:hover { background: var(--accent-hover); }
40
  html body .mantine-Button-root[data-variant='default'], html body .mantine-Button-root[data-variant='outline'] {
41
  background: transparent; color: var(--label); border: 1px solid var(--sep-strong); box-shadow: none; }
42
  html body .mantine-Button-root[data-variant='default']:hover, html body .mantine-Button-root[data-variant='outline']:hover {
43
+ border-color: rgba(var(--ember-rgb), 0.6); background: rgba(var(--ember-rgb), 0.08); }
44
  html body .mantine-Button-root[data-variant='subtle'], html body .mantine-Button-root[data-variant='light'] { color: var(--label-2); }
45
  html body .mantine-Button-root[data-variant='subtle']:hover, html body .mantine-Button-root[data-variant='light']:hover { color: var(--label); background: var(--fill); }
46
  html body .mantine-Button-root:disabled, html body .mantine-Button-root[data-disabled] { opacity: 0.45; box-shadow: none; }
 
49
  html body .mantine-Input-input, html body .mantine-Select-input, html body .mantine-Textarea-input, html body .mantine-PasswordInput-input {
50
  background: var(--tint) !important; color: var(--label); box-shadow: inset 0 0 0 1px var(--sep-strong) !important; border: 0 !important; border-radius: 10px; }
51
  html body .mantine-Input-input:focus, html body .mantine-Input-input:focus-within, html body .mantine-PasswordInput-input:focus-within {
52
+ box-shadow: inset 0 0 0 1px var(--ember), 0 0 0 3px rgba(var(--ember-rgb), 0.2) !important; }
53
  html body .mantine-Checkbox-input:checked, html body .mantine-Radio-radio:checked { background: var(--ember); border-color: var(--ember); }
54
 
55
  /* ------------------------------------------------------------------ tables */
56
  html body .mantine-Table-th, html body .pw-table th, html body .fpt-table th { background: var(--tint) !important; color: var(--label-3);
57
  font: 600 11.5px/16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
58
  html body .mantine-Table-td, html body .pw-table td { border-color: var(--row-line) !important; }
59
+ html body .rg-row:hover > td, html body .lib-row:hover > td, html body a.dsh-tr:hover { background: rgba(var(--ember-rgb), 0.06); }
60
  html body .dsh-th { font: 600 11px/16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
61
 
62
  /* ------------------------------------------------------------------ status and chips */
63
  html body .pw-status, html body .dsh-pill { font-family: var(--font); }
64
+ html body .fpt-filterchip[data-active='true'], html body .mantine-SegmentedControl-indicator { background: rgba(var(--ember-rgb), 0.16) !important; box-shadow: inset 0 0 0 1px rgba(var(--ember-rgb), 0.5) !important; }
65
  html body .fpt-filterchip[data-active='true'] { color: var(--label); }
66
 
67
  /* ------------------------------------------------------------------ Home: the hero and the numbers */
 
109
  /* ------------------------------------------------------------------ polish: icon tiles, panel titles, empty states */
110
  html body .dsh-khead { display: flex; align-items: center; gap: 10px; }
111
  html body .dsh-ki { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; color: var(--ember);
112
+ background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(var(--ember-rgb), 0.25); }
113
  html body .dsh-kpi { gap: 10px; padding: 18px 20px; }
114
  html body .dsh-v[data-tone] { font-size: 26px; line-height: 32px; }
115
  html body .dsh-ph h2 { display: inline-flex; align-items: center; gap: 10px; }
web/src/pages/AuthShell.tsx CHANGED
@@ -25,7 +25,7 @@ export function AuthShell({ children, label, title, srTitle, sub }: {
25
  return (
26
  <div className="grid min-h-dvh grid-cols-1 bg-[var(--bg)] text-[var(--label)] lg:grid-cols-[minmax(0,1.15fr)_minmax(0,1fr)]">
27
  <section className="trio-force-dark relative hidden overflow-hidden bg-[#000] lg:flex" aria-label={`About ${name}`}>
28
- <div aria-hidden className="pointer-events-none absolute inset-0 bg-[radial-gradient(60%_55%_at_45%_30%,rgba(232,96,46,0.30),rgba(232,96,46,0.06)_50%,transparent_75%)]" />
29
  <Suspense fallback={null}>
30
  <ReleaseScene className="absolute bottom-[38%] left-[8%] right-[8%] top-[4%] opacity-90" />
31
  </Suspense>
@@ -33,13 +33,13 @@ export function AuthShell({ children, label, title, srTitle, sub }: {
33
  <div className="flex items-center gap-3">
34
  <BrandMark size={40} />
35
  <div className="leading-tight">
36
- <div className="text-lg font-semibold tracking-tight text-white">{name}</div>
37
  <div className="text-sm text-white/60">Oracle patch testing</div>
38
  </div>
39
  </div>
40
  <div className="max-w-[520px]">
41
  <p className="m-0 text-[48px] font-medium leading-[1.06] tracking-tight text-white" style={{ fontFamily: 'var(--font-display)' }}>
42
- Every Oracle update, tested before it <span className="text-[#e8602e]">goes live.</span>
43
  </p>
44
  <p className="m-0 mt-5 max-w-[460px] text-md leading-relaxed text-white/70">
45
  Three agents read the patch, test your business processes in a real browser and bring you the evidence.
@@ -47,7 +47,7 @@ export function AuthShell({ children, label, title, srTitle, sub }: {
47
  </p>
48
  <ul className="m-0 mt-8 flex list-none flex-wrap gap-2 p-0" aria-label="What it does">
49
  {['Monthly and quarterly updates', 'Real browser, real evidence', 'You stay in charge'].map((t) => (
50
- <li key={t} className="rounded-full border border-[#e8602e]/40 bg-[#e8602e]/[0.08] px-3 py-1.5 text-sm text-white/85">{t}</li>
51
  ))}
52
  </ul>
53
  </div>
@@ -58,7 +58,7 @@ export function AuthShell({ children, label, title, srTitle, sub }: {
58
  <div className="w-full max-w-[400px]">
59
  <div data-testid="brand" className="mb-8 flex items-center gap-3 lg:hidden">
60
  <BrandMark size={36} />
61
- <span className="text-lg font-semibold tracking-tight">{name}</span>
62
  </div>
63
  <h1 className="m-0 text-[28px] font-semibold leading-tight tracking-tight">
64
  {title}{srTitle && <span className="sr-only">{srTitle}</span>}
 
25
  return (
26
  <div className="grid min-h-dvh grid-cols-1 bg-[var(--bg)] text-[var(--label)] lg:grid-cols-[minmax(0,1.15fr)_minmax(0,1fr)]">
27
  <section className="trio-force-dark relative hidden overflow-hidden bg-[#000] lg:flex" aria-label={`About ${name}`}>
28
+ <div aria-hidden className="pointer-events-none absolute inset-0 bg-[radial-gradient(60%_55%_at_45%_30%,rgba(59,142,232,0.30),rgba(59,142,232,0.06)_50%,transparent_75%)]" />
29
  <Suspense fallback={null}>
30
  <ReleaseScene className="absolute bottom-[38%] left-[8%] right-[8%] top-[4%] opacity-90" />
31
  </Suspense>
 
33
  <div className="flex items-center gap-3">
34
  <BrandMark size={40} />
35
  <div className="leading-tight">
36
+ <div className="astra-wordmark text-lg text-white">{name}</div>
37
  <div className="text-sm text-white/60">Oracle patch testing</div>
38
  </div>
39
  </div>
40
  <div className="max-w-[520px]">
41
  <p className="m-0 text-[48px] font-medium leading-[1.06] tracking-tight text-white" style={{ fontFamily: 'var(--font-display)' }}>
42
+ Every Oracle update, tested before it <span className="astra-grad-text">goes live.</span>
43
  </p>
44
  <p className="m-0 mt-5 max-w-[460px] text-md leading-relaxed text-white/70">
45
  Three agents read the patch, test your business processes in a real browser and bring you the evidence.
 
47
  </p>
48
  <ul className="m-0 mt-8 flex list-none flex-wrap gap-2 p-0" aria-label="What it does">
49
  {['Monthly and quarterly updates', 'Real browser, real evidence', 'You stay in charge'].map((t) => (
50
+ <li key={t} className="rounded-full border border-[#3b8ee8]/40 bg-[#3b8ee8]/[0.08] px-3 py-1.5 text-sm text-white/85">{t}</li>
51
  ))}
52
  </ul>
53
  </div>
 
58
  <div className="w-full max-w-[400px]">
59
  <div data-testid="brand" className="mb-8 flex items-center gap-3 lg:hidden">
60
  <BrandMark size={36} />
61
+ <span className="astra-wordmark text-lg">{name}</span>
62
  </div>
63
  <h1 className="m-0 text-[28px] font-semibold leading-tight tracking-tight">
64
  {title}{srTitle && <span className="sr-only">{srTitle}</span>}
web/src/theme.ts CHANGED
@@ -1,8 +1,8 @@
1
  import { createTheme, type MantineColorsTuple } from '@mantine/core';
2
 
3
- // Astra, Ember (after Sheryians): Mantine's primary is the ember orange (checkboxes, switches, progress, steppers);
4
- // filled buttons take the deeper burnt orange from tokens.css (--mantine-primary-color-filled) so white text passes AA.
5
- const trio: MantineColorsTuple = ['#fff1eb', '#ffdccd', '#ffbb9c', '#ff9668', '#f5763f', '#e8602e', '#c4471a', '#a93b14', '#86300f', '#5e210a'];
6
  // Neutral ramp for Mantine's "dark" lookups; the real surfaces come from the CSS variables in apple.css.
7
  const dark: MantineColorsTuple = ['#f5f5f7', '#a1a1a6', '#8e8e93', '#6e6e73', '#48484a', '#3a3a3c', '#2a2a2d', '#1c1c1e', '#141416', '#0a0a0b'];
8
 
 
1
  import { createTheme, type MantineColorsTuple } from '@mantine/core';
2
 
3
+ // Astra: Mantine's primary is the CES blue of the logo (#0F467C) (checkboxes, switches, progress, steppers); filled
4
+ // buttons take the deeper blue and its gradient from tokens.css (--mantine-primary-color-filled, --accent-grad).
5
+ const trio: MantineColorsTuple = ['#e8f1fb', '#cfe1f6', '#a3c5ee', '#73a5e3', '#4a89d8', '#2a6fc0', '#1d5aa3', '#164a87', '#0f467c', '#0b2a4f'];
6
  // Neutral ramp for Mantine's "dark" lookups; the real surfaces come from the CSS variables in apple.css.
7
  const dark: MantineColorsTuple = ['#f5f5f7', '#a1a1a6', '#8e8e93', '#6e6e73', '#48484a', '#3a3a3c', '#2a2a2d', '#1c1c1e', '#141416', '#0a0a0b'];
8
 
web/src/tokens.css CHANGED
@@ -11,59 +11,62 @@
11
 
12
  /* ------------------------------------------------------------------ 1. colour */
13
  html:root, html:root[data-mantine-color-scheme='light'] {
14
- /* Ember light (after Sheryians' cream sections): a cream page, white cards, near-black text, the same orange */
15
- --bg: #fdf6f1; --bg-base: #fdf6f1; --bg-elev: #ffffff; --bg-elev-2: #fffaf7;
16
- --mat-sidebar: rgba(253, 246, 241, 0.96); --mat-bar: rgba(253, 246, 241, 0.82); --mat-pop: rgba(255, 255, 255, 0.98);
17
- --mat-sidebar-solid: #fdf6f1; --mat-bar-solid: #fdf6f1; --mat-pop-solid: #ffffff;
18
- --fill: rgba(20, 12, 8, 0.04); --fill-2: rgba(20, 12, 8, 0.07); --fill-3: rgba(20, 12, 8, 0.11);
19
- --sep: #efe2da; --sep-strong: #e2cfc3; --ring: rgba(0, 0, 0, 0.06);
20
- --scrim: rgba(20, 12, 8, 0.32); --hero-a: #1a0d07; --hero-b: #0a0a0a;
21
- --wash-a: rgba(255, 255, 255, 0.6); --wash-b: rgba(20, 12, 8, 0.04);
22
- --seg-thumb: #ffffff; --chrome-a: #f5ede8; --chrome-b: #ece2db; --chrome-url-bg: #ffffff; --chrome-url-fg: #6e6661;
23
- /* text: all AA on the cream page and on white cards */
24
- --label: #0b0b0b; --label-2: #4a4440; --label-3: #6e6661; --ph: #7a716b;
25
- --ember: #e8602e; --ember-deep: #c4471a;
26
- --accent: #c4471a; --accent-hover: #a93b14; --accent-press: #8f3211; --on-accent: #ffffff;
27
- --accent-text: #b43f15; --accent-soft: rgba(232, 96, 46, 0.10); --accent-soft-2: rgba(232, 96, 46, 0.18);
28
- --violet-strong: #e8602e; --rail: #0b0b0b; --rail-ink: #9a9a9a; --rail-on: #ffffff; --rail-on-bg: #1a1a1a;
29
- --pulse: rgba(232, 96, 46, 0.35); --focus: #c4471a; --focus-gap: #ffffff;
30
- --glow: radial-gradient(60% 70% at 50% 0%, rgba(232, 96, 46, 0.14), rgba(232, 96, 46, 0.04) 45%, transparent 75%);
 
 
31
  /* the few surfaces the Ember sheet paints: the canvas, the card sheen, tinted headers, row lines, menus */
32
- --canvas: #fdf6f1; --sheen-a: rgba(255, 255, 255, 0); --sheen-b: rgba(255, 255, 255, 0); --tint: rgba(20, 12, 8, 0.025);
33
- --row-line: rgba(20, 12, 8, 0.07); --menu-bg: #ffffff; --menu-shadow: 0 0 0 1px var(--sep-strong), 0 20px 50px rgba(20, 12, 8, 0.14);
34
  --btn-sheen: rgba(255, 255, 255, 0.22); --hero-ink: #0b0b0b;
35
- /* status: passed green, failed red, waiting amber, running blue (never the brand orange) */
36
  --green: #15803d; --green-soft: #e8f6ee; --green-dot: #22c55e;
37
  --orange: #8a5200; --orange-soft: #fdf1dc; --orange-dot: #f59e0b;
38
  --red: #b42318; --red-soft: #fdecea; --red-dot: #ef4444;
39
  --orange-line: var(--orange-dot); --red-line: var(--red-dot); --green-line: var(--green-dot);
40
  --blue: #1d4ed8; --blue-soft: rgba(59, 130, 246, 0.12); --violet: #5b33c9; --violet-soft: rgba(124, 77, 255, 0.14); --teal: #00756c; --teal-soft: rgba(0, 166, 153, 0.14);
41
- --status-pass: var(--green-dot); --status-fail: var(--red-dot); --status-wait: var(--orange-dot); --status-idle: #c9bdb4;
42
- --sh-card: 0 0 0 1px var(--sep), 0 1px 2px rgba(20, 12, 8, 0.04);
43
- --sh-pop: 0 0 0 1px rgba(20, 12, 8, 0.08), 0 2px 6px rgba(20, 12, 8, 0.08), 0 16px 48px rgba(20, 12, 8, 0.16);
44
- --sh-seg: 0 0.5px 1px rgba(20, 12, 8, 0.12), 0 2px 6px rgba(20, 12, 8, 0.08);
45
  --fpt-status-running: var(--blue);
46
  }
47
  html:root[data-mantine-color-scheme='dark'] {
48
- /* Ember (after Sheryians): a black canvas, cards one step up, a warm orange glow behind page heads */
49
  --bg: #050505; --bg-base: #000000; --bg-elev: #0e0e0e; --bg-elev-2: #151515;
50
  --mat-sidebar: rgba(0, 0, 0, 0.94); --mat-bar: rgba(0, 0, 0, 0.72); --mat-pop: rgba(20, 20, 20, 0.98);
51
  --mat-sidebar-solid: #000000; --mat-bar-solid: #050505; --mat-pop-solid: #141414;
52
  --fill: rgba(255, 255, 255, 0.05); --fill-2: rgba(255, 255, 255, 0.08); --fill-3: rgba(255, 255, 255, 0.12);
53
  --sep: rgba(255, 255, 255, 0.08); --sep-strong: rgba(255, 255, 255, 0.14); --ring: rgba(255, 255, 255, 0.06);
54
- --scrim: rgba(0, 0, 0, 0.7); --hero-a: #1a0d07; --hero-b: #0a0a0a; --wash-a: rgba(255, 255, 255, 0.04); --wash-b: rgba(255, 255, 255, 0.02);
55
  --seg-thumb: #1f1f1f; --chrome-a: #1a1a1a; --chrome-b: #141414; --chrome-url-bg: #0e0e0e; --chrome-url-fg: #9a9a9a;
56
  /* text: white, then two greys; all AA on the canvas and on cards */
57
  --label: #ffffff; --label-2: #b8b8b8; --label-3: #8f8f8f; --ph: #7a7a7a;
58
- /* ember: the bright orange marks (glows, rings, bars, the selected item); the deeper one fills primary buttons so white
59
- text on them passes AA (white on #E8602E would not) */
60
- --ember: #e8602e; --ember-deep: #c4471a;
61
- --accent: #c4471a; --accent-hover: #d4521f; --accent-press: #a93b14; --on-accent: #ffffff; --accent-text: #f28a5e;
62
- --accent-soft: rgba(232, 96, 46, 0.13); --accent-soft-2: rgba(232, 96, 46, 0.22); --pulse: rgba(232, 96, 46, 0.4);
63
- --violet-strong: #e8602e; --rail: #000000; --rail-ink: #9a9a9a; --rail-on: #ffffff; --rail-on-bg: #1a1a1a;
64
- --focus: #f28a5e; --focus-gap: #050505;
65
- --glow: radial-gradient(60% 70% at 50% 0%, rgba(232, 96, 46, 0.22), rgba(232, 96, 46, 0.06) 45%, transparent 75%);
66
- /* status: passed green, failed red, waiting amber, running a cool blue (never the brand orange) */
 
67
  --green: #52d48a; --green-soft: rgba(34, 197, 94, 0.12); --green-dot: #22c55e;
68
  --orange: #f5b45c; --orange-soft: rgba(245, 158, 11, 0.12); --orange-dot: #f59e0b;
69
  --red: #ff8a7a; --red-soft: rgba(239, 68, 68, 0.12); --red-dot: #ef4444;
 
11
 
12
  /* ------------------------------------------------------------------ 1. colour */
13
  html:root, html:root[data-mantine-color-scheme='light'] {
14
+ /* Astra light (CES blue, after the logo #0F467C): a cool white page, white cards, near-black text, the CES blue */
15
+ --bg: #f4f7fb; --bg-base: #f4f7fb; --bg-elev: #ffffff; --bg-elev-2: #f8fafd;
16
+ --mat-sidebar: rgba(244, 247, 251, 0.96); --mat-bar: rgba(244, 247, 251, 0.82); --mat-pop: rgba(255, 255, 255, 0.98);
17
+ --mat-sidebar-solid: #f4f7fb; --mat-bar-solid: #f4f7fb; --mat-pop-solid: #ffffff;
18
+ --fill: rgba(8, 20, 40, 0.04); --fill-2: rgba(8, 20, 40, 0.07); --fill-3: rgba(8, 20, 40, 0.11);
19
+ --sep: #dfe6ef; --sep-strong: #c9d4e2; --ring: rgba(0, 0, 0, 0.06);
20
+ --scrim: rgba(8, 20, 40, 0.32); --hero-a: #07121f; --hero-b: #0a0a0a;
21
+ --wash-a: rgba(255, 255, 255, 0.6); --wash-b: rgba(8, 20, 40, 0.04);
22
+ --seg-thumb: #ffffff; --chrome-a: #e9eef5; --chrome-b: #dfe6ef; --chrome-url-bg: #ffffff; --chrome-url-fg: #5f6b7a;
23
+ /* text: all AA on the page and on white cards */
24
+ --label: #0b0b0b; --label-2: #3f4752; --label-3: #5f6b7a; --ph: #6b7685;
25
+ /* ember (the old name of the brand mark colour): the CES blue; --ember-rgb for its translucent tints */
26
+ --ember: #1f6fc4; --ember-deep: #0f467c; --ember-rgb: 31, 111, 196;
27
+ --accent: #0f467c; --accent-hover: #0c3a68; --accent-press: #0a2f55; --on-accent: #ffffff;
28
+ --accent-text: #0f4f8f; --accent-soft: rgba(31, 111, 196, 0.10); --accent-soft-2: rgba(31, 111, 196, 0.18);
29
+ --accent-grad: linear-gradient(135deg, #1f6fc4 0%, #0f467c 100%);
30
+ --violet-strong: #1f6fc4; --rail: #0b0b0b; --rail-ink: #9a9a9a; --rail-on: #ffffff; --rail-on-bg: #1a1a1a;
31
+ --pulse: rgba(31, 111, 196, 0.35); --focus: #0f467c; --focus-gap: #ffffff;
32
+ --glow: radial-gradient(60% 70% at 50% 0%, rgba(31, 111, 196, 0.14), rgba(31, 111, 196, 0.04) 45%, transparent 75%);
33
  /* the few surfaces the Ember sheet paints: the canvas, the card sheen, tinted headers, row lines, menus */
34
+ --canvas: #f4f7fb; --sheen-a: rgba(255, 255, 255, 0); --sheen-b: rgba(255, 255, 255, 0); --tint: rgba(8, 20, 40, 0.025);
35
+ --row-line: rgba(8, 20, 40, 0.07); --menu-bg: #ffffff; --menu-shadow: 0 0 0 1px var(--sep-strong), 0 20px 50px rgba(8, 20, 40, 0.14);
36
  --btn-sheen: rgba(255, 255, 255, 0.22); --hero-ink: #0b0b0b;
37
+ /* status: passed green, failed red, waiting amber, running blue; they mean a state, never the brand */
38
  --green: #15803d; --green-soft: #e8f6ee; --green-dot: #22c55e;
39
  --orange: #8a5200; --orange-soft: #fdf1dc; --orange-dot: #f59e0b;
40
  --red: #b42318; --red-soft: #fdecea; --red-dot: #ef4444;
41
  --orange-line: var(--orange-dot); --red-line: var(--red-dot); --green-line: var(--green-dot);
42
  --blue: #1d4ed8; --blue-soft: rgba(59, 130, 246, 0.12); --violet: #5b33c9; --violet-soft: rgba(124, 77, 255, 0.14); --teal: #00756c; --teal-soft: rgba(0, 166, 153, 0.14);
43
+ --status-pass: var(--green-dot); --status-fail: var(--red-dot); --status-wait: var(--orange-dot); --status-idle: #b9c4d2;
44
+ --sh-card: 0 0 0 1px var(--sep), 0 1px 2px rgba(8, 20, 40, 0.04);
45
+ --sh-pop: 0 0 0 1px rgba(8, 20, 40, 0.08), 0 2px 6px rgba(8, 20, 40, 0.08), 0 16px 48px rgba(8, 20, 40, 0.16);
46
+ --sh-seg: 0 0.5px 1px rgba(8, 20, 40, 0.12), 0 2px 6px rgba(8, 20, 40, 0.08);
47
  --fpt-status-running: var(--blue);
48
  }
49
  html:root[data-mantine-color-scheme='dark'] {
50
+ /* Astra dark: a black canvas, cards one step up, a CES-blue glow behind page heads */
51
  --bg: #050505; --bg-base: #000000; --bg-elev: #0e0e0e; --bg-elev-2: #151515;
52
  --mat-sidebar: rgba(0, 0, 0, 0.94); --mat-bar: rgba(0, 0, 0, 0.72); --mat-pop: rgba(20, 20, 20, 0.98);
53
  --mat-sidebar-solid: #000000; --mat-bar-solid: #050505; --mat-pop-solid: #141414;
54
  --fill: rgba(255, 255, 255, 0.05); --fill-2: rgba(255, 255, 255, 0.08); --fill-3: rgba(255, 255, 255, 0.12);
55
  --sep: rgba(255, 255, 255, 0.08); --sep-strong: rgba(255, 255, 255, 0.14); --ring: rgba(255, 255, 255, 0.06);
56
+ --scrim: rgba(0, 0, 0, 0.7); --hero-a: #07121f; --hero-b: #0a0a0a; --wash-a: rgba(255, 255, 255, 0.04); --wash-b: rgba(255, 255, 255, 0.02);
57
  --seg-thumb: #1f1f1f; --chrome-a: #1a1a1a; --chrome-b: #141414; --chrome-url-bg: #0e0e0e; --chrome-url-fg: #9a9a9a;
58
  /* text: white, then two greys; all AA on the canvas and on cards */
59
  --label: #ffffff; --label-2: #b8b8b8; --label-3: #8f8f8f; --ph: #7a7a7a;
60
+ /* ember: the bright blue marks (glows, rings, bars, the selected item); the deeper one fills primary buttons so white
61
+ text on them passes AA; text in the accent is the light blue (AA on black) */
62
+ --ember: #3b8ee8; --ember-deep: #1a5aa3; --ember-rgb: 59, 142, 232;
63
+ --accent: #1d5fa8; --accent-hover: #2a6fc0; --accent-press: #164a87; --on-accent: #ffffff; --accent-text: #7fb3ef;
64
+ --accent-soft: rgba(59, 142, 232, 0.14); --accent-soft-2: rgba(59, 142, 232, 0.24); --pulse: rgba(59, 142, 232, 0.4);
65
+ --accent-grad: linear-gradient(135deg, #2f7fd6 0%, #14508f 100%);
66
+ --violet-strong: #3b8ee8; --rail: #000000; --rail-ink: #9a9a9a; --rail-on: #ffffff; --rail-on-bg: #1a1a1a;
67
+ --focus: #7fb3ef; --focus-gap: #050505;
68
+ --glow: radial-gradient(60% 70% at 50% 0%, rgba(59, 142, 232, 0.22), rgba(59, 142, 232, 0.06) 45%, transparent 75%);
69
+ /* status: passed green, failed red, waiting amber, running blue; they mean a state, never the brand */
70
  --green: #52d48a; --green-soft: rgba(34, 197, 94, 0.12); --green-dot: #22c55e;
71
  --orange: #f5b45c; --orange-soft: rgba(245, 158, 11, 0.12); --orange-dot: #f59e0b;
72
  --red: #ff8a7a; --red-soft: rgba(239, 68, 68, 0.12); --red-dot: #ef4444;