You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removes the need for the extend from this placeholder class, as the styles it provides have diverged slightly from what is in button and it was causing some unnecessary CSS to override.
10
+
This should not result in any changed visuals or behavior, as the same CSS has been integrated.
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
11
19
12
-
- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
13
-
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
14
-
- The `.spectrum-Button--fill` class is no longer needed and has been removed.
20
+
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
21
+
22
+
- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
23
+
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
24
+
- The `.spectrum-Button--fill` class is no longer needed and has been removed.
15
25
16
-
The following `--mod` custom properties have been renamed:
26
+
The following `--mod` custom properties have been renamed:
17
27
18
-
-`--mod-line-height-100` has been renamed to `--mod-button-line-height`
19
-
-`--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
20
-
-`--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
21
-
-`--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
28
+
-`--mod-line-height-100` has been renamed to `--mod-button-line-height`
29
+
-`--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
30
+
-`--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
31
+
-`--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
22
32
23
33
## 14.0.0-next.5
24
34
@@ -43,7 +53,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
43
53
Output for all component CSS files is now being run through a lightweight optimizer (cssnano) which significantly reduces unnecessary whitespace. These changes reduce file size but should not have any impact on the rendering of the component. By removing unnecessary whitespace from var functions, we are making it easier to effectively minify our provided CSS assets.
0 commit comments