shelving 1.258.2 → 1.258.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shelving",
3
- "version": "1.258.2",
3
+ "version": "1.258.4",
4
4
  "author": "Dave Houlbrooke <dave@shax.com>",
5
5
  "repository": {
6
6
  "type": "git",
package/ui/form/Field.md CHANGED
@@ -43,11 +43,9 @@ import { Field, TextInput } from "shelving/ui";
43
43
  | `--field-gap` | Gap between label, control, and message | `var(--space-xsmall)` |
44
44
  | `--field-title-size` | Title font size | `var(--size-normal)` |
45
45
  | `--field-title-weight` | Title font weight | `var(--weight-strong)` |
46
- | `--field-color-title` | Title colour | `var(--tint-00)` |
46
+ | `--field-title-color` | Title colour | `var(--tint-00)` |
47
47
  | `--field-description-size` | Description font size | `var(--size-normal)` |
48
48
  | `--field-description-weight` | Description font weight | `var(--weight-normal)` |
49
- | `--field-color-description` | Description colour | `var(--shade-dark)` |
50
- | `--field-message-weight` | Message font weight | `var(--weight-strong)` |
51
- | `--field-color-message` | Message colour | `var(--color-red)` |
49
+ | `--field-description-color` | Description colour | `var(--tint-70)` |
52
50
 
53
- **Global tokens it reads:** the tint ladder `--tint-00`, plus `--space-paragraph`, `--space-xsmall`, `--size-normal`, `--weight-strong`, `--weight-normal`, `--shade-dark`, and `--color-red`.
51
+ **Global tokens it reads:** the tint ladder `--tint-00` and `--tint-70`, plus `--space-paragraph`, `--space-xsmall`, `--size-normal`, `--weight-strong`, `--weight-normal`,
@@ -1,12 +1,11 @@
1
1
  @import "../style/layers.css";
2
2
  @import "../style/Typography.module.css";
3
- @import "../style/Color.module.css";
4
- @import "../style/Status.module.css";
3
+ @import "../style/Tint.module.css";
5
4
 
6
5
  @layer defaults {
7
6
  .icon {
8
- width: var(--icon-size, 1lh);
9
- height: var(--icon-size, 1lh);
7
+ width: var(--icon-size, var(--size-icon));
8
+ height: var(--icon-size, var(--size-icon));
10
9
  color: var(--icon-color, var(--tint-50));
11
10
  }
12
11
  }
@@ -11,13 +11,13 @@
11
11
 
12
12
  .track {
13
13
  fill: none;
14
- stroke: var(--loading-color, var(--tint-90));
14
+ stroke: var(--loading-color, var(--tint-70));
15
15
  stroke-width: var(--loading-stroke-width, 2.5);
16
16
  }
17
17
 
18
18
  .indicator {
19
19
  fill: none;
20
- stroke: var(--loading-fill, var(--shade-dark));
20
+ stroke: var(--loading-fill, var(--tint-80));
21
21
  stroke-width: var(--loading-stroke-width, 2.5);
22
22
  stroke-linecap: round;
23
23
  stroke-dasharray: var(--loading-indicator-length, 28 100);
@@ -36,7 +36,7 @@
36
36
  --size-xxxlarge: calc(var(--size-normal) * pow(var(--size-scale), 4));
37
37
 
38
38
  /* Semantic sizes */
39
- --size-icon: var(--size-large);
39
+ --size-icon: 1.5rem;
40
40
  --size-label: var(--size-small);
41
41
 
42
42
  /* Relative sizes */