shelving 1.285.5 → 1.285.6
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
package/ui/button/Button.md
CHANGED
|
@@ -83,7 +83,7 @@ Backgrounds paint to the button's true edge: `background-origin` is set to `bord
|
|
|
83
83
|
| `--button-small-gap` | Gap between icon and label when `small` | `var(--space-xxsmall)` (4px) |
|
|
84
84
|
| `--button-space` | Outer block margin | `var(--space-small)` (12px) |
|
|
85
85
|
| `--button-font` | Font family | `var(--font-body)` |
|
|
86
|
-
| `--button-weight` | Font weight | `var(--weight-
|
|
86
|
+
| `--button-weight` | Font weight | `var(--weight-normal)` (400) |
|
|
87
87
|
| `--button-size` | Font size | `var(--size-normal)` |
|
|
88
88
|
| `--button-leading` | Line height | `var(--leading)` |
|
|
89
89
|
| `--button-shadow` | Box shadow (never on `plain`) | `none` |
|
|
@@ -101,7 +101,7 @@ Backgrounds paint to the button's true edge: `background-origin` is set to `bord
|
|
|
101
101
|
| `--button-plain-active-background` | Fill while pressed when `plain` | `var(--button-plain-hover-background)` |
|
|
102
102
|
| `--button-plain-active-border` | Border while pressed when `plain` | `var(--button-plain-hover-border)` |
|
|
103
103
|
|
|
104
|
-
**Global tokens it reads:** the tint ladder `--tint-50` / `--tint-55` / `--tint-95` / `--tint-100`, plus `--space-small`, `--space-xxsmall`, `--radius-xsmall`, `--stroke-normal`, `--stroke-focus`, `--color-focus`, `--font-body`, `--weight-
|
|
104
|
+
**Global tokens it reads:** the tint ladder `--tint-50` / `--tint-55` / `--tint-95` / `--tint-100`, plus `--space-small`, `--space-xxsmall`, `--radius-xsmall`, `--stroke-normal`, `--stroke-focus`, `--color-focus`, `--font-body`, `--weight-normal`, `--size-normal`, `--leading`, and `--duration-fast`.
|
|
105
105
|
|
|
106
106
|
```css
|
|
107
107
|
/* Theme: pill-shaped buttons, with roomier inline padding. */
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
|
|
40
40
|
/* Text */
|
|
41
41
|
font-family: var(--button-font, var(--font-body));
|
|
42
|
-
font-weight: var(--button-weight, var(--weight-
|
|
42
|
+
font-weight: var(--button-weight, var(--weight-normal));
|
|
43
43
|
font-size: var(--button-size, var(--size-normal));
|
|
44
44
|
line-height: var(--button-leading, var(--leading));
|
|
45
45
|
text-decoration: none;
|