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
Button now uses Spectrum 2 tokens and specifications, which includes many color changes to all variants. A few other notable changes:
184
185
185
-
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.
186
+
- Outline buttons are no longer available in accent and negative options — use the filled variant instead.
187
+
- Medium size is now the default. The class `.spectrum-Button--sizeM` is now unnecessary for this size, and has been removed.
188
+
- The `.spectrum-Button--fill` class is no longer needed and has been removed.
189
+
190
+
The following `--mod` custom properties have been renamed:
191
+
192
+
-`--mod-line-height-100` has been renamed to `--mod-button-line-height`
193
+
-`--mod-sans-font-family-stack` has been renamed to `--mod-button-font-family`
194
+
-`--mod-animation-duration-100` has been renamed to `--mod-button-animation-duration`
195
+
-`--mod-bold-font-weight` has been renamed to `--mod-button-font-weight`
196
+
197
+
## 14.0.0-next.5
186
198
187
199
### Patch Changes
188
200
@@ -194,6 +206,16 @@ Output for all component CSS files is now being run through a lightweight optimi
194
206
All notable changes to this project will be documented in this file.
195
207
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
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