eidotter 0.45.1 → 0.46.1
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/README.md +4 -4
- package/dist/components/Alert/components/Alert.js +1 -1
- package/dist/components/Badge/components/Badge.js +5 -5
- package/dist/components/Button/components/Button.js +8 -8
- package/dist/components/Chat/components/ChatHistory.js +1 -1
- package/dist/components/Chat/components/ChatInput.js +1 -1
- package/dist/components/Chat/components/ChatMessage.js +1 -1
- package/dist/components/Checkbox/components/Checkbox.js +1 -1
- package/dist/components/ChecklistRow/components/ChecklistRow.js +1 -1
- package/dist/components/CopyButton/components/CopyButton.js +1 -1
- package/dist/components/DecayStrip/components/DecayStrip.js +3 -3
- package/dist/components/DisplayMenu/components/DisplayMenu.d.ts +9 -6
- package/dist/components/DisplayMenu/components/DisplayMenu.js +71 -12
- package/dist/components/EmptyState/components/EmptyState.js +1 -1
- package/dist/components/Gauge/components/Gauge.js +4 -4
- package/dist/components/Header/components/Header.d.ts +8 -4
- package/dist/components/Header/components/Header.js +1 -1
- package/dist/components/Header/components/HeaderContextRow.js +1 -1
- package/dist/components/HeaderButton/components/HeaderButton.d.ts +38 -0
- package/dist/components/HeaderButton/components/HeaderButton.js +25 -0
- package/dist/components/HeaderButton/components/index.d.ts +2 -0
- package/dist/components/HeaderButton/components/index.js +1 -0
- package/dist/components/HeaderButton/index.d.ts +2 -0
- package/dist/components/HeaderButton/index.js +1 -0
- package/dist/components/LabeledProgress/components/LabeledProgress.js +1 -1
- package/dist/components/LedgerRow/components/LedgerRow.js +1 -1
- package/dist/components/Meter/components/Meter.js +3 -3
- package/dist/components/Notification/components/Notification.js +1 -1
- package/dist/components/PageShell/components/PageShell.d.ts +12 -6
- package/dist/components/PageShell/components/PageShell.js +7 -4
- package/dist/components/Progress/components/Progress.js +6 -5
- package/dist/components/RangeBar/components/RangeBar.js +3 -3
- package/dist/components/Select/components/Select.js +6 -6
- package/dist/components/SeriesBars/components/SeriesBars.js +3 -3
- package/dist/components/Stat/components/Stat.js +6 -6
- package/dist/components/Tag/components/Tag.js +5 -5
- package/dist/components/VitalsStrip/components/VitalsStrip.js +4 -4
- package/dist/components/registry.js +19 -1
- package/dist/eidotter.css +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.es.js +463 -308
- package/dist/index.umd.js +3 -3
- package/dist/utils/displayTheme.d.ts +53 -0
- package/dist/utils/displayTheme.js +76 -0
- package/guidelines/README.md +8 -0
- package/llms.txt +3 -3
- package/migrations/0.45.0.md +9 -5
- package/migrations/0.46.0.md +120 -0
- package/migrations/README.md +2 -0
- package/package.json +4 -4
- package/src/styles/shadcn.css +1 -1
- package/src/styles/theme.amber-mono.css +7 -7
- package/src/styles/theme.amber-paper.css +9 -9
- package/src/styles/theme.cga-amber.css +7 -7
- package/src/styles/theme.cga-mode4-p0.css +7 -7
- package/src/styles/theme.cga-mode4-p1.css +7 -7
- package/src/styles/theme.cga-mode5.css +7 -7
- package/src/styles/theme.light.css +7 -7
- package/src/styles/tokens.css +21 -21
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { DisplayMenuItem } from '../components/DisplayMenu/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Display themes a site offers (0.46). Values are eidotter theme names, set
|
|
4
|
+
* as `data-theme` on `<html>`. `dosDark` is required; the others are
|
|
5
|
+
* optional and decide which switches DisplayMenu shows:
|
|
6
|
+
* - DOS only (`dosDark` + `dosLight`): one LIGHT switch.
|
|
7
|
+
* - DOS + modern (`modernLight` and/or `modernDark`): a DOS switch (style)
|
|
8
|
+
* plus LIGHT (brightness). When modern has only one brightness, the LIGHT
|
|
9
|
+
* row is hidden in modern mode: options that do not apply are hidden, not
|
|
10
|
+
* shown disabled.
|
|
11
|
+
*/
|
|
12
|
+
export interface DisplayThemes {
|
|
13
|
+
/** DOS, dark screen. Default `'amber-mono'`. */
|
|
14
|
+
dosDark?: string;
|
|
15
|
+
/** DOS, light screen ("Eggyolk"). Default `'amber-paper'`; `null` for none. */
|
|
16
|
+
dosLight?: string | null;
|
|
17
|
+
/** Modern style, light. e.g. `'light'`. Omit for a DOS-only site. */
|
|
18
|
+
modernLight?: string | null;
|
|
19
|
+
/** Modern style, dark. Omit while no modern dark theme exists. */
|
|
20
|
+
modernDark?: string | null;
|
|
21
|
+
}
|
|
22
|
+
/** The two switches: style (DOS or modern) and brightness. */
|
|
23
|
+
export interface DisplayState {
|
|
24
|
+
/** DOS style on (false = modern). Ignored on a DOS-only site. */
|
|
25
|
+
dos: boolean;
|
|
26
|
+
/** Light screen on. */
|
|
27
|
+
light: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** Labels and hints for the rows; override to translate. */
|
|
30
|
+
export interface DisplayLabels {
|
|
31
|
+
dos?: string;
|
|
32
|
+
light?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The eidotter theme name for a display state. Set it as `data-theme` on
|
|
36
|
+
* `<html>`. A state the site cannot show falls back to what it can (modern
|
|
37
|
+
* with only a light theme is light whatever `light` says).
|
|
38
|
+
*/
|
|
39
|
+
export declare function resolveDisplayTheme(state: DisplayState, themes?: DisplayThemes): string;
|
|
40
|
+
/**
|
|
41
|
+
* The DisplayMenu rows for a site's themes, wired to its state. Pass the
|
|
42
|
+
* result as DisplayMenu `items`; `onChange` receives the next state.
|
|
43
|
+
*/
|
|
44
|
+
export declare function displayMenuItems(state: DisplayState, onChange: (next: DisplayState) => void, themes?: DisplayThemes, labels?: DisplayLabels): DisplayMenuItem[];
|
|
45
|
+
/**
|
|
46
|
+
* Point the browser chrome (the iPhone status bar, Android's toolbar) at the
|
|
47
|
+
* page's ground: writes `<meta name="theme-color">` from the current theme's
|
|
48
|
+
* `--color-semantic-background-primary`. Call it once on load and after
|
|
49
|
+
* every theme switch. Creates the meta in script on purpose: a meta rendered
|
|
50
|
+
* in JSX gets its content reset by React on re-render. Browser only; does
|
|
51
|
+
* nothing on the server.
|
|
52
|
+
*/
|
|
53
|
+
export declare function syncThemeColor(root?: HTMLElement): void;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
const DEFAULT_THEMES = { dosDark: 'amber-mono', dosLight: 'amber-paper' };
|
|
2
|
+
const DEFAULT_LABELS = {
|
|
3
|
+
dos: 'DOS',
|
|
4
|
+
light: 'Light',
|
|
5
|
+
};
|
|
6
|
+
function normalize(themes) {
|
|
7
|
+
return {
|
|
8
|
+
dosDark: themes.dosDark ?? DEFAULT_THEMES.dosDark,
|
|
9
|
+
dosLight: themes.dosLight === undefined ? DEFAULT_THEMES.dosLight : themes.dosLight,
|
|
10
|
+
modernLight: themes.modernLight ?? null,
|
|
11
|
+
modernDark: themes.modernDark ?? null,
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The eidotter theme name for a display state. Set it as `data-theme` on
|
|
16
|
+
* `<html>`. A state the site cannot show falls back to what it can (modern
|
|
17
|
+
* with only a light theme is light whatever `light` says).
|
|
18
|
+
*/
|
|
19
|
+
export function resolveDisplayTheme(state, themes = {}) {
|
|
20
|
+
const t = normalize(themes);
|
|
21
|
+
const hasModern = !!(t.modernLight || t.modernDark);
|
|
22
|
+
if (!hasModern || state.dos) {
|
|
23
|
+
return state.light && t.dosLight ? t.dosLight : t.dosDark;
|
|
24
|
+
}
|
|
25
|
+
if (t.modernLight && t.modernDark)
|
|
26
|
+
return state.light ? t.modernLight : t.modernDark;
|
|
27
|
+
return (t.modernLight ?? t.modernDark);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The DisplayMenu rows for a site's themes, wired to its state. Pass the
|
|
31
|
+
* result as DisplayMenu `items`; `onChange` receives the next state.
|
|
32
|
+
*/
|
|
33
|
+
export function displayMenuItems(state, onChange, themes = {}, labels = {}) {
|
|
34
|
+
const t = normalize(themes);
|
|
35
|
+
const l = { ...DEFAULT_LABELS, ...labels };
|
|
36
|
+
const hasModern = !!(t.modernLight || t.modernDark);
|
|
37
|
+
const items = [];
|
|
38
|
+
if (hasModern) {
|
|
39
|
+
items.push({ id: 'dos', label: l.dos, checked: state.dos, onChange: (dos) => onChange({ ...state, dos }) });
|
|
40
|
+
}
|
|
41
|
+
const inDos = !hasModern || state.dos;
|
|
42
|
+
const setLight = (light) => onChange({ ...state, light });
|
|
43
|
+
if (inDos) {
|
|
44
|
+
if (t.dosLight)
|
|
45
|
+
items.push({ id: 'light', label: l.light, checked: state.light, onChange: setLight });
|
|
46
|
+
}
|
|
47
|
+
else if (t.modernLight && t.modernDark) {
|
|
48
|
+
items.push({ id: 'light', label: l.light, checked: state.light, onChange: setLight });
|
|
49
|
+
}
|
|
50
|
+
// Modern with one brightness: no LIGHT row. Options that do not apply in
|
|
51
|
+
// the current mode are hidden, not shown disabled (eidotter rule, 0.46).
|
|
52
|
+
return items;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Point the browser chrome (the iPhone status bar, Android's toolbar) at the
|
|
56
|
+
* page's ground: writes `<meta name="theme-color">` from the current theme's
|
|
57
|
+
* `--color-semantic-background-primary`. Call it once on load and after
|
|
58
|
+
* every theme switch. Creates the meta in script on purpose: a meta rendered
|
|
59
|
+
* in JSX gets its content reset by React on re-render. Browser only; does
|
|
60
|
+
* nothing on the server.
|
|
61
|
+
*/
|
|
62
|
+
export function syncThemeColor(root) {
|
|
63
|
+
if (typeof document === 'undefined')
|
|
64
|
+
return;
|
|
65
|
+
const el = root ?? document.documentElement;
|
|
66
|
+
const color = getComputedStyle(el).getPropertyValue('--color-semantic-background-primary').trim();
|
|
67
|
+
if (!color)
|
|
68
|
+
return;
|
|
69
|
+
let meta = document.querySelector('meta[name="theme-color"]');
|
|
70
|
+
if (!meta) {
|
|
71
|
+
meta = document.createElement('meta');
|
|
72
|
+
meta.name = 'theme-color';
|
|
73
|
+
document.head.appendChild(meta);
|
|
74
|
+
}
|
|
75
|
+
meta.content = color;
|
|
76
|
+
}
|
package/guidelines/README.md
CHANGED
|
@@ -82,6 +82,14 @@ function App() {
|
|
|
82
82
|
<div style={{ background: '#020003', color: '#e5b936' }}>
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
+
## One body size
|
|
86
|
+
|
|
87
|
+
Every eidotter component renders its non-heading text at one size: 16px (`text-dos-text-base`, `--typography-font-size-text-base`). That covers labels, body copy, button, badge and tag text, select options, nav and MENU text, captions, hints, errors, legends, timeline labels and card text. Size props (`size="sm"`, `"lg"`, …) change height, padding and gap only; the text stays 16px at every size.
|
|
88
|
+
|
|
89
|
+
The only larger text is real headings (h1 to h6, such as `SectionHeading`, `PageSection` titles, `LegalPage` h1/h2) and display numbers (the values of `Stat`, `Gauge`, `VitalsStrip`). Terminal and CommandPrompt keep their bitmap sizing.
|
|
90
|
+
|
|
91
|
+
Under the DOS themes, keep it that way. eidotter cannot stop you overriding font sizes, but the one size is the standard the components ship with, and it is strongly recommended to leave it intact: no smaller captions, no larger buttons. Express hierarchy with colour, uppercase and spacing instead.
|
|
92
|
+
|
|
85
93
|
## Files in This Guide
|
|
86
94
|
|
|
87
95
|
- [components.md](./components.md) - When to use each component, props, examples
|
package/llms.txt
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> DOS-themed React component library with authentic CGA/amber phosphor aesthetics.
|
|
4
4
|
|
|
5
5
|
## Quick Facts
|
|
6
|
-
-
|
|
6
|
+
- 63 components (Accordion, AIText, Alert, Badge, Bench, Brand (Logo, Mark, Wordmark, BrandLockup), Breadcrumb, Button, CalendarHeatmap, Card, Chat (ChatMessage, ChatHistory, ChatInput, ChatContainer), Checkbox, ChecklistRow, CmdPalette, CommandPrompt, Connector, CopyButton, DecayStrip, DisplayMenu, DosDialog, DosFigure, DosWindow, EmptyState, FilterBar, Footer, Gauge, Header, HeaderButton, HoldToComplete, Icon, IconButton, InlineExpand, InlineLink, Input, LabeledProgress, LedgerRow, LegalPage, Lightbox, Meter (MeterGroup), Modal, Nav, Notification, PageShell (PageSection), Progress, ProgressRing, RangeBar, RetroEffects, SectionHeading, Select, Separator, SeriesBars, Skeleton, Stat, Switch, Tabs, Tag, Terminal, TextScramble, TimelineContainer, TimelineFeed, TimelineNode, TimelinePage, VitalsStrip)
|
|
7
7
|
- Amber theme is the default (amber-on-black phosphor CRT); a light theme ("amber in daylight") is in progress (DMNC-1058). Components paint via semantic roles so they re-theme — do not hardcode dark-only assumptions.
|
|
8
8
|
- CSS custom properties + Tailwind preset
|
|
9
9
|
- React 18/19, Tailwind 3/4 compatible
|
|
@@ -27,8 +27,8 @@ Apps default to the amber theme and offer the light theme via a consistent setti
|
|
|
27
27
|
|
|
28
28
|
## Upgrading
|
|
29
29
|
- Every minor with breaking/visible changes ships a guide at `node_modules/eidotter/migrations/<version>.md` (index: `migrations/README.md`).
|
|
30
|
-
- Read every guide between the installed and the target version, oldest first, and follow its checklist. Guides: `migrations/0.41.0.md`, `migrations/0.43.0.md`, `migrations/0.44.0.md`, `migrations/0.45.0.md`.
|
|
31
|
-
- 0.x caret gotcha: `^0.40.x` never resolves to 0.41.0; bump the range explicitly, to `^0.
|
|
30
|
+
- Read every guide between the installed and the target version, oldest first, and follow its checklist. Guides: `migrations/0.41.0.md`, `migrations/0.43.0.md`, `migrations/0.44.0.md`, `migrations/0.45.0.md`, `migrations/0.46.0.md`.
|
|
31
|
+
- 0.x caret gotcha: `^0.40.x` never resolves to 0.41.0; bump the range explicitly, to `^0.46.0`.
|
|
32
32
|
|
|
33
33
|
## Token Categories
|
|
34
34
|
- `--color-semantic-*`: USE THESE for components (background, text, border, status)
|
package/migrations/0.45.0.md
CHANGED
|
@@ -63,7 +63,7 @@ state and applies it (for example `data-theme` on `<html>`).
|
|
|
63
63
|
import { Header, DisplayMenu } from 'eidotter';
|
|
64
64
|
|
|
65
65
|
const [dos, setDos] = useState(true);
|
|
66
|
-
const [
|
|
66
|
+
const [light, setLight] = useState(false);
|
|
67
67
|
|
|
68
68
|
<Header
|
|
69
69
|
brandName="Example"
|
|
@@ -72,16 +72,20 @@ const [paper, setPaper] = useState(false);
|
|
|
72
72
|
<DisplayMenu
|
|
73
73
|
items={[
|
|
74
74
|
{ id: 'dos', label: 'DOS', checked: dos, onChange: setDos },
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
},
|
|
75
|
+
// Options that do not apply in the current mode are hidden, not
|
|
76
|
+
// shown disabled: LIGHT only while DOS is on.
|
|
77
|
+
...(dos ? [{ id: 'light', label: 'Light', checked: light, onChange: setLight }] : []),
|
|
79
78
|
]}
|
|
80
79
|
/>
|
|
81
80
|
}
|
|
82
81
|
/>
|
|
83
82
|
```
|
|
84
83
|
|
|
84
|
+
The labels are DOS (style) and LIGHT (brightness; under DOS it is the
|
|
85
|
+
`amber-paper` theme, nicknamed Eggyolk). A DOS-only site shows just LIGHT.
|
|
86
|
+
From 0.46, `displayMenuItems()` builds these rows from the themes a site
|
|
87
|
+
offers.
|
|
88
|
+
|
|
85
89
|
- `label` (default `'Display'`) names the button and the panel.
|
|
86
90
|
- `labelDisplay`: `'responsive'` (default, icon only below 640px), `'icon'`, `'label'`.
|
|
87
91
|
- `placement`: `'bottom end'` (default), `'bottom start'`, `'bottom'`. `defaultOpen` for docs.
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# Upgrading to eidotter 0.46.0
|
|
2
|
+
|
|
3
|
+
From 0.45.x. Coming from older versions, read the earlier guides first
|
|
4
|
+
([0.41.0](./0.41.0.md), [0.43.0](./0.43.0.md), [0.44.0](./0.44.0.md),
|
|
5
|
+
[0.45.0](./0.45.0.md)).
|
|
6
|
+
|
|
7
|
+
0.46.0 makes text one size, moves the page column to the left edge, and adds
|
|
8
|
+
the shared header control and theme helpers.
|
|
9
|
+
|
|
10
|
+
## Who must act
|
|
11
|
+
|
|
12
|
+
- Everyone: check pages after the bump; most components now set smaller text (section 2).
|
|
13
|
+
- Apps on `PageShell` or `Header contained`: the column is no longer centred (section 3).
|
|
14
|
+
- Apps with `sticky={false}` headers: the header now shows the page's ground (section 4).
|
|
15
|
+
- Apps with a theme switch or ⌘K hint in the header: move to `DisplayMenu` + `HeaderButton` + the theme helpers (section 5).
|
|
16
|
+
|
|
17
|
+
## 1. How to bump
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npm install eidotter@^0.46.0
|
|
21
|
+
npm ls eidotter # 0.46.0 or later
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Commit the lockfile.
|
|
25
|
+
|
|
26
|
+
## 2. Visible: one body size
|
|
27
|
+
|
|
28
|
+
**What changed.** All non-heading text in every component is 16px
|
|
29
|
+
(`text-dos-text-base`). It used to run 18 to 26px depending on component and
|
|
30
|
+
size: Button md was 22px, Badge and Tag 18 to 22px, Select options 20px, the
|
|
31
|
+
MENU trigger 20px, timeline cards 18 to 22px, health-family labels 18 to
|
|
32
|
+
22px. Size props (`size="lg"` and so on) now change only height, padding and
|
|
33
|
+
gap. Headings and display numbers (the values of Stat, Gauge and
|
|
34
|
+
VitalsStrip) keep their larger sizes. The DosDialog strip title (Modal,
|
|
35
|
+
Lightbox, CmdPalette) is 16px too, like the DosWindow strip. `Progress`
|
|
36
|
+
`size` no longer changes the bar, which is made of text glyphs.
|
|
37
|
+
|
|
38
|
+
**What to do.**
|
|
39
|
+
|
|
40
|
+
- Look at pages with buttons, badges, tags, forms and timelines. Things are
|
|
41
|
+
smaller and denser; that is the intended look.
|
|
42
|
+
- Do not set font sizes on eidotter components to get the old look back.
|
|
43
|
+
Under the DOS themes the one body size is the standard; keep it.
|
|
44
|
+
- Your own text: use `text-dos-text-base` for body text. The global
|
|
45
|
+
`.dos-body*` utility classes still carry the older sizes in 0.46.
|
|
46
|
+
|
|
47
|
+
**How to verify.** In dev tools, component text (outside headings and big
|
|
48
|
+
numbers) computes to 16px.
|
|
49
|
+
|
|
50
|
+
## 3. Visible: the page column is flush left
|
|
51
|
+
|
|
52
|
+
**What changed.** `PageShell`'s column starts at the left gutter instead of
|
|
53
|
+
being centred, and runs to a 1200px cap. Text inside (intro, paragraphs,
|
|
54
|
+
lists, section titles, an embedded LegalPage) keeps an 80-column measure
|
|
55
|
+
(45rem). Wide blocks (Bench, tables, galleries, card grids) may use the full
|
|
56
|
+
cap from the same left edge. `Header contained` follows: flush left, 1200px
|
|
57
|
+
cap. The layout is the same in every theme.
|
|
58
|
+
|
|
59
|
+
**What to do.**
|
|
60
|
+
|
|
61
|
+
- Nothing, if you use PageShell and `Header contained` as they are.
|
|
62
|
+
- Pages that centred their own column next to an eidotter header: drop the
|
|
63
|
+
`margin-inline: auto` so the content and the header share the left edge.
|
|
64
|
+
- `PageShell maxWidth` still sets the cap.
|
|
65
|
+
|
|
66
|
+
## 4. Visible: a non-sticky Header has no ground of its own
|
|
67
|
+
|
|
68
|
+
With `sticky={false}` the Header is transparent, so a CRT tint,
|
|
69
|
+
`RetroEffects` or the amber-paper ground shows through. A sticky Header keeps
|
|
70
|
+
its opaque ground so content scrolls under it. If a sticky header's ground
|
|
71
|
+
should match a tinted page, set that colour on it with a class.
|
|
72
|
+
|
|
73
|
+
## 5. New: HeaderButton and the display theme helpers
|
|
74
|
+
|
|
75
|
+
**HeaderButton** is the one shape for header controls (36px, 32px on phones).
|
|
76
|
+
DisplayMenu's trigger is one; use it for a ⌘K launcher so both match:
|
|
77
|
+
|
|
78
|
+
```tsx
|
|
79
|
+
import { HeaderButton } from 'eidotter';
|
|
80
|
+
|
|
81
|
+
<HeaderButton aria-label="Open command palette" onPress={() => setPaletteOpen(true)}>⌘K</HeaderButton>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Show the ⌘K launcher from 480px up: phones have no ⌘ key, and at 320px a
|
|
85
|
+
lockup brand, two controls and MENU do not fit.
|
|
86
|
+
|
|
87
|
+
**Theme helpers.** Labels are DOS (style: DOS or modern) and LIGHT
|
|
88
|
+
(brightness; under DOS it is the `amber-paper` theme). Options that do not
|
|
89
|
+
apply in the current mode are hidden, never shown disabled.
|
|
90
|
+
|
|
91
|
+
```tsx
|
|
92
|
+
import { DisplayMenu, displayMenuItems, resolveDisplayTheme, syncThemeColor } from 'eidotter';
|
|
93
|
+
|
|
94
|
+
const themes = { modernLight: 'light' }; // omit for a DOS-only site
|
|
95
|
+
const [state, setState] = useState({ dos: true, light: false });
|
|
96
|
+
|
|
97
|
+
useEffect(() => {
|
|
98
|
+
document.documentElement.dataset.theme = resolveDisplayTheme(state, themes);
|
|
99
|
+
syncThemeColor(); // phone status bar follows the theme
|
|
100
|
+
}, [state]);
|
|
101
|
+
|
|
102
|
+
<Header end={<DisplayMenu label="Theme" items={displayMenuItems(state, setState, themes)} />} … />
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Call `syncThemeColor()` on load and after every switch; never render the
|
|
106
|
+
`theme-color` meta in JSX (React resets its content on re-render).
|
|
107
|
+
|
|
108
|
+
## 6. amber-paper polish
|
|
109
|
+
|
|
110
|
+
Muted, secondary and tertiary text are deeper (8.3:1 on the ground). No glow
|
|
111
|
+
behind the Logo and Mark. Tabs rows scroll inside themselves when too wide.
|
|
112
|
+
DosWindow titles ellipsize inside narrow cards.
|
|
113
|
+
|
|
114
|
+
## Checklist
|
|
115
|
+
|
|
116
|
+
- [ ] `npm install eidotter@^0.46.0`; `npm ls eidotter` shows 0.46.0 or later. Commit the lockfile.
|
|
117
|
+
- [ ] Pages look right with the one body size; no font-size overrides on eidotter components (section 2).
|
|
118
|
+
- [ ] Content and header share the left edge; no centred columns of your own next to them (section 3).
|
|
119
|
+
- [ ] Non-sticky headers over tinted pages look right (section 4).
|
|
120
|
+
- [ ] Header controls: one `DisplayMenu` built with `displayMenuItems`, ⌘K as a `HeaderButton` from 480px up, `syncThemeColor()` on load and on every switch (section 5).
|
package/migrations/README.md
CHANGED
|
@@ -37,6 +37,7 @@ node_modules/eidotter/migrations/0.41.0.md
|
|
|
37
37
|
node_modules/eidotter/migrations/0.43.0.md
|
|
38
38
|
node_modules/eidotter/migrations/0.44.0.md
|
|
39
39
|
node_modules/eidotter/migrations/0.45.0.md
|
|
40
|
+
node_modules/eidotter/migrations/0.46.0.md
|
|
40
41
|
```
|
|
41
42
|
|
|
42
43
|
It is also exported, so tooling can resolve a guide by path:
|
|
@@ -50,3 +51,4 @@ It is also exported, so tooling can resolve a guide by path:
|
|
|
50
51
|
| [0.43.0](./0.43.0.md) | `Header` brand wraps instead of ellipsizing; adopt `PageShell`/`PageSection`, `Bench` and the opt-in `Header` `layout`/`rule`/`contained`/`brandCollapse` props |
|
|
51
52
|
| [0.44.0](./0.44.0.md) | Headings never AI-marked; `PageShell` inherits background and font; one-word Header brand never splits; `CmdPalette` cursor removed; adopt `LegalPage` `embedded` |
|
|
52
53
|
| [0.45.0](./0.45.0.md) | Header brand title never wraps (the icon drops first); `Switch` label colour follows the theme; adopt `DisplayMenu` as the one theme control |
|
|
54
|
+
| [0.46.0](./0.46.0.md) | One body size (16px) in every component; flush-left page column; non-sticky Header shows the page ground; adopt `HeaderButton` and the display theme helpers |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eidotter",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A DOS Themed Design System",
|
|
6
6
|
"main": "./dist/index.umd.js",
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"devDependencies": {
|
|
148
148
|
"@eslint/js": "^10.0.1",
|
|
149
149
|
"@figma/plugin-typings": "^1.142.0",
|
|
150
|
-
"@figma/rest-api-spec": "^0.
|
|
150
|
+
"@figma/rest-api-spec": "^0.46.0",
|
|
151
151
|
"@storybook/addon-a11y": "^10.2.7",
|
|
152
152
|
"@storybook/addon-designs": "^12.0.0",
|
|
153
153
|
"@storybook/addon-docs": "^10.2.7",
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"axe-playwright": "^2.2.2",
|
|
170
170
|
"chromatic": "^18.13.2",
|
|
171
171
|
"cross-env": "^10.1.0",
|
|
172
|
-
"dotenv": "^
|
|
172
|
+
"dotenv": "^18.0.9",
|
|
173
173
|
"eslint": "^10.13.0",
|
|
174
174
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
175
175
|
"figma-js": "^1.16.1-0",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"postcss": "^8.5.8",
|
|
183
183
|
"remark-gfm": "^4.0.1",
|
|
184
184
|
"storybook": "^10.2.7",
|
|
185
|
-
"style-dictionary": "5.
|
|
185
|
+
"style-dictionary": "5.7.0",
|
|
186
186
|
"tailwindcss": "^4.3.3",
|
|
187
187
|
"tailwindcss-react-aria-components": "^2.0.1",
|
|
188
188
|
"ts-jest": "^29.4.15",
|
package/src/styles/shadcn.css
CHANGED
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
--secondary: 42 100% 45%;
|
|
271
271
|
--secondary-foreground: 280 100% 1%;
|
|
272
272
|
--muted: 42 100% 45%;
|
|
273
|
-
--muted-foreground: 28
|
|
273
|
+
--muted-foreground: 28 78% 13%;
|
|
274
274
|
--accent: 280 100% 1%;
|
|
275
275
|
--accent-foreground: 41 100% 50%;
|
|
276
276
|
--destructive: 28 74% 21%;
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #ffb000; /** P3 phosphor amber (602nm) */
|
|
23
23
|
--color-cga-amber-bright: #fdca9f; /** P3 phosphor amber bright */
|
|
24
24
|
--color-cga-amber-dim: #9a5700; /** P3 phosphor amber dim */
|
|
25
|
-
--color-cga-amber-glow: rgba(255, 176, 0, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(255, 176, 0, 0.5019607843137255); /** Amber glow at 50% opacity */
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
--color-cga-amber-bright: #1a1000; /** Reverse video: hover/active peaks go darker, not lighter. */
|
|
24
24
|
--color-cga-amber-dim: #7a4500; /** Reverse video: dim amber becomes mid brown (4.3:1 on ground, 3.5:1 on shade). */
|
|
25
25
|
--color-cga-amber-glow: rgba(0, 0, 0, 0); /** Reverse video has no phosphor bloom: transparent, so raw amber-glow rules render nothing. */
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
--color-semantic-text-ai-gradient-from-light: #c0228a; /** AI-marker gradient start under light themes ([data-theme=light]/.light) — deep magenta, contrast on white. Static, brand-locked. Gradient-only; no Tailwind utility (DMNC-946). */
|
|
42
42
|
--color-semantic-text-ai-gradient-to-light: #7a3cc0; /** AI-marker gradient end under light themes — violet, contrast on white. Static, brand-locked. Gradient-only; no Tailwind utility (DMNC-946). */
|
|
43
43
|
--color-semantic-text-primary: #020003; /** Black ink body text (11.4:1 on ground). */
|
|
44
|
-
--color-semantic-text-secondary: #
|
|
44
|
+
--color-semantic-text-secondary: #3a1f07; /** DMNC-1494: visible de-emphasised tone on the amber ground (8.3:1; deepened from 5.8:1 in DMNC-1620, it read faint). For text on a black fill use text.onAccent. */
|
|
45
45
|
--color-semantic-text-on-accent: #ffb000; /** DMNC-1494: text/icon on an accent (black) fill, amber. */
|
|
46
46
|
--color-semantic-text-on-light: #020003; /** DMNC-1494: near-black text/icon for an unfilled element sitting on a light surface (e.g. Nav modern links); the amber ground is the light surface here (11.4:1 on ground, 9.4:1 on shade). */
|
|
47
47
|
--color-semantic-text-accent: #1a1000; /** Accent text, near-black ink (10.3:1 on ground). Reverse video: where the default accent is brighter than amber, here it is the darker peak; distinct from background.brand so the shadcn chart ramp stays five distinct colours (DMNC-1436). */
|
|
48
48
|
--color-semantic-text-disabled: #7a4500; /** Disabled text/icon, mid brown, at least 3:1 on ground and shade. */
|
|
49
|
-
--color-semantic-text-muted: #
|
|
50
|
-
--color-semantic-text-tertiary: #
|
|
49
|
+
--color-semantic-text-muted: #3a1f07; /** Muted supplementary text, dark brown (8.3:1 ground, 6.8:1 shade; deepened from 5.8:1 in DMNC-1620, it read faint). */
|
|
50
|
+
--color-semantic-text-tertiary: #3a1f07; /** Third-emphasis text, same as muted. */
|
|
51
51
|
--color-semantic-text-brand: #020003; /** Brand text, ink. */
|
|
52
52
|
--color-semantic-text-brand-bright: #1a1000; /** Brand emphasis text (hover/active peaks), near-black; reverse video peaks go darker. */
|
|
53
53
|
--color-semantic-text-on-brand: #ffb000; /** Text/icon on a black brand fill, amber. */
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #ffb000; /** P3 phosphor amber (602nm) */
|
|
23
23
|
--color-cga-amber-bright: #fdca9f; /** P3 phosphor amber bright */
|
|
24
24
|
--color-cga-amber-dim: #9a5700; /** P3 phosphor amber dim */
|
|
25
|
-
--color-cga-amber-glow: rgba(255, 176, 0, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(255, 176, 0, 0.5019607843137255); /** Amber glow at 50% opacity */
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #ffff00;
|
|
23
23
|
--color-cga-amber-bright: #ffff00;
|
|
24
24
|
--color-cga-amber-dim: #00ff00;
|
|
25
|
-
--color-cga-amber-glow: rgba(255, 255, 0, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(255, 255, 0, 0.5019607843137255);
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #00ffff;
|
|
23
23
|
--color-cga-amber-bright: #fffcf7;
|
|
24
24
|
--color-cga-amber-dim: #00ffff;
|
|
25
|
-
--color-cga-amber-glow: rgba(0, 255, 255, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(0, 255, 255, 0.5019607843137255);
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #00ffff;
|
|
23
23
|
--color-cga-amber-bright: #fffcf7;
|
|
24
24
|
--color-cga-amber-dim: #00ffff;
|
|
25
|
-
--color-cga-amber-glow: rgba(0, 255, 255, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(0, 255, 255, 0.5019607843137255);
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
--color-cga-amber: #ffb000; /** P3 phosphor amber (602nm) */
|
|
23
23
|
--color-cga-amber-bright: #fdca9f; /** P3 phosphor amber bright */
|
|
24
24
|
--color-cga-amber-dim: #9a5700; /** P3 phosphor amber dim */
|
|
25
|
-
--color-cga-amber-glow: rgba(255, 176, 0, 0.
|
|
26
|
-
--color-cga-red-glow: rgba(255, 85, 85, 0.
|
|
27
|
-
--color-cga-green-glow: rgba(85, 255, 85, 0.
|
|
28
|
-
--color-cga-cyan-glow: rgba(85, 255, 255, 0.
|
|
29
|
-
--color-cga-magenta-glow: rgba(255, 85, 255, 0.
|
|
30
|
-
--color-cga-blue-glow: rgba(85, 85, 255, 0.
|
|
31
|
-
--color-cga-white-glow: rgba(255, 245, 224, 0.
|
|
25
|
+
--color-cga-amber-glow: rgba(255, 176, 0, 0.5019607843137255); /** Amber glow at 50% opacity */
|
|
26
|
+
--color-cga-red-glow: rgba(255, 85, 85, 0.5019607843137255); /** Red glow at 50% opacity */
|
|
27
|
+
--color-cga-green-glow: rgba(85, 255, 85, 0.5019607843137255); /** Green glow at 50% opacity */
|
|
28
|
+
--color-cga-cyan-glow: rgba(85, 255, 255, 0.5019607843137255); /** Cyan glow at 50% opacity */
|
|
29
|
+
--color-cga-magenta-glow: rgba(255, 85, 255, 0.5019607843137255); /** Magenta glow at 50% opacity */
|
|
30
|
+
--color-cga-blue-glow: rgba(85, 85, 255, 0.5019607843137255); /** Blue glow at 50% opacity */
|
|
31
|
+
--color-cga-white-glow: rgba(255, 245, 224, 0.5019607843137255); /** Warm white glow at 50% opacity */
|
|
32
32
|
--color-cga-true-green: #00aa00; /** True CGA green — functional success / in-range. */
|
|
33
33
|
--color-cga-true-red: #aa0000; /** True CGA red — functional error / out-of-range. */
|
|
34
34
|
--color-cga-true-cyan: #00aaaa; /** True CGA cyan — functional info / sensor. */
|