@eos-ui/tokens 0.5.2 → 0.5.3
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/generated/defaults.d.ts +1 -1
- package/dist/generated/defaults.js +3 -3
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/src/tokens.json +3 -3
|
@@ -14,7 +14,7 @@ export declare const defaults: {
|
|
|
14
14
|
readonly background: "#ffffff";
|
|
15
15
|
readonly surface: "#ffffff";
|
|
16
16
|
readonly "surface-tint": "#eaf4f8";
|
|
17
|
-
readonly "surface-hover": "color-mix(in srgb, var(--e-surface
|
|
17
|
+
readonly "surface-hover": "color-mix(in srgb, var(--e-surface), var(--e-ink) 9%)";
|
|
18
18
|
readonly ink: "#000000";
|
|
19
19
|
readonly "print-ink": "#000000";
|
|
20
20
|
readonly "print-paper": "#ffffff";
|
|
@@ -15,7 +15,7 @@ export const defaults = {
|
|
|
15
15
|
"background": "#ffffff",
|
|
16
16
|
"surface": "#ffffff",
|
|
17
17
|
"surface-tint": "#eaf4f8",
|
|
18
|
-
"surface-hover": "color-mix(in srgb, var(--e-surface
|
|
18
|
+
"surface-hover": "color-mix(in srgb, var(--e-surface), var(--e-ink) 9%)",
|
|
19
19
|
"ink": "#000000",
|
|
20
20
|
"print-ink": "#000000",
|
|
21
21
|
"print-paper": "#ffffff",
|
|
@@ -185,7 +185,7 @@ export const usage = {
|
|
|
185
185
|
"background": "The page ground: the colour behind everything, painted by the app shell and the page. White by default, the same as `surface`. The `background` input of `defineTheme` sets it; when only `surface` is given the page ground follows the surface.",
|
|
186
186
|
"surface": "What sits on the page: cards, fields, popovers, dialogs, panels and headers. Every screen starts on white. The `surface` input of `defineTheme` sets it, and with it derives `surface-tint`, the soft tone backdrops and, on a dark surface, the light action colours.",
|
|
187
187
|
"surface-tint": "The surface's second step: wells, hovered rows, table headers, footers, empty slots and the information tone's tint. Derived from `surface` by shifting its lightness 0.045 toward the foreground (0.06 the other way on a dark surface) in the brand hue (a neutral grey with `contrast: \"high\"`). About 1.1:1 against white, so never a boundary on its own.",
|
|
188
|
-
"surface-hover": "The hover tone for rows, items and
|
|
188
|
+
"surface-hover": "The hover tone for rows, items, tiles and fields that sit on `surface`: `surface` pulled 9% toward `ink`, a neutral step with no brand tint. The same fill as the selected nav item, so a hovered item and a selected one match. Follows a dark surface automatically.",
|
|
189
189
|
"ink": "Body copy, headings and icons on `surface`, `surface-tint`, `primary`, `secondary`, `danger` and the soft tints. Also the neutral chip colour. Set by the `foreground` input of `defineTheme`, which also drives `muted`, `border` and `border-strong`.",
|
|
190
190
|
"print-ink": "Text and rules when printing, whatever the theme: black.",
|
|
191
191
|
"print-paper": "The page and fills when printing, whatever the theme: white.",
|
|
@@ -259,7 +259,7 @@ export const derivedFrom = {
|
|
|
259
259
|
"background": "background,surface",
|
|
260
260
|
"surface": "surface",
|
|
261
261
|
"surface-tint": "surface,brand,contrast",
|
|
262
|
-
"surface-hover": "surface
|
|
262
|
+
"surface-hover": "surface,ink",
|
|
263
263
|
"ink": "foreground,surface",
|
|
264
264
|
"scrim": "surface,contrast",
|
|
265
265
|
"muted": "foreground,surface,contrast",
|
package/dist/tokens.css
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
--e-background: #ffffff;
|
|
18
18
|
--e-surface: #ffffff;
|
|
19
19
|
--e-surface-tint: #eaf4f8;
|
|
20
|
-
--e-surface-hover: color-mix(in srgb, var(--e-surface
|
|
20
|
+
--e-surface-hover: color-mix(in srgb, var(--e-surface), var(--e-ink) 9%);
|
|
21
21
|
--e-ink: #000000;
|
|
22
22
|
--e-print-ink: #000000;
|
|
23
23
|
--e-print-paper: #ffffff;
|
package/package.json
CHANGED
package/src/tokens.json
CHANGED
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"name": "surface-hover",
|
|
108
|
-
"value": "color-mix(in srgb, var(--e-surface
|
|
109
|
-
"usage": "The hover tone for rows, items and
|
|
110
|
-
"from": "surface
|
|
108
|
+
"value": "color-mix(in srgb, var(--e-surface), var(--e-ink) 9%)",
|
|
109
|
+
"usage": "The hover tone for rows, items, tiles and fields that sit on `surface`: `surface` pulled 9% toward `ink`, a neutral step with no brand tint. The same fill as the selected nav item, so a hovered item and a selected one match. Follows a dark surface automatically.",
|
|
110
|
+
"from": "surface,ink"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"name": "ink",
|