@fusion.dev/helix-theme 0.111.1 → 0.111.2
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/types.d.ts
CHANGED
|
@@ -108,9 +108,14 @@ export interface ThemeIntent {
|
|
|
108
108
|
scale?: number;
|
|
109
109
|
};
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
112
|
-
* Accessibility Act points at WCAG 2.1 AA, so 4.5 is the figure with
|
|
113
|
-
* weight and is the default.
|
|
111
|
+
* The least contrast any text may have. 4.5 is WCAG AA, 7 is AAA. The
|
|
112
|
+
* European Accessibility Act points at WCAG 2.1 AA, so 4.5 is the figure with
|
|
113
|
+
* legal weight and is the default.
|
|
114
|
+
*
|
|
115
|
+
* A floor, which the muted ink is solved to and every other text ink is
|
|
116
|
+
* measured against. Body text, `color-foreground`, is the strongest ink the
|
|
117
|
+
* neutral has whatever the target: black on a light page and white on a dark
|
|
118
|
+
* one, as the shipped stylesheet writes it.
|
|
114
119
|
*/
|
|
115
120
|
contrastTarget?: number;
|
|
116
121
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fusion.dev/helix-theme",
|
|
3
3
|
"description": "Theme derivation engine. Computes a complete, contrast-guaranteed token set from intent inputs.",
|
|
4
|
-
"version": "0.111.
|
|
4
|
+
"version": "0.111.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ross Sheppard <ross.sheppard@fusion.dev>",
|
|
7
7
|
"repository": {
|
|
Binary file
|