v9.0.0
Major Changes
-
#1021
8b015a0Thanks @langermank! - Updateinvisiblebutton variant text color to be default instead of link blue -
#1025
9ab8102Thanks @langermank! - Fix inconsistent HC transparent colors -
#1023
0f5625eThanks @langermank! - ChangefgColor-onEmphasisto white in dark high contrast theme -
#1016
39862e9Thanks @langermank! - # Updated neutral base color scalesChanges
- Theme specific neutral scales have been replaced with two new scales:
lightanddark. - The new
lightanddarkscales are inverted, where 0 is the lightest shade inlightand the darkest shade indark. - Functional color tokens have been updated to use the new
lightanddarkscales, and several overrides have been removed due to the new inverted design.
Migration
- Functional color tokens all work as expected and have been tested to meet minimum contrast requirements.
- If you are using
primer/primitivesbase color scales directly, you may need to update how those colors are applied. See the migration table which outlines approximately how the new colors map to the old colors.
Light scale migration
Old color New color 0012253747586879810911Dark scale migration
Old color New color 9081726456473829110011Dark high contrast scale migration
Old color New color 90837566574839210111Dark dimmed scale migration
Old color New color 918274655647372819010Light high contrast scale migration
Old color New color 0white1225374758697108119black - Theme specific neutral scales have been replaced with two new scales:
-
#1024
2348455Thanks @langermank! - Extend neutral scale to include white/black (0-13) -
#956
13f62d5Thanks @lukasoppermann! - Removed space tokens -
#1026
401fef1Thanks @langermank! - - Update counter bg styles- Contrast fixes
-
#968
d845fdfThanks @lukasoppermann! - Rename data-[colorName]-color to data-[colorName]-color-emphasis