@rak200/ui 0.6.15 → 0.7.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/dist/index.d.ts CHANGED
@@ -8,7 +8,8 @@ export { UiMenu } from './menu.js';
8
8
  export { UiRadio, UiRadioGroup, type RadioOrientation } from './radio.js';
9
9
  export { UiOptgroup, UiOption, UiSelect } from './select.js';
10
10
  export { UiTable } from './table.js';
11
+ export { matrix, themeStyleSheet, type Theme } from './theme.js';
11
12
  export { UiToast, UiToaster, type ToastVariant } from './toast.js';
12
13
  export { UiTooltip } from './tooltip.js';
13
- export { tokens, derivedTokens, defaults, formulas, darkScheme, tokenStyleSheet, type Token, type DerivedToken, } from './tokens.js';
14
+ export { tokens, derivedTokens, defaults, formulas, darkScheme, moreContrast, tokenStyleSheet, type Token, type DerivedToken, } from './tokens.js';
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,OAAO,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EACV,YAAY,EACZ,eAAe,EACf,KAAK,KAAK,EACV,KAAK,YAAY,GACpB,MAAM,aAAa,CAAC"}
package/dist/index.js CHANGED
@@ -8,7 +8,8 @@ export { UiMenu } from './menu.js';
8
8
  export { UiRadio, UiRadioGroup } from './radio.js';
9
9
  export { UiOptgroup, UiOption, UiSelect } from './select.js';
10
10
  export { UiTable } from './table.js';
11
+ export { matrix, themeStyleSheet } from './theme.js';
11
12
  export { UiToast, UiToaster } from './toast.js';
12
13
  export { UiTooltip } from './tooltip.js';
13
- export { tokens, derivedTokens, defaults, formulas, darkScheme, tokenStyleSheet, } from './tokens.js';
14
+ export { tokens, derivedTokens, defaults, formulas, darkScheme, moreContrast, tokenStyleSheet, } from './tokens.js';
14
15
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAsB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAyB,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAqB,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACH,MAAM,EACN,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,eAAe,GAGlB,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAsB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAyB,MAAM,YAAY,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,eAAe,EAAc,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAqB,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EACH,MAAM,EACN,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,eAAe,GAGlB,MAAM,aAAa,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { type DerivedToken, type Token } from './tokens.js';
2
+ /** A name a theme may set: a ground, or a derived role it overrides. */
3
+ type Named = Token | DerivedToken;
4
+ /**
5
+ * A named set of decisions, as data, for {@link themeStyleSheet} to render.
6
+ *
7
+ * **The object `defaults`, `darkScheme` and `moreContrast` already are**, for a palette other
8
+ * than the default one — RFC 0003. Data first and CSS second, because a target that is not CSS
9
+ * reads the source rather than parsing a stylesheet back into values, which is what #24 records
10
+ * as the thing to avoid.
11
+ *
12
+ * A theme carries no `scheme`: no shipped theme declines one, and a theme that wanted one would
13
+ * gain an optional field, additively.
14
+ */
15
+ export interface Theme {
16
+ /** What `data-ui-theme` says to select it. */
17
+ readonly name: string;
18
+ /**
19
+ * What it sets, at its value in the light scheme or in both — as `defaults` is. A derived
20
+ * role belongs here only where the theme needs a different mix than the formula gives,
21
+ * and then the floors measure what it wrote.
22
+ */
23
+ readonly values: Readonly<Partial<Record<Named, string>>>;
24
+ /** The values that differ in the dark scheme, as `darkScheme` is. Colours only. */
25
+ readonly dark?: Readonly<Partial<Record<Named, string>>>;
26
+ /**
27
+ * Its answer to `prefers-contrast: more`, a light and a dark value per name, as
28
+ * `moreContrast` is.
29
+ */
30
+ readonly more?: Readonly<Partial<Record<Named, readonly [light: string, dark: string]>>>;
31
+ }
32
+ /**
33
+ * A theme as CSS: its block under `[data-ui-theme='…']`, and its answer to
34
+ * `prefers-contrast: more` after it.
35
+ *
36
+ * **Never emitted by `tokenStyleSheet()`**, so a host inserts the block for a theme it uses
37
+ * and pays for no theme it never selects. Selecting one stays the attribute.
38
+ *
39
+ * **The answer resets the states the default palette's answer writes and the theme's leaves
40
+ * out.** `tokenStyleSheet()` writes them under `more` at `:root`, and a value declared at
41
+ * `:root` reaches every subtree — so under a theme it would paint the default palette's greys
42
+ * over the theme's grounds. `initial` takes each back to its formula, which resolves against
43
+ * the theme's own grounds where it is used. A ground needs no reset: one the theme declares
44
+ * wins on its own element, and one it does not is the reader's setting, rightly inherited.
45
+ */
46
+ export declare function themeStyleSheet(theme: Theme): string;
47
+ /**
48
+ * Matrix: a terminal's green on near-black in the dark scheme, and the same idea on white in
49
+ * the light one — RFC 0003 built it in both and kept both.
50
+ *
51
+ * The dark scheme is the reference's wherever the floors allow it: its green on `#050505`,
52
+ * a monospace face, an 8px corner. On white that green is 1.37:1, so the text goes to a dark
53
+ * green and the accent to a middle one, which keeps the derived black label legible on it.
54
+ * Success is the theme's own green, where the default palette's would sit beside it as a
55
+ * second one, and info a terminal's brighter cyan; both clear the 4.5:1 every outcome does.
56
+ *
57
+ * **The glow is the elevation step, so no name is added for it**: the card, the menu, the
58
+ * toast and the tip already read `--ui-elevation-100`, and a glow is a shadow at no offset. A
59
+ * shadow is not a colour, so `light-dark()` cannot carry two of them — but the part of a glow
60
+ * that follows the scheme is its colour, and a colour inside a shadow can be `light-dark()`.
61
+ * The strength the prototype settled on, 1.8, is folded into the alphas.
62
+ *
63
+ * Under `prefers-contrast: more` the green stays on the accent and the text goes to its pole.
64
+ */
65
+ export declare const matrix: Theme;
66
+ export {};
67
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,YAAY,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzF,wEAAwE;AACxE,KAAK,KAAK,GAAG,KAAK,GAAG,YAAY,CAAC;AAElC;;;;;;;;;;GAUG;AACH,MAAM,WAAW,KAAK;IAClB,8CAA8C;IAC9C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC1D,mFAAmF;IACnF,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IACzD;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;CAC5F;AAOD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAmBpD;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,MAAM,EAAE,KAiCpB,CAAC"}
package/dist/theme.js ADDED
@@ -0,0 +1,85 @@
1
+ import { derivedTokens, moreContrast } from './tokens.js';
2
+ /** One declaration, a value with its dark one where it has one. */
3
+ function declare(name, light, dark) {
4
+ return ` ${name}: ${dark === undefined ? light : `light-dark(${light}, ${dark})`};`;
5
+ }
6
+ /**
7
+ * A theme as CSS: its block under `[data-ui-theme='…']`, and its answer to
8
+ * `prefers-contrast: more` after it.
9
+ *
10
+ * **Never emitted by `tokenStyleSheet()`**, so a host inserts the block for a theme it uses
11
+ * and pays for no theme it never selects. Selecting one stays the attribute.
12
+ *
13
+ * **The answer resets the states the default palette's answer writes and the theme's leaves
14
+ * out.** `tokenStyleSheet()` writes them under `more` at `:root`, and a value declared at
15
+ * `:root` reaches every subtree — so under a theme it would paint the default palette's greys
16
+ * over the theme's grounds. `initial` takes each back to its formula, which resolves against
17
+ * the theme's own grounds where it is used. A ground needs no reset: one the theme declares
18
+ * wins on its own element, and one it does not is the reader's setting, rightly inherited.
19
+ */
20
+ export function themeStyleSheet(theme) {
21
+ const selector = `[data-ui-theme='${theme.name}']`;
22
+ const values = Object.entries(theme.values).map(([name, light]) => declare(name, light, theme.dark?.[name]));
23
+ const answered = theme.more ?? {};
24
+ const resets = derivedTokens.filter((name) => name in moreContrast && !(name in answered) && !(name in theme.values));
25
+ const answer = [
26
+ ...Object.entries(answered).map(([name, [light, dark]]) => declare(name, light, dark)),
27
+ ...resets.map((name) => ` ${name}: initial;`),
28
+ ].map((line) => ` ${line}`);
29
+ return [
30
+ `${selector} {\n${values.join('\n')}\n}`,
31
+ `@media (prefers-contrast: more) {\n ${selector} {\n${answer.join('\n')}\n }\n}`,
32
+ ].join('\n\n');
33
+ }
34
+ /**
35
+ * Matrix: a terminal's green on near-black in the dark scheme, and the same idea on white in
36
+ * the light one — RFC 0003 built it in both and kept both.
37
+ *
38
+ * The dark scheme is the reference's wherever the floors allow it: its green on `#050505`,
39
+ * a monospace face, an 8px corner. On white that green is 1.37:1, so the text goes to a dark
40
+ * green and the accent to a middle one, which keeps the derived black label legible on it.
41
+ * Success is the theme's own green, where the default palette's would sit beside it as a
42
+ * second one, and info a terminal's brighter cyan; both clear the 4.5:1 every outcome does.
43
+ *
44
+ * **The glow is the elevation step, so no name is added for it**: the card, the menu, the
45
+ * toast and the tip already read `--ui-elevation-100`, and a glow is a shadow at no offset. A
46
+ * shadow is not a colour, so `light-dark()` cannot carry two of them — but the part of a glow
47
+ * that follows the scheme is its colour, and a colour inside a shadow can be `light-dark()`.
48
+ * The strength the prototype settled on, 1.8, is folded into the alphas.
49
+ *
50
+ * Under `prefers-contrast: more` the green stays on the accent and the text goes to its pole.
51
+ */
52
+ export const matrix = {
53
+ name: 'matrix',
54
+ values: {
55
+ '--ui-color-surface': '#ffffff',
56
+ '--ui-color-text': '#003b00',
57
+ '--ui-color-accent': '#008f11',
58
+ '--ui-color-focus': '#008f11',
59
+ '--ui-color-success': '#00850f',
60
+ '--ui-color-info': '#00778a',
61
+ '--ui-font': "'Courier New', Courier, ui-monospace, monospace",
62
+ '--ui-radius': '0.5rem',
63
+ // 18% and 30% of the text rather than the formula's 16% and 26%: a green text is
64
+ // far from neutral, and the formula's mix left the dark hover at 1.24:1 and the light
65
+ // pressed 1.24 past the hover, under the 1.25 both owe. Written as values, so they
66
+ // are data a target that is not CSS can read.
67
+ '--ui-color-hover': '#cfd9ce',
68
+ '--ui-color-pressed': '#b0c1ae',
69
+ '--ui-elevation-100': '0 0 0 1px light-dark(rgb(0 143 17 / 0.54), rgb(0 255 0 / 0.45)), 0 0 18px light-dark(rgb(0 143 17 / 0.45), rgb(0 255 0 / 0.54))',
70
+ },
71
+ dark: {
72
+ '--ui-color-surface': '#050505',
73
+ '--ui-color-text': '#00ff00',
74
+ '--ui-color-accent': '#00ff00',
75
+ '--ui-color-focus': '#ccffcc',
76
+ '--ui-color-success': '#00ff00',
77
+ '--ui-color-info': '#00e5ff',
78
+ '--ui-color-hover': '#11280f',
79
+ '--ui-color-pressed': '#174315',
80
+ },
81
+ more: {
82
+ '--ui-color-text': ['#000000', '#ffffff'],
83
+ },
84
+ };
85
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAiC,MAAM,aAAa,CAAC;AAkCzF,mEAAmE;AACnE,SAAS,OAAO,CAAC,IAAY,EAAE,KAAa,EAAE,IAAwB;IAClE,OAAO,KAAK,IAAI,KAAK,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,cAAc,KAAK,KAAK,IAAI,GAAG,GAAG,CAAC;AACzF,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,eAAe,CAAC,KAAY;IACxC,MAAM,QAAQ,GAAG,mBAAmB,KAAK,CAAC,IAAI,IAAI,CAAC;IACnD,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,CAC9D,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,IAAa,CAAC,CAAC,CACpD,CAAC;IAEF,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC;IAClC,MAAM,MAAM,GAAG,aAAa,CAAC,MAAM,CAC/B,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,IAAI,YAAY,IAAI,CAAC,CAAC,IAAI,IAAI,QAAQ,CAAC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E,SAAS;QAC9B,kBAAkB,EAAE,SAAS;QAC7B,oBAAoB,EAAE,SAAS;QAC/B,iBAAiB,EAAE,SAAS;QAC5B,kBAAkB,EAAE,SAAS;QAC7B,oBAAoB,EAAE,SAAS;KAClC;IACD,IAAI,EAAE;QACF,iBAAiB,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;KAC5C;CACJ,CAAC"}
package/dist/tokens.d.ts CHANGED
@@ -31,7 +31,7 @@
31
31
  * it does break is code that **enumerates** the set, an exhaustive `Record<Token, string>`
32
32
  * above all. The supported shape is the partial map, which is what a theme is anyway.
33
33
  */
34
- export declare const tokens: readonly ["--ui-color-accent", "--ui-color-accent-contrast", "--ui-color-surface", "--ui-color-text", "--ui-color-focus", "--ui-color-danger", "--ui-color-success", "--ui-color-warning", "--ui-color-info", "--ui-color-scrim", "--ui-radius", "--ui-space", "--ui-font", "--ui-duration-100", "--ui-easing-state", "--ui-easing-enter", "--ui-easing-exit", "--ui-icon-size", "--ui-icon-stroke", "--ui-elevation-100", "--ui-text-100"];
34
+ export declare const tokens: readonly ["--ui-color-accent", "--ui-color-surface", "--ui-color-text", "--ui-color-focus", "--ui-color-danger", "--ui-color-success", "--ui-color-warning", "--ui-color-info", "--ui-color-scrim", "--ui-radius", "--ui-space", "--ui-font", "--ui-duration-100", "--ui-easing-state", "--ui-easing-enter", "--ui-easing-exit", "--ui-icon-size", "--ui-icon-stroke", "--ui-elevation-100", "--ui-text-100"];
35
35
  /** A CSS custom property this package defines and gives a default. */
36
36
  export type Token = (typeof tokens)[number];
37
37
  /**
@@ -44,7 +44,7 @@ export type Token = (typeof tokens)[number];
44
44
  * what it buys is an override surface a host can hold in their head: change the accent and
45
45
  * the hover and pressed colours follow, rather than being one more name each.
46
46
  */
47
- export declare const derivedTokens: readonly ["--ui-duration-state", "--ui-color-border", "--ui-color-text-muted", "--ui-color-hover", "--ui-color-pressed", "--ui-color-accent-hover", "--ui-color-accent-pressed", "--ui-elevation-raised", "--ui-text-supporting", "--ui-color-surface-muted"];
47
+ export declare const derivedTokens: readonly ["--ui-duration-state", "--ui-color-border", "--ui-color-text-muted", "--ui-color-hover", "--ui-color-pressed", "--ui-color-accent-contrast", "--ui-color-accent-hover", "--ui-color-accent-pressed", "--ui-elevation-raised", "--ui-text-supporting", "--ui-color-surface-muted"];
48
48
  /** A CSS custom property this package computes rather than declares. */
49
49
  export type DerivedToken = (typeof derivedTokens)[number];
50
50
  /**
@@ -101,10 +101,35 @@ export declare const formulas: Readonly<Record<DerivedToken, string>>;
101
101
  * takes colours, so a dark value for `--ui-radius` would emit CSS the browser discards.
102
102
  */
103
103
  export declare const darkScheme: Readonly<Partial<Record<Token, string>>>;
104
+ /**
105
+ * The default palette's answer to `prefers-contrast: more`: each name it moves, with its
106
+ * light value and its dark one.
107
+ *
108
+ * **The reader's setting, answered in the token layer as reduced motion is, and not a
109
+ * theme** — RFC 0003. A host chooses a theme; a reader's system asks for contrast, and a
110
+ * reader who needs it should not depend on a host having shipped a picker.
111
+ *
112
+ * The text, the surface, the accent and the focus ring go to the poles, the dark scheme on
113
+ * pure black. The accent's label follows on its own, being the accent's pole, and so do the
114
+ * border and the muted text, which mix toward the text. The outcome colours stay where they
115
+ * were chosen, at 4.5:1: an error that turned grey would stop saying it is an error.
116
+ *
117
+ * **The states are written out, as values rather than formulas.** Over pure black a mix
118
+ * toward the text barely moves — 8% of white is 1.01:1 — and a black or white accent has
119
+ * no room to shade toward, so a palette this fully known gives its states. Each is set at
120
+ * the step the default palette's own states take: the hover 1.41:1 from the surface in
121
+ * light and 1.42 in dark, the pressed 1.28 and 1.36 past it. They are derived names, and a
122
+ * value declared at `:root` reaches every subtree below it, which a formula must never do
123
+ * and a value may.
124
+ *
125
+ * A pair rather than two maps, so a name cannot be given one scheme and forgotten in the
126
+ * other, and so an emitter that is not CSS reads two values rather than parsing a function.
127
+ */
128
+ export declare const moreContrast: Readonly<Partial<Record<Token | DerivedToken, readonly [light: string, dark: string]>>>;
104
129
  /**
105
130
  * The token defaults as a CSS rule, for a host that wants them without importing a
106
- * component. Returns the text of a `:root` block and the reduced-motion rule beside it; a
107
- * host inserts them however it prefers.
131
+ * component. Returns the text of a `:root` block, the reduced-motion rule beside it and the
132
+ * answer to `prefers-contrast: more` after both; a host inserts them however it prefers.
108
133
  *
109
134
  * **It declares `color-scheme` as well as the tokens, and that is deliberate.**
110
135
  * `color-scheme` is a real property rather than a custom one, so it can never be a token —
@@ -122,6 +147,9 @@ export declare const darkScheme: Readonly<Partial<Record<Token, string>>>;
122
147
  * declares is a literal rather than a formula. Without it, a host who tuned
123
148
  * `--ui-duration-state` would keep their motion through the collapse, and the setting
124
149
  * would be honoured for everyone except the people who had touched it.
150
+ *
151
+ * **More contrast is answered here too**, from {@link moreContrast} and for the same
152
+ * reason: it is the reader's setting, so no component should have to learn it exists.
125
153
  */
126
154
  export declare function tokenStyleSheet(): string;
127
155
  //# sourceMappingURL=tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM,6aAkHT,CAAC;AAEX,sEAAsE;AACtE,MAAM,MAAM,KAAK,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5C;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,+PA4ChB,CAAC;AAEX,wEAAwE;AACxE,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1D;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAmEpD,CAAC;AAqBF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM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AAM,CAAC,CAAC,CAAC,CAYhF,CAAC;AAKF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,eAAe,IAAI,MAAM,CA2BxC"}
package/dist/tokens.js CHANGED
@@ -33,7 +33,6 @@
33
33
  */
34
34
  export const tokens = [
35
35
  '--ui-color-accent',
36
- '--ui-color-accent-contrast',
37
36
  '--ui-color-surface',
38
37
  '--ui-color-text',
39
38
  '--ui-color-focus',
@@ -173,6 +172,10 @@ export const derivedTokens = [
173
172
  // control*, and the role this implements was named `accent hover / pressed`.
174
173
  '--ui-color-hover',
175
174
  '--ui-color-pressed',
175
+ // The text on the accent, derived from it so a host who moves the accent moves the
176
+ // label with it — RFC 0003. It was a ground until then, and a host's accent with the
177
+ // default label beside it was a pair nothing measured.
178
+ '--ui-color-accent-contrast',
176
179
  '--ui-color-accent-hover',
177
180
  '--ui-color-accent-pressed',
178
181
  // The purpose the elevation scale is read through, arriving with `ui-card`. `raised`
@@ -209,7 +212,6 @@ export const derivedTokens = [
209
212
  */
210
213
  export const defaults = {
211
214
  '--ui-color-accent': '#2563eb',
212
- '--ui-color-accent-contrast': '#ffffff',
213
215
  '--ui-color-surface': '#ffffff',
214
216
  '--ui-color-text': '#1f2937',
215
217
  // Amber-700 rather than the amber-500 this shipped with, and the change is a floor
@@ -292,6 +294,44 @@ function ground(name) {
292
294
  function mix(foreground, amount, background) {
293
295
  return `color-mix(in oklab, ${ground(foreground)} ${String(amount)}%, ${ground(background)})`;
294
296
  }
297
+ /**
298
+ * A ground's relative luminance, as relative colour syntax reads it: the WCAG weights over
299
+ * the linear channels. Written out wherever a formula needs it, because a CSS value has no
300
+ * variable of its own.
301
+ */
302
+ const luminance = '(0.2126 * r + 0.7152 * g + 0.0722 * b)';
303
+ /** 1 where `expression` is above zero and 0 where it is not — a step, as CSS can write one. */
304
+ function step(expression) {
305
+ return `clamp(0, (${expression}) * infinity, 1)`;
306
+ }
307
+ /**
308
+ * White or black, read off `name` by `channel`: the one number written into all three linear
309
+ * channels, so 1 is white and 0 is black, and nothing between is ever produced by a step.
310
+ */
311
+ function pole(name, channel) {
312
+ return `color(from ${ground(name)} srgb-linear ${channel} ${channel} ${channel})`;
313
+ }
314
+ /**
315
+ * The luminance where white and black stand equally far from a colour, 1.05 / (Y + 0.05)
316
+ * against (Y + 0.05) / 0.05. Under it white is the further pole, from it on black.
317
+ */
318
+ const crossover = 0.1791;
319
+ /**
320
+ * The pole the accent's states move toward. Away from the label while the label has little
321
+ * to spare, toward it once the label stands at 10:1 or more: lighten at or under 0.055 (a
322
+ * white label at 10:1 and up) or between the crossover and 0.45 (a black label under 10:1),
323
+ * darken otherwise.
324
+ *
325
+ * Away from the label always left a very light or a very dark accent no room to move, 697
326
+ * of 4096 under the 1.05 the suite asks; toward it always took the label under 4.5:1 on
327
+ * 1978. With the turn anywhere from 8.5:1 to 12:1 only black fails, its hover at 1.03 under
328
+ * every shape — measured for RFC 0003, and 10 sits in the middle.
329
+ */
330
+ const room = pole('--ui-color-accent', `clamp(0, ${step(`0.055 - ${luminance}`)} + ${step(`${luminance} - ${String(crossover)}`)} * ${step(`0.45 - ${luminance}`)}, 1)`);
331
+ /** `amount`% of the way from the accent toward the pole its states have room to move to. */
332
+ function shade(amount) {
333
+ return `color-mix(in oklab, ${room} ${String(amount)}%, ${ground('--ui-color-accent')})`;
334
+ }
295
335
  /**
296
336
  * How each derived role computes when the host has not set it.
297
337
  *
@@ -334,8 +374,15 @@ export const formulas = {
334
374
  // light, which is passing by rounding.
335
375
  '--ui-color-hover': mix('--ui-color-text', 16, '--ui-color-surface'),
336
376
  '--ui-color-pressed': mix('--ui-color-text', 26, '--ui-color-surface'),
337
- '--ui-color-accent-hover': mix('--ui-color-text', 12, '--ui-color-accent'),
338
- '--ui-color-accent-pressed': mix('--ui-color-text', 22, '--ui-color-accent'),
377
+ // The pole of the accent, white or black, whichever stands further from it: the label
378
+ // that reads on any accent a host picks, 0 of 4096 under 4.5:1. Black on the dark
379
+ // scheme's blue-400 at 8.26:1, where the ground it replaced was `#111827` at 6.98.
380
+ '--ui-color-accent-contrast': pole('--ui-color-accent', step(`${String(crossover)} - ${luminance}`)),
381
+ // Toward whichever pole has room rather than toward the text, which ran out of room on
382
+ // an accent already near it: the docblock on `room` carries the measurement. The light
383
+ // scheme's hover moves from `#255cd4` to `#1d52c6`, the pole being black there.
384
+ '--ui-color-accent-hover': shade(12),
385
+ '--ui-color-accent-pressed': shade(22),
339
386
  // 3.39:1 on the light surface and 3.96:1 on the dark one, against a floor of 3. The
340
387
  // step below clears neither — 45% is 2.94 in light, which is what a value chosen by
341
388
  // eye would have shipped.
@@ -383,10 +430,9 @@ export const formulas = {
383
430
  */
384
431
  export const darkScheme = {
385
432
  // Blue-400 over the dark surface rather than blue-600, which is legible on white and
386
- // muddy on charcoal. Its contrast pair is inverted with it: dark text on a light
387
- // accent is what reads at this end.
433
+ // muddy on charcoal. Its label needs no dark value: it is derived from the accent, so
434
+ // it goes to black at this end on its own.
388
435
  '--ui-color-accent': '#60a5fa',
389
- '--ui-color-accent-contrast': '#111827',
390
436
  '--ui-color-surface': '#111827',
391
437
  '--ui-color-text': '#e5e7eb',
392
438
  // Red-700 is 2.74:1 on the dark surface — under the 4.5:1 floor for text, and error
@@ -400,12 +446,48 @@ export const darkScheme = {
400
446
  // Cyan-400, inverted with the other three for the same reason: 9.82:1.
401
447
  '--ui-color-info': '#22d3ee',
402
448
  };
449
+ /**
450
+ * The default palette's answer to `prefers-contrast: more`: each name it moves, with its
451
+ * light value and its dark one.
452
+ *
453
+ * **The reader's setting, answered in the token layer as reduced motion is, and not a
454
+ * theme** — RFC 0003. A host chooses a theme; a reader's system asks for contrast, and a
455
+ * reader who needs it should not depend on a host having shipped a picker.
456
+ *
457
+ * The text, the surface, the accent and the focus ring go to the poles, the dark scheme on
458
+ * pure black. The accent's label follows on its own, being the accent's pole, and so do the
459
+ * border and the muted text, which mix toward the text. The outcome colours stay where they
460
+ * were chosen, at 4.5:1: an error that turned grey would stop saying it is an error.
461
+ *
462
+ * **The states are written out, as values rather than formulas.** Over pure black a mix
463
+ * toward the text barely moves — 8% of white is 1.01:1 — and a black or white accent has
464
+ * no room to shade toward, so a palette this fully known gives its states. Each is set at
465
+ * the step the default palette's own states take: the hover 1.41:1 from the surface in
466
+ * light and 1.42 in dark, the pressed 1.28 and 1.36 past it. They are derived names, and a
467
+ * value declared at `:root` reaches every subtree below it, which a formula must never do
468
+ * and a value may.
469
+ *
470
+ * A pair rather than two maps, so a name cannot be given one scheme and forgotten in the
471
+ * other, and so an emitter that is not CSS reads two values rather than parsing a function.
472
+ */
473
+ export const moreContrast = {
474
+ '--ui-color-accent': ['#000000', '#ffffff'],
475
+ '--ui-color-surface': ['#ffffff', '#000000'],
476
+ '--ui-color-text': ['#000000', '#ffffff'],
477
+ '--ui-color-focus': ['#000000', '#ffffff'],
478
+ '--ui-color-hover': ['#d9d9d9', '#282828'],
479
+ '--ui-color-pressed': ['#c1c1c1', '#3d3d3d'],
480
+ '--ui-color-accent-hover': ['#333333', '#d6d6d6'],
481
+ '--ui-color-accent-pressed': ['#4d4d4d', '#b3b3b3'],
482
+ // Under the hover, so a row under the pointer is still a change rather than a stripe.
483
+ '--ui-color-surface-muted': ['#f2f2f2', '#141414'],
484
+ };
403
485
  /** The category every duration name shares, which is what reduced motion collapses. */
404
486
  const duration = '--ui-duration-';
405
487
  /**
406
488
  * The token defaults as a CSS rule, for a host that wants them without importing a
407
- * component. Returns the text of a `:root` block and the reduced-motion rule beside it; a
408
- * host inserts them however it prefers.
489
+ * component. Returns the text of a `:root` block, the reduced-motion rule beside it and the
490
+ * answer to `prefers-contrast: more` after both; a host inserts them however it prefers.
409
491
  *
410
492
  * **It declares `color-scheme` as well as the tokens, and that is deliberate.**
411
493
  * `color-scheme` is a real property rather than a custom one, so it can never be a token —
@@ -423,6 +505,9 @@ const duration = '--ui-duration-';
423
505
  * declares is a literal rather than a formula. Without it, a host who tuned
424
506
  * `--ui-duration-state` would keep their motion through the collapse, and the setting
425
507
  * would be honoured for everyone except the people who had touched it.
508
+ *
509
+ * **More contrast is answered here too**, from {@link moreContrast} and for the same
510
+ * reason: it is the reader's setting, so no component should have to learn it exists.
426
511
  */
427
512
  export function tokenStyleSheet() {
428
513
  const grounds = tokens
@@ -439,9 +524,13 @@ export function tokenStyleSheet() {
439
524
  .filter((token) => token.startsWith(duration))
440
525
  .map((token) => ` ${token}: 0.01ms;`)
441
526
  .join('\n');
527
+ const contrasted = Object.entries(moreContrast)
528
+ .map(([token, [light, dark]]) => ` ${token}: light-dark(${light}, ${dark});`)
529
+ .join('\n');
442
530
  return [
443
531
  `:root {\n color-scheme: light dark;\n${grounds}\n}`,
444
532
  `@media (prefers-reduced-motion: reduce) {\n :root {\n${collapsed}\n }\n}`,
533
+ `@media (prefers-contrast: more) {\n :root {\n${contrasted}\n }\n}`,
445
534
  ].join('\n\n');
446
535
  }
447
536
  //# sourceMappingURL=tokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,mBAAmB;IACnB,4BAA4B;IAC5B,oBAAoB;IACpB,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;IACnB,qFAAqF;IACrF,uFAAuF;IACvF,mFAAmF;IACnF,cAAc;IACd,EAAE;IACF,oFAAoF;IACpF,+EAA+E;IAC/E,6EAA6E;IAC7E,oBAAoB;IACpB,oBAAoB;IACpB,mFAAmF;IACnF,mFAAmF;IACnF,mFAAmF;IACnF,yDAAyD;IACzD,iBAAiB;IACjB,oFAAoF;IACpF,mFAAmF;IACnF,kFAAkF;IAClF,iFAAiF;IACjF,oFAAoF;IACpF,wEAAwE;IACxE,EAAE;IACF,iFAAiF;IACjF,oFAAoF;IACpF,iFAAiF;IACjF,qFAAqF;IACrF,+EAA+E;IAC/E,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I,GAAG,GAAG,CAAC;IAC9G,CAAC,CAAC;SACD,IAAI,CAAC,IAAI,CAAC,CAAC;IAEhB,kFAAkF;IAClF,qFAAqF;IACrF,sFAAsF;IACtF,gFAAgF;IAChF,MAAM,SAAS,GAAG,CAAC,GAAG,MAAM,EAAE,GAAG,aAAa,CAAC;SAC1C,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;SAC7C,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,KAAK,WAAW,CAAC;SACvC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEhB,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC;SAC1C,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,KAAK,gBAAgB,KAAK,KAAK,IAAI,IAAI,CAAC;SAC/E,IAAI,CAAC,IAAI,CAAC,CAAC;IAEhB,OAAO;QACH,yCAAyC,OAAO,KAAK;QACrD,yDAAyD,SAAS,UAAU;QAC5E,iDAAiD,UAAU,UAAU;KACxE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rak200/ui",
3
- "version": "0.6.15",
3
+ "version": "0.7.1",
4
4
  "description": "Host-agnostic custom-element UI components for the rak200 ecosystem",
5
5
  "license": "MIT",
6
6
  "author": "rak200 <rak.ricardo@windowslive.com>",