Releases: StackExchange/Stacks
Releases · StackExchange/Stacks
v2.0.6
v2.0.5
What's Changed
Fixes
- link: update link, anchor grayscale hover/visited #1546
Full Changelog: v2.0.4...v2.0.5
v2.0.4
What's Changed
- colors: update light, light HC yellow color sets #1541
- modal: reposition celebratory variant close button #1542
Full Changelog: v2.0.3...v2.0.4
v2.0.3
What's Changed
This release includes fixes to recent color-related changes, most notably improvements to dark mode colors.
- color: improve dark mode colors #1533
- tag: tweak default, moderator colors #1532
- tag: revert recent tag border addition #1535
Full Changelog: v2.0.2...v2.0.3
v2.0.2
v2.0.1
v2.0.0
Stacks v2
Note
This is a breaking change and will require your references to color atomic classes be remapped.
Please see the migration guide for detailed information on these changes and guidance on migrating.
We've released Stacks v2 with a focus on accessible colors!
Stacks v2 changes
Improvements and additions
- ◑ Color contrast improvements to meet or exceed APCA Lc 60 in standard light and dark modes and WCAG 2.2 AAA in high contrast modes
- 🎨 Simplification of color sets, reducing most sets down to just 6 color stops
- 🔧 Under the hood improvements to custom theme generation
- 🪄 A new custom theme generation function
- 🌓 Fixes to forced light/dark color modes
- 🟣 The addition of a purple color set
- 📝 Improved documentation of atomic color classes, color fundamentals, and theming
Deprecations
- The legacy color sets are now deprecated. They can be referenced by adding
-legacy
to color references.
See the migration guide section “Using legacy colors” for more details. - The
powder
color set has not been ported to the new color sets.
See the migration guide section “Deprecation of powder color set” for more details. - Referencing of Less variables has been deprecated.
See the migration guide section “Deprecation of Less color variables” for more details. - The custom theme generation function
.generate-calculated-themed-variables()
has been replaced with.create-custom-theme-hsl-variables
.
See the migration guide section “Replacing.generate-calculated-themed-variables()
” for more details. - The
.s-btn__primary
button variant is deprecated.
See the migration guide section “Deprecation of.s-btn__primary
” and the button documentation) for more information.
colors: update all colors #1508
Full Changelog: v1.10.6...v2.0.0
v1.10.6
What's Changed
- fix(modal): ensure header text isn't obscured by close button db6b0e3
- fix(user-card): ensure links within type child inherit color 5cf01e5
Internal Changes
- docs(inputs): Use valid HTML in label examples 71631ff
- test(a11y): add ability to pass custom APCA threshold to axe-apca #1487
- test(navigation): add a11y; visual tests #1479
- test(code-block): add a11y; visual tests #1482
- test(tag): add a11y; visual tests by @dancormier #1492
- test(page-title): add a11y; visual tests #1480
- test(input_textarea): add a11y; visual tests #1486
Full Changelog: v1.10.5...v1.10.6
v1.10.5
What's Changed
This release exclusively includes under-the-hood improvements, such as dependency updates and component tests.
Full Changelog: v1.10.4...v1.10.5
v1.10.4
What's Changed
- feat(typography): add ow-anywhere atomic class #1460
- fix(toggle-switch): prevent shrinking in a flex container c0e2099
Full Changelog: v1.10.3...v1.10.4