- #1322
af16c12Thanks @lukasoppermann! - Changing dark dimmed fgColor-default to previous value
-
#1319
dccf2afThanks @lukasoppermann! - Add z-index design tokens for managing stacking context. Introduces base z-index scale (0-600) and 8 semantic functional tokens:behind,default,sticky,dropdown,overlay,modal,popover, andskipLink. Includes LLM metadata with usage guidance and shadow-to-z-index alignment rules. -
#1315
8bb3e76Thanks @lukasoppermann! - Add some missing tokens that confused the AI -
#1320
6c1af22Thanks @lukasoppermann! - Add negative base size tokens (negative-2throughnegative-48) for sizes 2–48
-
#1301
423b6e1Thanks @lukasoppermann! - Convert duration tokens to w3c -
#1318
4d0f257Thanks @lukasoppermann! - Fix dark mode contrast for controlTrack and controlKnob tokens. The track now recedes (darker) and the knob stands out (lighter) in all dark mode variants, fixing the inverted visual hierarchy in SegmentedControl and ToggleSwitch. -
#1308
135dd9bThanks @lukasoppermann! - Update shadow tokens to use W3C DTCG object format for dimension values- Shadow token dimension properties (
offsetX,offsetY,blur,spread) now use object format{ value: number, unit: "px" }instead of legacy strings like"1px" - Updated
shadowToCsstransformer to handle W3C dimension objects - Updated
ShadowTokenValuetype to requireDimensionTokenValuefor dimension properties - Legacy string format for shadow dimensions is no longer supported
- Shadow token dimension properties (
-
#1306
e4e355fThanks @lukasoppermann! - Adding metadata for:- shadow tokens
- display tokens
- ansi colors
- syntax colors
-
#1305
305c559Thanks @lukasoppermann! - Change dimension tokens to W3C DTCG format (breaking change)- The transformers
dimensionToRem,dimensionToRemPxArray, anddimensionToPixelUnitlessnow only accept W3C DTCG object-format dimension tokens. Legacy string-based dimension values are no longer supported and will throw errors. - In the W3C DTCG format, only
pxandremunits are supported. Support foremunits has been removed.
- The transformers
-
#1302
d5a7908Thanks @lukasoppermann! - Improve context for agents
-
#1298
3cec8c2Thanks @lukasoppermann! - Adding text size scale -
#1295
b9e6685Thanks @lukasoppermann! - Add LLM context metadata and a new build process to build a markdown file with all token context. -
#1297
bfe0d46Thanks @lukasoppermann! - Added lineHeight tokens
-
#1289
4c0bf67Thanks @tfeijo! - fix: correct @custom-media syntax for narrowLandscape viewport range -
#1294
6e285f2Thanks @jonrohan! - Remove the ::backdrop css selectors from the color themes queries -
#1300
dcde6afThanks @lukasoppermann! - Adding metadata to borders and more colors -
#1299
e4333eaThanks @lukasoppermann! - Add metadata for some more size and color tokens
- #1281
49baecdThanks @lukasoppermann! - Improve invalid.illegal tokens for syntax
- #1271
c160d8bThanks @langermank! - Add one more digit to line-height values
- #1269
0dd1e26Thanks @langermank! - Add new color tokens for buttons with keybinding hint
- #1265
394d649Thanks @langermank! - Fix overlay bg color for dark dimmed high contrast
- #1261
b42c900Thanks @langermank! - add token
-
#1255
092dea7Thanks @lukasoppermann! - Adding new draft role token -
#1247
d1deb93Thanks @lukasoppermann! - Change primer.css to using imports
-
#1242
846d34bThanks @langermank! - Add progress bar tokens -
#1239
101f812Thanks @langermank! - Updatecontrolknob border-color values
-
#1237
889f65bThanks @langermank! - Addlabelborder-color tokens -
#1237
889f65bThanks @langermank! - Addlabelborder-color tokens
- #1190
0b1e88eThanks @langermank! - - Adds new high contrast themes for light/dark tritanopia, colorblind, and dark dimmed (soft dark) themes
- #1220
078ffd6Thanks @langermank! - Changeoverlaybackground color indarkthemes
- #1234
efaa46cThanks @langermank! - - Fix disabled fg color in dark- Increase opacity of transparent color selected state in dark
- #1218
63e86dcThanks @lukasoppermann! - Adding scale to display color output
- #1214
f002fcaThanks @lukasoppermann! - removed deleted files from themes.config.ts
- #1201
2018f15Thanks @lukasoppermann! - Remove gradients from data colors
- #1200
72cf27dThanks @langermank! - Bug fixes:- High contrast danger color on hover
- High contrast translucent border
- High contrast danger button hover border-color
- #1193
87bc71eThanks @lukasoppermann! - Adding data gradients
- #1197
f51b006Thanks @langermank! - Use default colors for high contrast contribution graph
- #1166
7256eddThanks @langermank! - Add contribution graph tokens
-
#1186
277ed66Thanks @lukasoppermann! - Removed unused motion tokens -
#1180
ec128aaThanks @lukasoppermann! - Fix bug where dark modes had --button-outline-borderColor-selected instead of --button-outline-borderColor-active token -
#1191
7ae4324Thanks @langermank! - Add contribution graph stories -
#1187
4266174Thanks @lukasoppermann! - Update resting shadow values -
#1172
a2ba4e4Thanks @lukasoppermann! - Adding 50ms duration token
- #1154
f86174bThanks @lukasoppermann! - Fix borderColor-closed-muted in dark-protanopia-deuteranopia and revert protanopia-deuteranopia open color to be orange againborderColor-closed-mutedin dark-protanopia-deuteranopia is nowgrayinstead oforangeborderColor-open-[muted|emphasis]in protanopia-deuteranopia is noworangeagain (instead ofblue)fgColor-openin protanopia-deuteranopia is noworangeagain (instead ofblue)bgColor-open-[muted|emphasis]in protanopia-deuteranopia is noworangeagain (instead ofblue)
- #1151
f98e52fThanks @lukasoppermann! - Update easing curves
- #1149
24aa6fcThanks @lukasoppermann! - Add 100ms duration for very short transitions
- #1146
a16f30eThanks @lukasoppermann! - Fix borderColors in colorblind modes
- #1100
b995538Thanks @lukasoppermann! - Changing the way we use references in css output, to keep all references to tokens that are present in the final output
- #1136
3e281b1Thanks @lukasoppermann! - Change open role color from red to blue for colorblind themes
- #1109
da8a1d9Thanks @lukasoppermann! - use cssColorMix instead of converting variables to hex when we use transparency
-
#1092
a17e9a7Thanks @lukasoppermann! - Adding new themeOverride preprocessor -
#1118
1d7def1Thanks @lukasoppermann! - Adding composite tokens for borders
-
#1117
b516379Thanks @lukasoppermann! - Add default border and fix wrong dark color token -
#1121
033336dThanks @langermank! - Makeinvisiblebutton disabled state background and border transparent
-
#1058
9c3b2c8Thanks @lukasoppermann! - turn into esm module -
#1055
7806a4cThanks @lukasoppermann! - update to SDv4 -
#1068
08186e7Thanks @lukasoppermann! - Adding diffBlob tokens, renaming some old ones and removing one.
-
#1072
028ad8eThanks @lukasoppermann! - rm peerDep & unused dep -
#1064
c6a8dc5Thanks @lukasoppermann! - Adds src to dist as "build" so that primer/brand can use it -
#1080
ab5ab6bThanks @lukasoppermann! - Adding motion tokens
-
#1081
523ad13Thanks @lukasoppermann! - Add cubicBezier transform to platform -
#1066
51b0324Thanks @lukasoppermann! - Fixes for colorblind themes -
2168c66Thanks @lukasoppermann! - Add token button-invisible-fgColor-active -
#1078
de32449Thanks @lukasoppermann! - Add linting validation for cubicBezier token schema -
#1099
80cc57cThanks @lukasoppermann! - Replacedeprecatedprop with$deprecatedwhich is the w3c standard -
#1079
a2b1b79Thanks @lukasoppermann! - add cubicBezier transformer
- #1053
8892a4cThanks @langermank! - Updateskeletonpattern color
- #1043
faead48Thanks @lukasoppermann! - Update exports.default to module.exports in commonJs
-
#1036
56ba227Thanks @lukasoppermann! - Adding a pascalCase trasnformer -
#1032
a349dc7Thanks @lukasoppermann! - Move build files from src to dist/build and add complied version
-
#1039
2232f12Thanks @lukasoppermann! - Add src/tokens to package output -
#1038
8430aeaThanks @lukasoppermann! - Remove engine prop from package.json
- #1033
f9dcc4eThanks @langermank! - FixdangerfgColor in colorblind theme
- #1030
9083a0fThanks @langermank! - Danger button contrast fix + tests
- #1028
74915a8Thanks @langermank! - Bug fix:invisibletext colormutedtodefault
-
#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 scales- 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.
- 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.
Old color New color 0012253747586879810911Old color New color 9081726456473829110011Old color New color 90837566574839210111Old color New color 918274655647372819010Old 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
-
#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
-
#970
395d45fThanks @lukasoppermann! - Add a display font family variant as Figma does not automatically switch -
#969
52d8bf7Thanks @langermank! - AddborderColor-translucent
- #965
43ddc91Thanks @lukasoppermann! - Adding scope to type tokens
-
#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
- #954
8c4f775Thanks @lukasoppermann! - Deprecated space tokens
-
#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
-
#926
8357f04Thanks @lukasoppermann! - Add css/mediaQuery formatter and replace use of cssWrapMediaQuery -
#931
518fbfcThanks @lukasoppermann! - Replacing css/themed and css/variables with css/advanced
-
#941
7378534Thanks @lukasoppermann! - change lineheight from pixel string to unitless pixel value, e.g. "24px" -> 24 -
#937
6c7d120Thanks @lukasoppermann! - Adding missing coral color to display colors
-
#917
273d8aaThanks @langermank! - UpdateREADMEfor v8 major release -
#874
c4e1275Thanks @lukasoppermann! - removed v1 tokens and build process
-
#891
68d7424Thanks @lukasoppermann! - adding typo tokens for figma -
#853
bdddfecThanks @lukasoppermann! - Remove v2 token output (dist/tokens-v2-private) -
#886
372d6d2Thanks @lukasoppermann! - Adding src to output so it can be reused by other packages -
#916
eeb7a9fThanks @lukasoppermann! - Rename base.color.gray to base.color.neutral, minor because base colors should not be exported
-
#852
58cce33Thanks @lukasoppermann! - rm private output fodlers which should not have been used -
#905
e7d3c6cThanks @lukasoppermann! - Convert lineHeight from float to pixel value for figma -
#902
50890c6Thanks @lukasoppermann! - add figma font family output -
#889
ef6a6c3Thanks @lukasoppermann! - Fixes failing contrast for fgColor-done on bg-muted in dark mode -
#911
998fc24Thanks @lukasoppermann! - Round pixel value in floatToPixel -
#904
ae118b7Thanks @langermank! - Add missingpinkdisplay tokens
-
#851
b46607e5Thanks @lukasoppermann! - remove color-scale colors from output -
#873
30cb6371Thanks @lukasoppermann! - Removes scss output for v8 tokens
-
#857
8f372b04Thanks @langermank! - Addcardpattern tokens -
#863
48d50a30Thanks @langermank! - Addlabelpattern tokens -
#856
f2d49f22Thanks @langermank! - AddupsellBanner tokens
- #849
ba6a5a88Thanks @langermank! - Add colors for reaction button pattern
- #843
d43b576fThanks @langermank! - v8 bug fixes + enhancements for rollout
- #838
5e51127eThanks @langermank! - Add display color tokens
-
#835
08b506e8Thanks @langermank! - Add legacy shadow variable for deprecated Primer components -
#834
0c94285fThanks @langermank! - Fixinactivebutton color token names -
#833
3213393cThanks @langermank! - Changeprimarybutton text color to pure white instead of scale white (impact dark_dimmed)
-
#828
c029100aThanks @langermank! -::selectioncolor improvements -
#831
e13056eeThanks @lukasoppermann! - allow alpha: null value in color tokens -
#830
fd433300Thanks @langermank! - AddfgColor-whitefor all color modes
-
#827
59be7107Thanks @langermank! - FixdangerfgColorhigh contrast dark for button -
#820
f959cc7fThanks @langermank! - Add alpha data-vis colors -
#821
009bcd74Thanks @langermank! - - Update disabled control colors- Add box-shadow to Overlay in light themes
-
#809
296bc3eThanks @lukasoppermann! - Adding shadow tokens for figma -
#817
11f00dbThanks @lukasoppermann! - Update alpha on shadow outline -
#810
a607bdeThanks @langermank! - Shadow color adjustments
- #805
6e59707Thanks @lukasoppermann! - Adding exports for all colormodes for Figma
-
#802
4fb40ffThanks @lukasoppermann! - Update dark mode link color to lighter blue for better contrast -
#803
fce6921Thanks @langermank! - Addoverlay-offsetsize token -
#799
f03e153Thanks @langermank! - RemoveonInversetokens -
#806
7016323Thanks @langermank! - Add::selectionbackground color token -
#804
3d8a006Thanks @langermank! - Darkenmutedborder-color to 70% opacity
-
#793
aa61b6eThanks @lukasoppermann! - Fix colors in dark HC -
#790
a7b7ac3Thanks @lukasoppermann! - Add ::backdrop to css -
#796
d842f87Thanks @lukasoppermann! - reduce opacity for inset shadow
-
#789
0f97174Thanks @langermank! - - fix fgColor for ToggleSwitch in dark high contrast- darken borderColor-muted slightly in dark & light mode
-
#785
1c830aeThanks @langermank! - Build v8 tokens to/dist
-
#781
8ba7d6bThanks @langermank! - Adjustprettylightscomment fg color -
#747
2b76e2dThanks @lukasoppermann! - Add stack size tokens to figma export -
#782
ba763ccThanks @langermank! - Update the muted foreground color to increase contrast against default controls in dark mode -
#783
d0f95c7Thanks @lukasoppermann! - Update xxlarge breakpoint value -
#779
105afb5Thanks @lukasoppermann! - adding CodeSyntax to tokens for figma
- #778
f546c45Thanks @mperrotti! - Updates inactive button text colors to meet contrast against the inactive button background color.
- #776
cc36ab9Thanks @mperrotti! - Corrects light theme inactive button bg color
- #774
3a6d736Thanks @mperrotti! - Adds color tokens for the "inactive" button state. Tokens are added to the old and new builds so we can still support styling withstyled-components
- #744
5f9eb77Thanks @mperrotti! - Introduces design tokens for motion properties, and adds tokens to support loading indicators.
- #745
bcef815Thanks @lukasoppermann! - export control color tokens in Figma
-
#743
5125c62Thanks @langermank! - - Disabled state for transparent type controls is now transparent- Reverted the selected color for transparent type controls back to the original (pulled from old source file)
- Fixed the disabled fgColor for ToggleSwitch
-
#742
efa8b1cThanks @lukasoppermann! - buttonCounter color hotfix -
#739
04a316cThanks @lukasoppermann! - Fix contrast for bgColor-neutral-muted
6b46ff4Thanks @camertron! - rm diffStat/addition/bgColor
- #736
2565a2dThanks @langermank! - FixinvisibleButton states for high contrast themes
-
#733
f431e7eThanks @langermank! - - Remove the default button inset shadow (its basically invisible)- Switch danger button to use the same border strategy as primary for hover/active
-
#735
0d982b1Thanks @langermank! - Add missing fallbacks for disabled buttons -
#731
5ebfafeThanks @lukasoppermann! - change scss output from css variables to scss variables -
#734
df91f47Thanks @langermank! - - Add iconColor tokens for the invisible button variant- Remove highlight shadow token as its no longer used for Button
- #682
a082224Thanks @langermank! - - Addinversecolor options for semantic color tokens to support Toast- Update the default
emphasisbackground color towhitein dark mode - Add
overlaysize tokens
- Update the default
-
#722
5394816Thanks @lukasoppermann! - Fioxed RGBAfloatconversion -
#723
a3b0d21Thanks @lukasoppermann! - Adding group prop to figma output -
#729
d6bbf2aThanks @lukasoppermann! - fix shadow -
#727
364c09fThanks @lukasoppermann! - Allow some bgColors to be used as borders -
#730
0c237e3Thanks @lukasoppermann! - update borderColor Success -
#721
01aae86Thanks @lukasoppermann! - Fixing shadows
-
#665
360a8b8Thanks @lukasoppermann! - Adding support for figma tokens -
#714
5b1cb91Thanks @lukasoppermann! - Add space tokens
-
#704
aeb3b30Thanks @lukasoppermann! - fix for figma references -
#707
ca974dcThanks @lukasoppermann! - add paddingBlock to figma -
#711
0f7f801Thanks @lukasoppermann! - Move figma control tokens to component collection -
#709
c0cc1dbThanks @langermank! - Update a fewbgColorandborderColorPrimitive fallbacks -
#717
8c278bdThanks @langermank! - Add backinsetcolor tokens to v8 -
#686
40fdf5cThanks @lukasoppermann! - rename treeViewItem-leadingVisual-bgColor-rest to treeViewItem-leadingVisual-iconColor-rest -
#698
870cc60Thanks @lukasoppermann! - Update figma token names & renamefgColor-link-resttofgColor-link
-
#674
41ff627Thanks @langermank! - Fix disabled fg color for controls -
#666
5c18c74Thanks @ctmayn! - Adjust the value of entity highlighting so it meets the required color contrast on a diff deletion background. -
#667
f8c7429Thanks @langermank! - - Update Overlay backdrop color for dark mode- Add Overlay backdrop tokens to the old build
-
#671
2d3861eThanks @langermank! - Add transparent fallbacks -
#669
799a702Thanks @langermank! - Fix muted fallbacks for v8 test -
#672
1fc2662Thanks @langermank! - Fix muted border fallback -
#673
6ebe450Thanks @langermank! - Update disabled control fallback
- #662
e3a6b0fThanks @langermank! - Add shadows to color fallback dist
- #659
77e0e07Thanks @langermank! - Add functional transparent tokens
- #654
67bf5c0Thanks @lukasoppermann! - Add fallback json
- #651
26ed1fcThanks @langermank! - Format fallback CSS vars withvar()
-
#648
f559ad6Thanks @langermank! - Bug fix:dangercounter fg -
#649
4e231baThanks @langermank! - Fix fallback dist JSON
-
#644
f388f1dThanks @lukasoppermann! - add missing color overrides for light tritanopia in v8 tokens -
#643
6f1f6b6Thanks @langermank! - Adds new color fallback docs and JSON to be used with PostCSS -
#600
76f3122Thanks @lukasoppermann! - - fix syntax tokens dark mode by moving prettylights tokens into the color parent- invalid-illegal-text and carriage-return-bg were droped due to a json bug
-
#599
f67de6aThanks @lukasoppermann! - Replace light-colorblind scale with overrides -
#608
b8bc786Thanks @lukasoppermann! - Replace dark-colorblind scale with overrides -
#645
40880ceThanks @lukasoppermann! - add missing color overrides for dark tritanopia in v8 tokens -
#618
f80a5fdThanks @lukasoppermann! - add option to remove descriptions from css output -
#593
2fc6e68Thanks @langermank! - Fix v8 dark syntax -
#639
cbee891Thanks @lukasoppermann! - Remove unused color scales -
#606
356bb54Thanks @lukasoppermann! - Replaced hex code overrides in colorblind mode scales with references to base scales -
#562
d88095eThanks @lukasoppermann! - Replaces light Tritanopia scale with overrides -
#634
3e331b6Thanks @langermank! - Minor docs fixes -
#601
633aae8Thanks @langermank! - Fix missing prettylights tokens -
#597
f004737Thanks @lukasoppermann! - Replacing dark tritanopia scale with overrides -
#641
8c77bbbThanks @langermank! - Improve contrast for Buttons with counters
ad20369Thanks @lukasoppermann! - ## Updated workflow for v8 tokens- size-fine and size-coarse tokens are now wrapped in media queries
- #576
98255a7Thanks @langermank! - - Add v8 migration docs- Finalize v8 output for testing
- #557
c9101b7Thanks @lukasoppermann! - Updated fg.default and fg.muted for most themes to reset to previous versions
- #555
98ca36aThanks @lukasoppermann! - Fix for primary color in cvd modes
- #542
9df92a7Thanks @lukasoppermann! - - accent.subtle in dark is less opaque to have a 4.5 contrast with new accent color- danger and close fg slightly changed in light mode to contrast with fg.default (as we have some red links)
- attention.emphasis darker to have 4.5:1 contrast with fg.onEmphasis
-
#529
05edec6Thanks @langermank! - Add Primitives v8 colors (private dist for testing) -
#538
535f4b0Thanks @lukasoppermann! - A11y changes to primary green, fg.default and fg.muted and some more -
#536
1771a74Thanks @langermank! - Fix Avatar shadow in new tokens -
#499
f731161Thanks @josepmartins! - Fix bug on AvatarPair box shadow
- #477
39940deThanks @mperrotti! - Updates to support new ToggleSwitch visual design
-
#485
4e408caThanks @lukasoppermann! - Adds control.borderColor.emphasis color token -
#449
7130392Thanks @rezrah! - Deprecated marketing design tokens for Button componentsMarketing tokens will be served from
@primer/brand-primitivesin future.npm install --save @primer/brand-primitives
- ---color-mktg-btn-bg + --brand-Button-background-base
- --color-mktg-btn-shadow-outline + --brand-Button-shadow-default
- --color-mktg-btn-shadow-focus + --brand-Button-shadow-focus
- --color-mktg-btn-shadow-hover + --brand-Button-shadow-primary-hover
- --color-mktg-btn-shadow-muted + --color-mktg-btn-shadow-hover-muted
-
#385
e03c7fdThanks @simurai! - AddNoto Sansto the font stack -
#384
8b76794Thanks @langermank! - - Remove deprecated focus color tokens in favor of "global" styles from Primer CSS
- #358
a188c78Thanks @mperrotti! - Adds a color token for the treeview icon fill.
- #354
3b28659Thanks @mperrotti! - Introduces TreeView.Item component color primitives
- #351
d8d2480Thanks @langermank! - Add SCSS vars for PCSS utilities & dotcom
- #334
ff5fea6Thanks @langermank! - Typography bug fixes + border thickness naming
- #317
45359eaThanks @langermank! - - Initial design tokens release for interal Primer team use only- Private docs that can be accessed at /typography and /size
- Separate dist for testing purposes only
- #309
4588342Thanks @mperrotti! - adds primitives for toggle switch component
- #306
8e9779cThanks @Juliusschaeper! - Color scale improvements for Blue and Orange
- #301
2f18306Thanks @konradpabjan! - [Actions] Update light theme color for gateWaitingText
- #283
1bcb44fThanks @Juliusschaeper! - Background adjustments for High Contrast theme.
- #279
3729355Thanks @Juliusschaeper! - Add border to topic-tag and counters
- #277
3fda2d3Thanks @Juliusschaeper! - Increased contrast in Light HC shades
- #273
5c8d9a9Thanks @Juliusschaeper! - Border improvements
- #276
f2d41ecThanks @Juliusschaeper! - Improved button states for light HC
- #274
f071312Thanks @Juliusschaeper! - Improved contrast for change highlights in diff
- #271
f6e25d7Thanks @Juliusschaeper! - Add light high contrast theme
- #245
65ad2dfThanks @colebemis! - All deprecated color variables have been removed. See removed variables for the complete list of removed variables.
-
#245
65ad2dfThanks @colebemis! - Thedeprecationsdirectory in thedistdirectory has been renamed todeprecated:dist/ - deprecations/ + deprecated/
You'll need to update your imports accordingly:
- import deprecatedColors from '@primer/primitives/dist/deprecations/colors.json' + import deprecatedColors from '@primer/primitives/dist/deprecated/colors.json'
-
#245
65ad2dfThanks @colebemis! - Thedistdirectory now contains aremoveddirectory with data about removed variables organized by category:dist/ js/ ts/ json/ scss/ deprecated/ + removed/ + colors.jsonEach JSON file in the
removeddirectory contains a mapping of removed variables to replacement variables. Example:// dist/removed/colors.json { "text.primary": "fg.default", // this means: `text.primary` is deprecated. Use `fg.default` instead "auto.blue.4": ["accent.fg, accent.emphasis"], // this means: `auto.blue.4` is deprecated. Use `accent.fg` or `accent.emphasis` instead "text.white": null // this means: `text.white` is deprecated. We don't have a replacement for it }
This data will allow you to write linters to prevent usage of removed variables.
- #250
9948e13Thanks @Juliusschaeper! - Fix duplicate hex value (red 9)
- #243
c8adddcThanks @Juliusschaeper! - Fix diff highlights + Btn primary state fixes
- #236
ec5eb62Thanks @Juliusschaeper! - Add new color blind themes:light_protanopiadark_protanopia
- #233
647cf69Thanks @colebemis! - Delete experimentaldata/colors_v2directory
- #224
eaf6bb5Thanks @colebemis! - Add new functional color variables. See primer.style/primitives/colors for details about the new color system.
-
#224
eaf6bb5Thanks @colebemis! - Introduce a Dark High Contrast theme.Note: The Dark High Contrast theme will only work with the new functional color variables
- #224
eaf6bb5Thanks @colebemis! - Deprecate variables from the old color system. See primer.style/primitives/colors#deprecated-variables for the complete list of deprecated variables.
- #220
a811195Thanks @colebemis! - FixsearchKeyword.hlincolors_v2
- #223
a474221Thanks @colebemis! - FixheaderSearch.*variables in colors_v2
- #206
a18f427Thanks @colebemis! - Add color deprecations file
-
#202
25a91d9Thanks @colebemis! - Thedistdirectory now contains adeprecationsdirectory with variable deprecation data organized by category:dist/ js/ ts/ json/ scss/ + deprecations/ + colors.jsonEach JSON file in the
deprecationsdirectory contains a mapping of deprecated variables to replacement variables. Example:// dist/deprecations/colors.json { "text.primary": "fg.default", // this means: `text.primary` is deprecated. Use `fg.default` instead "auto.blue.4": ["accent.fg, accent.emphasis"], // this means: `auto.blue.4` is deprecated. Use `accent.fg` or `accent.emphasis` instead "text.white": null // this means: `text.white` is deprecated. We don't have a replacement for it }
This data will allow consumers of
@primer/primitives(e.g. Primer React and Primer ViewComponents) to write linters to prevent usage of deprecated variables.
- #195
d7a8ae1Thanks @Juliusschaeper! - Slightly lighter Red-0 for improved diff highlight.
- #188
a8fe22eThanks @Juliusschaeper! - Update green scale to be slightly less yellow
- #182
3bfc800Thanks @Juliusschaeper! - Update tooltip background
- #186
5198cfaThanks @Juliusschaeper! - Underline nav contrast improvements
- #176
40d0661Thanks @Juliusschaeper! - Added btn.selected hc exception
- #174
0071ef5Thanks @Juliusschaeper! - Fixed syntax for hover text + icon
- #171
9e7b1bbThanks @Juliusschaeper! - Added new variable for diff foreground
- #170
e055b14Thanks @Juliusschaeper! - Remapped neutral.emphasis to gray.4 instead of gray.6
- #166
2f55806Thanks @Juliusschaeper! - Changed attention.emphasis from 5 → 4
- #169
dc4e70aThanks @Juliusschaeper! - Fixed danger button hover state
- #161
6ed4ac6Thanks @Juliusschaeper! - Fixed wrong order of light coral scale
- #153
7fcce19Thanks @Juliusschaeper! - removed opacity from roles.muted + replaced foregrounds in diff blob
- #159
9e3875cThanks @Juliusschaeper! - Updated green for primary button and success.emphasis
- #154
6298c1eThanks @Juliusschaeper! - Update hc avatar and diffstat borders
- #158
cd0c90eThanks @Juliusschaeper! - neutral.emphasis fix in HC
- #156
0aba5faThanks @Juliusschaeper! - header-input border fix
- #151
73a53a0Thanks @Juliusschaeper! - Fixed states for btn.danger in HC
- #149
9539f54Thanks @Juliusschaeper! - Global Nav → input fixes
- #145
c6fd869Thanks @Juliusschaeper! - Primary button fixes
- #152
281a7fbThanks @Juliusschaeper! - Update neutral emphasis
- #141
8b52b57Thanks @Juliusschaeper! - Change HC border subtle → gray.5
- #142
a581980Thanks @colebemis! - Change "transparent" colors to "rgba(0,0,0,0)"
- #137
4779983Thanks @Juliusschaeper! - HC palette update + exceptions for emphasis
- #134
8b8cba7Thanks @auareyou! - Remapping updates- Updated alerts to use roles instead of
fg-default - Rename
fg.inactivetofg.subtle - Deprecate
avatar-border
- Updated alerts to use roles instead of
- #140
9308676Thanks @Juliusschaeper! - btn.primary state tweaks for high contrast
- #125
287b56aThanks @colebemis! - Update experimental variables
- #123
b3a32b6Thanks @colebemis! - Add dark high contrast mapping exceptions
- #113
e399d4dThanks @colebemis! - Fix--color-upload-enabled-border-focused
- #107
c935be7Thanks @colebemis! - Rename role variables
- #103
ec66b32Thanks @colebemis! - Internal reorganization of variables. No consumer-facing changes.
- #108
907b74cThanks @colebemis! - Remap v2 variables
- #94
eed97d8Thanks @colebemis! - Update experimental color variables
- #98
4d5bd48Thanks @colebemis! - Add experimental dark high contrast theme
- #96
5d5d265Thanks @colebemis! - Update experimental dark mode mapping
- #91
6af01cbThanks @colebemis! - Update experimental color variables
- #85
d5b4305Thanks @simurai! - Add experimental color variables tocolors_v2directory. Warning: Do not use these color variables
- #76
8d5addcThanks @tobiasahlin! - Update marketing buttons
-
#58
4f12b06Thanks @jonrohan! - Updating the ci.yml and release.yml scripts to more closely match @primer/components -
#18 Add support for multiple color modes (
light,dark,dark_dimmed) (@auareyou, @BinaryMuse, @colinkeany, @edokoa, @jonrohan, @simurai) -
#18 Add color modes documentation (@colebemis)
- #14 Rename npm package to
@primer/primitivesand deprecate oldprimer-*packages (@BinaryMuse)
- #6 Fix spacing to be an array instead of an object. (@broccolini)
- #6 Add usage example to README. (@broccolini)
- #3 Add dependencies to primer-primitives package. (@broccolini)
- #3 Point main at correct files. (@broccolini)
- #3 Fix broken links in Readme's. (@broccolini)
- #1 Add color, typography, and spacing packages. (@broccolini)
- #1 Add primer-primitives package that imports all primitives. (@broccolini)