Releases: primer/primitives
v9.1.0
Minor Changes
-
#1036
56ba227Thanks @lukasoppermann! - Adding a pascalCase trasnformer -
#1032
a349dc7Thanks @lukasoppermann! - Move build files from src to dist/build and add complied version
Patch Changes
-
#1039
2232f12Thanks @lukasoppermann! - Add src/tokens to package output -
#1038
8430aeaThanks @lukasoppermann! - Remove engine prop from package.json
v9.0.3
v9.0.2
v9.0.1
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
v8.2.4
Patch Changes
-
#993
adf195cThanks @lukasoppermann! - Add neutral to contrast checks and fix contrasts -
#994
4944964Thanks @lukasoppermann! - Simplify contrast checker script and bugfix for bgColor.upsell.muted in dark high contrast mode -
#991
421741eThanks @lukasoppermann! - Update high contrast display colors to meet contrast requirements -
#977
86a263bThanks @lukasoppermann! - rm @ where it does not effect output -
#1018
abe900aThanks @langermank! - - Minor changes to prepare for adding more borders to high contrast themes- Adds tooltip pattern to allow for an inverse style in dark high contrast
-
#1012
2ac3905Thanks @lukasoppermann! - add borderRadius.default token
v8.2.3
Patch Changes
-
#970
395d45fThanks @lukasoppermann! - Add a display font family variant as Figma does not automatically switch -
#969
52d8bf7Thanks @langermank! - AddborderColor-translucent
v8.2.2
v8.2.1
Patch Changes
-
#963
8b726b8Thanks @lukasoppermann! - Fix to output size fine and coarse as css -
#961
0828682Thanks @langermank! - Addprimitives.cssindex file -
#964
587ba02Thanks @lukasoppermann! - Updates the figma build process to add and use new typographic scopes
v8.2.0
Minor Changes
- #954
8c4f775Thanks @lukasoppermann! - Deprecated space tokens
Patch Changes
-
#948
56226cdThanks @smockle! - Increase secondary text contrast in hovered ActionMenu items (dark mode) by making fgColor-muted brighter. -
#942
0eb2320Thanks @lukasoppermann! - Add missing plum color to display colors -
#881
adc84b5Thanks @langermank! - Add new set ofmuteddata-vis colors for charts -
#953
09d1380Thanks @lukasoppermann! - Added 2px and 6px size to base scale -
#944
02777f6Thanks @lukasoppermann! - Added body-weight token to figma output -
#950
f0149e1Thanks @lukasoppermann! - Added missing prop which lead to wrong output for subtitle line-height in Figma