Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@primer/[email protected]
Major Changes
#1021
8b015a0
Thanks @langermank! - Updateinvisible
button variant text color to be default instead of link blue#1025
9ab8102
Thanks @langermank! - Fix inconsistent HC transparent colors#1023
0f5625e
Thanks @langermank! - ChangefgColor-onEmphasis
to white in dark high contrast theme#1016
39862e9
Thanks @langermank! - # Updated neutral base color scalesChanges
light
anddark
.light
anddark
scales are inverted, where 0 is the lightest shade inlight
and the darkest shade indark
.light
anddark
scales, and several overrides have been removed due to the new inverted design.Migration
primer/primitives
base 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
0
0
1
2
2
5
3
7
4
7
5
8
6
8
7
9
8
10
9
11
Dark scale migration
9
0
8
1
7
2
6
4
5
6
4
7
3
8
2
9
1
10
0
11
Dark high contrast scale migration
9
0
8
3
7
5
6
6
5
7
4
8
3
9
2
10
1
11
Dark dimmed scale migration
9
1
8
2
7
4
6
5
5
6
4
7
3
7
2
8
1
9
0
10
Light high contrast scale migration
0
white
1
2
2
5
3
7
4
7
5
8
6
9
7
10
8
11
9
black
#1024
2348455
Thanks @langermank! - Extend neutral scale to include white/black (0-13)#956
13f62d5
Thanks @lukasoppermann! - Removed space tokens#1026
401fef1
Thanks @langermank! - - Update counter bg styles#968
d845fdf
Thanks @lukasoppermann! - Rename data-[colorName]-color to data-[colorName]-color-emphasis