@grafctory/skin 0.3.1 → 0.3.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/README.md +16 -3
- package/dist/index.css +6 -2
- package/dist/markup/forms.css +29 -28
- package/dist/markup/inlines.css +14 -16
- package/dist/markup/lists.css +6 -10
- package/dist/markup/tables.css +11 -2
- package/dist/tokens/borders.d.ts +9 -5
- package/dist/tokens/borders.d.ts.map +1 -1
- package/dist/tokens/borders.js +9 -5
- package/dist/tokens/borders.js.map +1 -1
- package/dist/tokens/colors.css +3 -2
- package/dist/tokens/colors.d.ts +3 -2
- package/dist/tokens/colors.d.ts.map +1 -1
- package/dist/tokens/colors.js +3 -2
- package/dist/tokens/colors.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
# @grafctory/skin
|
|
2
2
|
|
|
3
|
-
[![npm]
|
|
3
|
+
[![npm][npm-badge]][npm]
|
|
4
|
+
|
|
5
|
+
[npm-badge]: https://img.shields.io/npm/v/@grafctory/skin
|
|
6
|
+
[npm]: https://www.npmjs.com/package/@grafctory/skin
|
|
7
|
+
[grafctory]: https://github.com/grafctory
|
|
4
8
|
|
|
5
9
|
Essential design tokens and styles.
|
|
6
10
|
|
|
7
|
-
**@grafctory/skin** is
|
|
8
|
-
elevation and motion, and a base stylesheet that gives
|
|
11
|
+
**@grafctory/skin** is the design system module of the [Grafctory][grafctory] model-driven knowledge graph framework. It
|
|
12
|
+
offers clean, minimalist tokens for typography, spacing, colour, elevation and motion, and a base stylesheet that gives
|
|
13
|
+
plain document markup a coherent look in light and dark schemes:
|
|
9
14
|
|
|
10
15
|
- **Accessible Colours**: every colour role held to the WCAG 2.2 contrast minimums in both schemes by the test suite
|
|
11
16
|
- **Framework-Free**: plain CSS for plain document markup, with no components and no rendering framework
|
|
@@ -171,6 +176,12 @@ Running text wraps so that no lone word is left on its last line, and a heading
|
|
|
171
176
|
balanced, while text being typed keeps the platform wrapping. No token carries this choice: an app opting out writes
|
|
172
177
|
`text-wrap-style: auto` in an ordinary rule, which outranks the design system wherever it reaches the page.
|
|
173
178
|
|
|
179
|
+
Long addresses and identifiers never run past their column or scroll the page sideways. Running text breaks a word too
|
|
180
|
+
long for its line at the edge, and a code span longer than the line wraps within its own box. A column sized to its
|
|
181
|
+
content, as a count or a label is, keeps the width of its longest word. A table wider than its container scrolls
|
|
182
|
+
sideways within it and keeps every word in its cells whole. A component keeping a table header in view while the page
|
|
183
|
+
scrolls sets `display: table` and `overflow: visible` on the table, or the header sticks inside it.
|
|
184
|
+
|
|
174
185
|
### Other Tokens
|
|
175
186
|
|
|
176
187
|
Spacings, radii, elevations, palettes, motions and the other families are overridden the same way. Every token is listed
|
|
@@ -468,3 +479,5 @@ still finds and reads it, where the native `hidden` attribute would remove it fo
|
|
|
468
479
|
|
|
469
480
|
This project is licensed under the Apache 2.0 License –
|
|
470
481
|
see [LICENSE](https://github.com/grafctory/skin?tab=Apache-2.0-1-ov-file) file for details.
|
|
482
|
+
|
|
483
|
+
<sub>Grafctory™ is a trademark of Metreeca srl.</sub>
|
package/dist/index.css
CHANGED
|
@@ -63,11 +63,15 @@
|
|
|
63
63
|
line-height: var(--skin--line-height);
|
|
64
64
|
|
|
65
65
|
/*
|
|
66
|
-
* Running text of every kind, from a paragraph to a list item
|
|
67
|
-
*
|
|
66
|
+
* Running text of every kind, from a paragraph to a list item or a caption, inherits wrapping that keeps a lone
|
|
67
|
+
* word off its last line and breaks a word too long for the line where it meets the edge, so an address or an
|
|
68
|
+
* identifier never runs past its column, while a column sized to its content, as a count or a label is, keeps
|
|
69
|
+
* the width of its longest word rather than shrinking to a single character. Only the wrapping style and the
|
|
70
|
+
* breaking are set, never the mode, so a button label or a header cell kept on one line still stays on it.
|
|
68
71
|
*/
|
|
69
72
|
|
|
70
73
|
text-wrap-style: pretty;
|
|
74
|
+
overflow-wrap: break-word;
|
|
71
75
|
|
|
72
76
|
/* Greyscale antialiasing keeps macOS from emboldening text; other platforms ignore it. */
|
|
73
77
|
|
package/dist/markup/forms.css
CHANGED
|
@@ -22,24 +22,30 @@
|
|
|
22
22
|
* draws and no radius reaches, takes the platform ring instead, which follows those corners in the focus colour.
|
|
23
23
|
*
|
|
24
24
|
* The offset is stated wherever a mark is, the outline shorthand not carrying it. A control standing free is marked
|
|
25
|
-
* outside its edge
|
|
26
|
-
*
|
|
27
|
-
*
|
|
25
|
+
* outside its edge. A control enclosed by a border is marked just inside it, on the control's own ground, so the
|
|
26
|
+
* mark never escapes the box to be clipped or covered by a neighbour, and stands out from a grey border it would
|
|
27
|
+
* barely darken if drawn over it. A component filling a control solid moves the mark clear outside its edge, since
|
|
28
|
+
* the focus colour holds its contrast against the page and against no saturated fill.
|
|
29
|
+
*
|
|
30
|
+
* A field carries both states at once as soon as an invalid value is being typed into it. The failure is told by the
|
|
31
|
+
* edge and the focus by the ring within it, so neither mark hides the other while the field holds the keyboard.
|
|
28
32
|
*/
|
|
29
33
|
|
|
34
|
+
button, input, textarea, select {
|
|
35
|
+
|
|
36
|
+
&:focus-visible {
|
|
37
|
+
outline: var(--skin--outline-focus);
|
|
38
|
+
outline-offset: calc(-3 * var(--skin--border-width));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
|
|
30
43
|
/* A button and a menu are boxed as a field is, so the controls of a form line up as one row of equal edges. */
|
|
31
44
|
|
|
32
45
|
button, select {
|
|
33
|
-
|
|
34
46
|
padding: var(--skin--spacing-025) var(--skin--spacing-050);
|
|
35
47
|
border-style: var(--skin--border-style);
|
|
36
48
|
border-radius: var(--skin--border-radius-025);
|
|
37
|
-
|
|
38
|
-
&:focus-visible {
|
|
39
|
-
outline: var(--skin--outline-focus);
|
|
40
|
-
outline-offset: calc(-2 * var(--skin--border-width));
|
|
41
|
-
}
|
|
42
|
-
|
|
43
49
|
}
|
|
44
50
|
|
|
45
51
|
/* A value, typed, picked or worked out, reads in the text colour, whatever colour the text around it takes. */
|
|
@@ -82,25 +88,12 @@ input, textarea, select {
|
|
|
82
88
|
* A value is judged once the reader has had a say on it, so a required field left empty on arrival is not yet
|
|
83
89
|
* marked as failed. A field the app itself rejects, as a server does a value its rules refuse, says so through
|
|
84
90
|
* aria-invalid, which assistive technology announces as well, and is marked the same way from the moment it is
|
|
85
|
-
* set. The
|
|
91
|
+
* set. The field's own border takes the failure colour, so the failure reads as the edge of the field.
|
|
86
92
|
*/
|
|
87
93
|
|
|
88
94
|
&:user-invalid, &[aria-invalid="true"] {
|
|
89
95
|
color: var(--skin--color-fail);
|
|
90
|
-
|
|
91
|
-
outline-offset: calc(-1 * var(--skin--border-width));
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/*
|
|
95
|
-
* Both marks are outlines, and a field carries both states at once as soon as an invalid value is being typed
|
|
96
|
-
* into it, so the focus mark is written after the invalid one and takes the single outline on offer for as long
|
|
97
|
-
* as the field holds the keyboard. What the value is worth goes on being said in colour, which the focus mark
|
|
98
|
-
* leaves standing, and a menu holding a choice the app rejected follows the same order as a typed field does.
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
&:focus-visible {
|
|
102
|
-
outline: var(--skin--outline-focus);
|
|
103
|
-
outline-offset: calc(-2 * var(--skin--border-width));
|
|
96
|
+
border-color: var(--skin--color-fail);
|
|
104
97
|
}
|
|
105
98
|
|
|
106
99
|
}
|
|
@@ -228,19 +221,27 @@ input, textarea {
|
|
|
228
221
|
inline-size: var(--skin--scaling-100);
|
|
229
222
|
block-size: var(--skin--scaling-100);
|
|
230
223
|
|
|
231
|
-
|
|
224
|
+
/*
|
|
225
|
+
* The platform paints no border a failure could colour, so a failed box is ringed instead, held just clear
|
|
226
|
+
* of the box at the width the invalid outline token states. The focus ring takes its place while the box
|
|
227
|
+
* holds the keyboard, the one outline on offer going to the mark the reader is acting on.
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
&:is(:user-invalid, [aria-invalid="true"]) {
|
|
231
|
+
outline: var(--skin--outline-invalid);
|
|
232
232
|
outline-offset: var(--skin--border-width);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
/*
|
|
236
236
|
* The platform draws a box with corners of its own and drops any radius stated for it, so a drawn focus mark
|
|
237
237
|
* would square off around a rounded box. The mark takes the platform style instead, tracing the contour of the
|
|
238
|
-
* box in the focus colour at a width the browser settles
|
|
239
|
-
* box is still ringed at the width the invalid outline token states, held just clear of the box.
|
|
238
|
+
* box in the focus colour at a width the browser settles, just clear of the box.
|
|
240
239
|
*/
|
|
241
240
|
|
|
242
241
|
&:focus-visible {
|
|
242
|
+
outline: var(--skin--outline-focus);
|
|
243
243
|
outline-style: auto;
|
|
244
|
+
outline-offset: var(--skin--border-width);
|
|
244
245
|
}
|
|
245
246
|
|
|
246
247
|
}
|
package/dist/markup/inlines.css
CHANGED
|
@@ -71,23 +71,21 @@ code, kbd, samp {
|
|
|
71
71
|
font-family: var(--skin--font-family-mono);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
*/
|
|
83
|
-
|
|
84
|
-
&:where(:not(pre > code)) {
|
|
85
|
-
padding: var(--skin--spacing-010) var(--skin--spacing-025);
|
|
86
|
-
border-radius: var(--skin--border-radius-025);
|
|
87
|
-
background-color: color-mix(in oklab, currentColor 8%, transparent);
|
|
88
|
-
white-space: nowrap;
|
|
89
|
-
}
|
|
74
|
+
/*
|
|
75
|
+
* A code span names one thing, so it is read as one word and moves to the next line whole rather than folding at a
|
|
76
|
+
* hyphen or a space. Only a span longer than the line wraps, within a box of its own, so it never widens the column.
|
|
77
|
+
* The mono face alone is too close to the text face to set it apart, so the span sits on a tint of its own ink,
|
|
78
|
+
* padded just enough to clear the glyphs. The share is an optical nudge below the colour scale: mixed from the ink
|
|
79
|
+
* rather than from a surface token, it darkens whatever it lies on, keeping the span apart on striped rows in either
|
|
80
|
+
* theme. Code within a preformatted block is left to the block, which keeps its line breaks and its stripe.
|
|
81
|
+
*/
|
|
90
82
|
|
|
83
|
+
code:where(:not(pre > code)) {
|
|
84
|
+
display: inline-block;
|
|
85
|
+
max-width: 100%;
|
|
86
|
+
padding: var(--skin--spacing-010) var(--skin--spacing-025);
|
|
87
|
+
border-radius: var(--skin--border-radius-025);
|
|
88
|
+
background-color: color-mix(in oklab, currentColor 8%, transparent);
|
|
91
89
|
}
|
|
92
90
|
|
|
93
91
|
/*
|
package/dist/markup/lists.css
CHANGED
|
@@ -92,12 +92,8 @@ dl {
|
|
|
92
92
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
& > dd {
|
|
96
|
-
|
|
97
|
-
&:not(:last-child) {
|
|
98
|
-
margin-bottom: var(--skin--spacing-075);
|
|
99
|
-
}
|
|
100
|
-
|
|
95
|
+
& > dd:not(:last-child) {
|
|
96
|
+
margin-bottom: var(--skin--spacing-075);
|
|
101
97
|
}
|
|
102
98
|
|
|
103
99
|
}
|
|
@@ -136,6 +132,10 @@ nav {
|
|
|
136
132
|
margin-top: 0;
|
|
137
133
|
}
|
|
138
134
|
|
|
135
|
+
& ul ul {
|
|
136
|
+
padding-left: var(--skin--spacing-075);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
& li {
|
|
@@ -199,8 +199,4 @@ nav {
|
|
|
199
199
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
& ul ul ul {
|
|
203
|
-
padding-left: var(--skin--spacing-075);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
202
|
}
|
package/dist/markup/tables.css
CHANGED
|
@@ -15,11 +15,16 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
/*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* A table wider than its container scrolls sideways within it rather than widening the page or squeezing its cells. A
|
|
19
|
+
* component keeping its header in view while the page scrolls restores the table display and visible overflow, since a
|
|
20
|
+
* table scrolling on its own would hold the header within itself. Cells stand separate rather than collapsed, so each
|
|
21
|
+
* draws its own rule and a header cell kept in view carries the rule under it. A border is therefore stated on a cell:
|
|
22
|
+
* a row or a row group draws none of its own, so a border set on one is ignored.
|
|
20
23
|
*/
|
|
21
24
|
|
|
22
25
|
table {
|
|
26
|
+
display: block;
|
|
27
|
+
overflow-x: auto;
|
|
23
28
|
width: 100%;
|
|
24
29
|
max-width: 100%;
|
|
25
30
|
border-collapse: separate;
|
|
@@ -53,6 +58,10 @@ td {
|
|
|
53
58
|
vertical-align: top;
|
|
54
59
|
border-bottom-style: var(--skin--border-style);
|
|
55
60
|
|
|
61
|
+
/* A word in a cell is kept whole, so a long address scrolls the table rather than breaking in a narrow column. */
|
|
62
|
+
|
|
63
|
+
overflow-wrap: normal;
|
|
64
|
+
|
|
56
65
|
& > img {
|
|
57
66
|
margin: 0;
|
|
58
67
|
}
|
package/dist/tokens/borders.d.ts
CHANGED
|
@@ -22,11 +22,15 @@
|
|
|
22
22
|
* rule reads it, and assigning it through {@link index.css css} rounds that element alone.
|
|
23
23
|
*
|
|
24
24
|
* **Marks** — `outlineFocus` and `outlineInvalid` are whole `outline` shorthand values rather than colours, so a rule
|
|
25
|
-
* states the mark in one declaration and an app retuning the anchors carries it along.
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
25
|
+
* states the mark in one declaration and an app retuning the anchors carries it along. The shorthand leaves out
|
|
26
|
+
* `outline-offset`, so a rule setting either mark states the offset too. They pair with the {@link colors `colorFocus`}
|
|
27
|
+
* and {@link colors `colorFail`} roles, which a consumer reaches for where it paints the mark itself.
|
|
28
|
+
*
|
|
29
|
+
* A field shows a failure by painting its own edge in `colorFail`, so the failure and the focus ring show together.
|
|
30
|
+
* `outlineInvalid` is for a control with no edge to colour, such as a checkbox or a radio button, and gives way to the
|
|
31
|
+
* focus ring while the control has the keyboard. The focus ring holds 3:1 neither against a fill in
|
|
32
|
+
* {@link colors `colorStrong`} nor against the edge of a field. A rule ringing a field draws it just inside the edge,
|
|
33
|
+
* and a rule ringing a filled control offsets it outside by the line width, where it holds 3:1 against the page.
|
|
30
34
|
*
|
|
31
35
|
* **Strokes** — `strokeWidth` is a bare number in viewport user units, so a glyph keeps its weight at any size.
|
|
32
36
|
* `strokeWidthStrong` is the stroke counterpart of {@link typography `fontWeightStrong`}: a glyph set beside strong
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"borders.d.ts","sourceRoot":"","sources":["../../src/tokens/borders.ts"],"names":[],"mappings":"AAgBA
|
|
1
|
+
{"version":3,"file":"borders.d.ts","sourceRoot":"","sources":["../../src/tokens/borders.ts"],"names":[],"mappings":"AAgBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAGH;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;CAmBV,CAAC"}
|
package/dist/tokens/borders.js
CHANGED
|
@@ -37,11 +37,15 @@
|
|
|
37
37
|
* rule reads it, and assigning it through {@link index.css css} rounds that element alone.
|
|
38
38
|
*
|
|
39
39
|
* **Marks** — `outlineFocus` and `outlineInvalid` are whole `outline` shorthand values rather than colours, so a rule
|
|
40
|
-
* states the mark in one declaration and an app retuning the anchors carries it along.
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
40
|
+
* states the mark in one declaration and an app retuning the anchors carries it along. The shorthand leaves out
|
|
41
|
+
* `outline-offset`, so a rule setting either mark states the offset too. They pair with the {@link colors `colorFocus`}
|
|
42
|
+
* and {@link colors `colorFail`} roles, which a consumer reaches for where it paints the mark itself.
|
|
43
|
+
*
|
|
44
|
+
* A field shows a failure by painting its own edge in `colorFail`, so the failure and the focus ring show together.
|
|
45
|
+
* `outlineInvalid` is for a control with no edge to colour, such as a checkbox or a radio button, and gives way to the
|
|
46
|
+
* focus ring while the control has the keyboard. The focus ring holds 3:1 neither against a fill in
|
|
47
|
+
* {@link colors `colorStrong`} nor against the edge of a field. A rule ringing a field draws it just inside the edge,
|
|
48
|
+
* and a rule ringing a filled control offsets it outside by the line width, where it holds 3:1 against the page.
|
|
45
49
|
*
|
|
46
50
|
* **Strokes** — `strokeWidth` is a bare number in viewport user units, so a glyph keeps its weight at any size.
|
|
47
51
|
* `strokeWidthStrong` is the stroke counterpart of {@link typography `fontWeightStrong`}: a glyph set beside strong
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"borders.js","sourceRoot":"","sources":["../../src/tokens/borders.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH
|
|
1
|
+
{"version":3,"file":"borders.js","sourceRoot":"","sources":["../../src/tokens/borders.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAGH;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IAEtB,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,sBAAsB;IACnC,gBAAgB,EAAE,4BAA4B;IAC9C,WAAW,EAAE,sBAAsB;IAEnC,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,2BAA2B;IAE5C,YAAY,EAAE,uBAAuB;IACrC,YAAY,EAAE,uBAAuB;IACrC,cAAc,EAAE,yBAAyB;IAEzC,WAAW,EAAE,sBAAsB;IACnC,iBAAiB,EAAE,6BAA6B;CAEvC,CAAC"}
|
package/dist/tokens/colors.css
CHANGED
|
@@ -417,8 +417,9 @@
|
|
|
417
417
|
* is stated per scheme with the anchors instead: it holds a value of its own that a rebrand leaves standing, and
|
|
418
418
|
* holds 3:1 on every surface it is drawn against, the tightest being the pressed tint at 3.37:1 in the light
|
|
419
419
|
* scheme and 3.27:1 in the dark one, against 3.98:1 and 4.02:1 on the page. No grey holds against a solid fill,
|
|
420
|
-
* an accent or a step of the meaning scale alike,
|
|
421
|
-
*
|
|
420
|
+
* an accent or a step of the meaning scale alike, nor stands out from the grey edge of a field. The base controls
|
|
421
|
+
* draw the ring just inside that edge, on their own ground, and a component filling a control solid offsets it
|
|
422
|
+
* outside the fill by the line width, against the page, where it holds the figures stated above.
|
|
422
423
|
*/
|
|
423
424
|
|
|
424
425
|
--skin--background-color-edit: color-mix(in oklab, var(--skin--background-color) 98%, var(--skin--color));
|
package/dist/tokens/colors.d.ts
CHANGED
|
@@ -99,8 +99,9 @@
|
|
|
99
99
|
*
|
|
100
100
|
* `colorFocus` carries a value of its own per colour scheme, so that where the keyboard stands is told the same way
|
|
101
101
|
* whatever an app brands with. It holds 3:1 on every surface and tint a ring is drawn against, a pressed fill
|
|
102
|
-
* included, but against no solid fill, whether an accent or a step of the meaning scale
|
|
103
|
-
* takes its ring
|
|
102
|
+
* included, but against no solid fill, whether an accent or a step of the meaning scale, and it barely differs from
|
|
103
|
+
* the grey edge of a field. A field takes its ring just inside that edge, on its own ground, and a control filled
|
|
104
|
+
* solid takes it outside the fill, offset by the line width, where it holds 3:1 against the page.
|
|
104
105
|
*
|
|
105
106
|
* **Filled caution** — `colorOver` is what text takes over a fill painted in `colorWarn`: the page background, white
|
|
106
107
|
* over the light gold and dark over the dark one. It is not the text over any other step: a fill painted in
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAgBA
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAgBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HG;AAGH;;;;GAIG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDT,CAAC"}
|
package/dist/tokens/colors.js
CHANGED
|
@@ -114,8 +114,9 @@
|
|
|
114
114
|
*
|
|
115
115
|
* `colorFocus` carries a value of its own per colour scheme, so that where the keyboard stands is told the same way
|
|
116
116
|
* whatever an app brands with. It holds 3:1 on every surface and tint a ring is drawn against, a pressed fill
|
|
117
|
-
* included, but against no solid fill, whether an accent or a step of the meaning scale
|
|
118
|
-
* takes its ring
|
|
117
|
+
* included, but against no solid fill, whether an accent or a step of the meaning scale, and it barely differs from
|
|
118
|
+
* the grey edge of a field. A field takes its ring just inside that edge, on its own ground, and a control filled
|
|
119
|
+
* solid takes it outside the fill, offset by the line width, where it holds 3:1 against the page.
|
|
119
120
|
*
|
|
120
121
|
* **Filled caution** — `colorOver` is what text takes over a fill painted in `colorWarn`: the page background, white
|
|
121
122
|
* over the light gold and dark over the dark one. It is not the text over any other step: a fill painted in
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH
|
|
1
|
+
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../src/tokens/colors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6HG;AAGH;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IAErB,KAAK,EAAE,eAAe;IACtB,eAAe,EAAE,0BAA0B;IAE3C,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,sBAAsB;IAEnC,SAAS,EAAE,oBAAoB;IAC/B,SAAS,EAAE,oBAAoB;IAC/B,SAAS,EAAE,oBAAoB;IAC/B,SAAS,EAAE,oBAAoB;IAC/B,SAAS,EAAE,oBAAoB;IAE/B,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,2BAA2B;IAC5C,eAAe,EAAE,2BAA2B;IAE5C,UAAU,EAAE,qBAAqB;IACjC,gBAAgB,EAAE,2BAA2B;IAC7C,YAAY,EAAE,uBAAuB;IACrC,aAAa,EAAE,wBAAwB;IAEvC,SAAS,EAAE,oBAAoB;IAC/B,cAAc,EAAE,0BAA0B;IAE1C,UAAU,EAAE,qBAAqB;IACjC,YAAY,EAAE,uBAAuB;IACrC,aAAa,EAAE,wBAAwB;IACvC,UAAU,EAAE,qBAAqB;IACjC,SAAS,EAAE,oBAAoB;IAC/B,eAAe,EAAE,2BAA2B;IAE5C,mBAAmB,EAAE,+BAA+B;IACpD,qBAAqB,EAAE,iCAAiC;IAExD,oBAAoB,EAAE,gCAAgC;IACtD,sBAAsB,EAAE,kCAAkC;IAC1D,uBAAuB,EAAE,mCAAmC;IAE5D,2BAA2B,EAAE,wCAAwC;IACrE,6BAA6B,EAAE,0CAA0C;IAEzE,mBAAmB,EAAE,+BAA+B;IACpD,mBAAmB,EAAE,+BAA+B;IACpD,mBAAmB,EAAE,+BAA+B;IACpD,mBAAmB,EAAE,+BAA+B;IACpD,mBAAmB,EAAE,+BAA+B;CAE3C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafctory/skin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Essential design tokens and styles.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"homepage": "https://grafctory.github.io/skin/",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/grafctory/skin/issues",
|
|
15
|
-
"email": "info@
|
|
15
|
+
"email": "info@grafctory.dev"
|
|
16
16
|
},
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"author": {
|