@primer/primitives 9.0.0-rc.02c27a21 → 9.0.0-rc.e0216c44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/css/functional/themes/dark-colorblind.css +4 -4
  2. package/dist/css/functional/themes/dark-dimmed.css +4 -4
  3. package/dist/css/functional/themes/dark-high-contrast.css +4 -4
  4. package/dist/css/functional/themes/dark-tritanopia.css +4 -4
  5. package/dist/css/functional/themes/dark.css +4 -4
  6. package/dist/css/functional/themes/light-colorblind.css +4 -4
  7. package/dist/css/functional/themes/light-high-contrast.css +4 -4
  8. package/dist/css/functional/themes/light-tritanopia.css +4 -4
  9. package/dist/css/functional/themes/light.css +4 -4
  10. package/dist/docs/functional/themes/dark-colorblind.json +4 -4
  11. package/dist/docs/functional/themes/dark-dimmed.json +4 -4
  12. package/dist/docs/functional/themes/dark-high-contrast.json +5 -5
  13. package/dist/docs/functional/themes/dark-tritanopia.json +4 -4
  14. package/dist/docs/functional/themes/dark.json +4 -4
  15. package/dist/docs/functional/themes/light-colorblind.json +4 -4
  16. package/dist/docs/functional/themes/light-high-contrast.json +5 -5
  17. package/dist/docs/functional/themes/light-tritanopia.json +4 -4
  18. package/dist/docs/functional/themes/light.json +4 -4
  19. package/dist/figma/themes/dark-colorblind.json +20 -20
  20. package/dist/figma/themes/dark-dimmed.json +20 -20
  21. package/dist/figma/themes/dark-high-contrast.json +20 -20
  22. package/dist/figma/themes/dark-tritanopia.json +20 -20
  23. package/dist/figma/themes/dark.json +20 -20
  24. package/dist/figma/themes/light-colorblind.json +8 -8
  25. package/dist/figma/themes/light-high-contrast.json +20 -20
  26. package/dist/figma/themes/light-tritanopia.json +8 -8
  27. package/dist/figma/themes/light.json +8 -8
  28. package/dist/internalCss/dark-colorblind.css +4 -4
  29. package/dist/internalCss/dark-dimmed.css +4 -4
  30. package/dist/internalCss/dark-high-contrast.css +4 -4
  31. package/dist/internalCss/dark-tritanopia.css +4 -4
  32. package/dist/internalCss/dark.css +4 -4
  33. package/dist/internalCss/light-colorblind.css +4 -4
  34. package/dist/internalCss/light-high-contrast.css +4 -4
  35. package/dist/internalCss/light-tritanopia.css +4 -4
  36. package/dist/internalCss/light.css +4 -4
  37. package/dist/styleLint/functional/themes/dark-colorblind.json +4 -4
  38. package/dist/styleLint/functional/themes/dark-dimmed.json +4 -4
  39. package/dist/styleLint/functional/themes/dark-high-contrast.json +5 -5
  40. package/dist/styleLint/functional/themes/dark-tritanopia.json +4 -4
  41. package/dist/styleLint/functional/themes/dark.json +4 -4
  42. package/dist/styleLint/functional/themes/light-colorblind.json +4 -4
  43. package/dist/styleLint/functional/themes/light-high-contrast.json +5 -5
  44. package/dist/styleLint/functional/themes/light-tritanopia.json +4 -4
  45. package/dist/styleLint/functional/themes/light.json +4 -4
  46. package/package.json +1 -1
  47. package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -6
  48. package/src/tokens/functional/color/dark/patterns-dark.json5 +2 -2
  49. package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -6
  50. package/src/tokens/functional/color/light/patterns-light.json5 +2 -2
@@ -7001,7 +7001,7 @@
7001
7001
  "path": ["button", "primary", "shadow", "selected"]
7002
7002
  },
7003
7003
  "button-invisible-fgColor-rest": {
7004
- "value": "#4493f8",
7004
+ "value": "#e6edf3",
7005
7005
  "$type": "color",
7006
7006
  "$extensions": {
7007
7007
  "org.primer.figma": {
@@ -7014,7 +7014,7 @@
7014
7014
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7015
7015
  "isSource": true,
7016
7016
  "original": {
7017
- "value": "{fgColor.accent}",
7017
+ "value": "{fgColor.default}",
7018
7018
  "$type": "color",
7019
7019
  "$extensions": {
7020
7020
  "org.primer.figma": {
@@ -7030,7 +7030,7 @@
7030
7030
  "path": ["button", "invisible", "fgColor", "rest"]
7031
7031
  },
7032
7032
  "button-invisible-fgColor-hover": {
7033
- "value": "#58a6ff",
7033
+ "value": "#e6edf3",
7034
7034
  "$type": "color",
7035
7035
  "$extensions": {
7036
7036
  "org.primer.figma": {
@@ -7043,7 +7043,7 @@
7043
7043
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7044
7044
  "isSource": true,
7045
7045
  "original": {
7046
- "value": "{base.color.blue.3}",
7046
+ "value": "{fgColor.default}",
7047
7047
  "$type": "color",
7048
7048
  "$extensions": {
7049
7049
  "org.primer.figma": {
@@ -7007,7 +7007,7 @@
7007
7007
  "path": ["button", "primary", "shadow", "selected"]
7008
7008
  },
7009
7009
  "button-invisible-fgColor-rest": {
7010
- "value": "#478be6",
7010
+ "value": "#c5d1de",
7011
7011
  "$type": "color",
7012
7012
  "$extensions": {
7013
7013
  "org.primer.figma": {
@@ -7020,7 +7020,7 @@
7020
7020
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7021
7021
  "isSource": true,
7022
7022
  "original": {
7023
- "value": "{fgColor.accent}",
7023
+ "value": "{fgColor.default}",
7024
7024
  "$type": "color",
7025
7025
  "$extensions": {
7026
7026
  "org.primer.figma": {
@@ -7036,7 +7036,7 @@
7036
7036
  "path": ["button", "invisible", "fgColor", "rest"]
7037
7037
  },
7038
7038
  "button-invisible-fgColor-hover": {
7039
- "value": "#539bf5",
7039
+ "value": "#c5d1de",
7040
7040
  "$type": "color",
7041
7041
  "$extensions": {
7042
7042
  "org.primer.figma": {
@@ -7049,7 +7049,7 @@
7049
7049
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7050
7050
  "isSource": true,
7051
7051
  "original": {
7052
- "value": "{base.color.blue.3}",
7052
+ "value": "{fgColor.default}",
7053
7053
  "$type": "color",
7054
7054
  "$extensions": {
7055
7055
  "org.primer.figma": {
@@ -7021,7 +7021,7 @@
7021
7021
  "path": ["button", "primary", "shadow", "selected"]
7022
7022
  },
7023
7023
  "button-invisible-fgColor-rest": {
7024
- "value": "#73b8ff",
7024
+ "value": "#fbfcfd",
7025
7025
  "$type": "color",
7026
7026
  "$extensions": {
7027
7027
  "org.primer.figma": {
@@ -7034,7 +7034,7 @@
7034
7034
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7035
7035
  "isSource": true,
7036
7036
  "original": {
7037
- "value": "{fgColor.accent}",
7037
+ "value": "{fgColor.default}",
7038
7038
  "$type": "color",
7039
7039
  "$extensions": {
7040
7040
  "org.primer.figma": {
@@ -7050,7 +7050,7 @@
7050
7050
  "path": ["button", "invisible", "fgColor", "rest"]
7051
7051
  },
7052
7052
  "button-invisible-fgColor-hover": {
7053
- "value": "#1e60d5",
7053
+ "value": "#fbfcfd",
7054
7054
  "$type": "color",
7055
7055
  "$extensions": {
7056
7056
  "org.primer.figma": {
@@ -7060,10 +7060,10 @@
7060
7060
  "scopes": ["fgColor"]
7061
7061
  }
7062
7062
  },
7063
- "filePath": "src/tokens/functional/color/dark/overrides/dark.high-contrast.json5",
7063
+ "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7064
7064
  "isSource": true,
7065
7065
  "original": {
7066
- "value": "{base.color.blue.8}",
7066
+ "value": "{fgColor.default}",
7067
7067
  "$type": "color",
7068
7068
  "$extensions": {
7069
7069
  "org.primer.figma": {
@@ -7007,7 +7007,7 @@
7007
7007
  "path": ["button", "primary", "shadow", "selected"]
7008
7008
  },
7009
7009
  "button-invisible-fgColor-rest": {
7010
- "value": "#4493f8",
7010
+ "value": "#e6edf3",
7011
7011
  "$type": "color",
7012
7012
  "$extensions": {
7013
7013
  "org.primer.figma": {
@@ -7020,7 +7020,7 @@
7020
7020
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7021
7021
  "isSource": true,
7022
7022
  "original": {
7023
- "value": "{fgColor.accent}",
7023
+ "value": "{fgColor.default}",
7024
7024
  "$type": "color",
7025
7025
  "$extensions": {
7026
7026
  "org.primer.figma": {
@@ -7036,7 +7036,7 @@
7036
7036
  "path": ["button", "invisible", "fgColor", "rest"]
7037
7037
  },
7038
7038
  "button-invisible-fgColor-hover": {
7039
- "value": "#58a6ff",
7039
+ "value": "#e6edf3",
7040
7040
  "$type": "color",
7041
7041
  "$extensions": {
7042
7042
  "org.primer.figma": {
@@ -7049,7 +7049,7 @@
7049
7049
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7050
7050
  "isSource": true,
7051
7051
  "original": {
7052
- "value": "{base.color.blue.3}",
7052
+ "value": "{fgColor.default}",
7053
7053
  "$type": "color",
7054
7054
  "$extensions": {
7055
7055
  "org.primer.figma": {
@@ -7007,7 +7007,7 @@
7007
7007
  "path": ["button", "primary", "shadow", "selected"]
7008
7008
  },
7009
7009
  "button-invisible-fgColor-rest": {
7010
- "value": "#4493f8",
7010
+ "value": "#e6edf3",
7011
7011
  "$type": "color",
7012
7012
  "$extensions": {
7013
7013
  "org.primer.figma": {
@@ -7020,7 +7020,7 @@
7020
7020
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7021
7021
  "isSource": true,
7022
7022
  "original": {
7023
- "value": "{fgColor.accent}",
7023
+ "value": "{fgColor.default}",
7024
7024
  "$type": "color",
7025
7025
  "$extensions": {
7026
7026
  "org.primer.figma": {
@@ -7036,7 +7036,7 @@
7036
7036
  "path": ["button", "invisible", "fgColor", "rest"]
7037
7037
  },
7038
7038
  "button-invisible-fgColor-hover": {
7039
- "value": "#58a6ff",
7039
+ "value": "#e6edf3",
7040
7040
  "$type": "color",
7041
7041
  "$extensions": {
7042
7042
  "org.primer.figma": {
@@ -7049,7 +7049,7 @@
7049
7049
  "filePath": "src/tokens/functional/color/dark/patterns-dark.json5",
7050
7050
  "isSource": true,
7051
7051
  "original": {
7052
- "value": "{base.color.blue.3}",
7052
+ "value": "{fgColor.default}",
7053
7053
  "$type": "color",
7054
7054
  "$extensions": {
7055
7055
  "org.primer.figma": {
@@ -6987,7 +6987,7 @@
6987
6987
  "path": ["button", "primary", "shadow", "selected"]
6988
6988
  },
6989
6989
  "button-invisible-fgColor-rest": {
6990
- "value": "#0969da",
6990
+ "value": "#1f2328",
6991
6991
  "$type": "color",
6992
6992
  "$extensions": {
6993
6993
  "org.primer.figma": {
@@ -7000,7 +7000,7 @@
7000
7000
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7001
7001
  "isSource": true,
7002
7002
  "original": {
7003
- "value": "{fgColor.accent}",
7003
+ "value": "{fgColor.default}",
7004
7004
  "$type": "color",
7005
7005
  "$extensions": {
7006
7006
  "org.primer.figma": {
@@ -7016,7 +7016,7 @@
7016
7016
  "path": ["button", "invisible", "fgColor", "rest"]
7017
7017
  },
7018
7018
  "button-invisible-fgColor-hover": {
7019
- "value": "#0969da",
7019
+ "value": "#1f2328",
7020
7020
  "$type": "color",
7021
7021
  "$extensions": {
7022
7022
  "org.primer.figma": {
@@ -7029,7 +7029,7 @@
7029
7029
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7030
7030
  "isSource": true,
7031
7031
  "original": {
7032
- "value": "{fgColor.accent}",
7032
+ "value": "{fgColor.default}",
7033
7033
  "$type": "color",
7034
7034
  "$extensions": {
7035
7035
  "org.primer.figma": {
@@ -7001,7 +7001,7 @@
7001
7001
  "path": ["button", "primary", "shadow", "selected"]
7002
7002
  },
7003
7003
  "button-invisible-fgColor-rest": {
7004
- "value": "#023b95",
7004
+ "value": "#010409",
7005
7005
  "$type": "color",
7006
7006
  "$extensions": {
7007
7007
  "org.primer.figma": {
@@ -7014,7 +7014,7 @@
7014
7014
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7015
7015
  "isSource": true,
7016
7016
  "original": {
7017
- "value": "{fgColor.accent}",
7017
+ "value": "{fgColor.default}",
7018
7018
  "$type": "color",
7019
7019
  "$extensions": {
7020
7020
  "org.primer.figma": {
@@ -7030,7 +7030,7 @@
7030
7030
  "path": ["button", "invisible", "fgColor", "rest"]
7031
7031
  },
7032
7032
  "button-invisible-fgColor-hover": {
7033
- "value": "#67b3fd",
7033
+ "value": "#010409",
7034
7034
  "$type": "color",
7035
7035
  "$extensions": {
7036
7036
  "org.primer.figma": {
@@ -7040,10 +7040,10 @@
7040
7040
  "scopes": ["fgColor"]
7041
7041
  }
7042
7042
  },
7043
- "filePath": "src/tokens/functional/color/light/overrides/light.high-contrast.json5",
7043
+ "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7044
7044
  "isSource": true,
7045
7045
  "original": {
7046
- "value": "{base.color.blue.2}",
7046
+ "value": "{fgColor.default}",
7047
7047
  "$type": "color",
7048
7048
  "$extensions": {
7049
7049
  "org.primer.figma": {
@@ -6983,7 +6983,7 @@
6983
6983
  "path": ["button", "primary", "shadow", "selected"]
6984
6984
  },
6985
6985
  "button-invisible-fgColor-rest": {
6986
- "value": "#0969da",
6986
+ "value": "#1f2328",
6987
6987
  "$type": "color",
6988
6988
  "$extensions": {
6989
6989
  "org.primer.figma": {
@@ -6996,7 +6996,7 @@
6996
6996
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
6997
6997
  "isSource": true,
6998
6998
  "original": {
6999
- "value": "{fgColor.accent}",
6999
+ "value": "{fgColor.default}",
7000
7000
  "$type": "color",
7001
7001
  "$extensions": {
7002
7002
  "org.primer.figma": {
@@ -7012,7 +7012,7 @@
7012
7012
  "path": ["button", "invisible", "fgColor", "rest"]
7013
7013
  },
7014
7014
  "button-invisible-fgColor-hover": {
7015
- "value": "#0969da",
7015
+ "value": "#1f2328",
7016
7016
  "$type": "color",
7017
7017
  "$extensions": {
7018
7018
  "org.primer.figma": {
@@ -7025,7 +7025,7 @@
7025
7025
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7026
7026
  "isSource": true,
7027
7027
  "original": {
7028
- "value": "{fgColor.accent}",
7028
+ "value": "{fgColor.default}",
7029
7029
  "$type": "color",
7030
7030
  "$extensions": {
7031
7031
  "org.primer.figma": {
@@ -6983,7 +6983,7 @@
6983
6983
  "path": ["button", "primary", "shadow", "selected"]
6984
6984
  },
6985
6985
  "button-invisible-fgColor-rest": {
6986
- "value": "#0969da",
6986
+ "value": "#1f2328",
6987
6987
  "$type": "color",
6988
6988
  "$extensions": {
6989
6989
  "org.primer.figma": {
@@ -6996,7 +6996,7 @@
6996
6996
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
6997
6997
  "isSource": true,
6998
6998
  "original": {
6999
- "value": "{fgColor.accent}",
6999
+ "value": "{fgColor.default}",
7000
7000
  "$type": "color",
7001
7001
  "$extensions": {
7002
7002
  "org.primer.figma": {
@@ -7012,7 +7012,7 @@
7012
7012
  "path": ["button", "invisible", "fgColor", "rest"]
7013
7013
  },
7014
7014
  "button-invisible-fgColor-hover": {
7015
- "value": "#0969da",
7015
+ "value": "#1f2328",
7016
7016
  "$type": "color",
7017
7017
  "$extensions": {
7018
7018
  "org.primer.figma": {
@@ -7025,7 +7025,7 @@
7025
7025
  "filePath": "src/tokens/functional/color/light/patterns-light.json5",
7026
7026
  "isSource": true,
7027
7027
  "original": {
7028
- "value": "{fgColor.accent}",
7028
+ "value": "{fgColor.default}",
7029
7029
  "$type": "color",
7030
7030
  "$extensions": {
7031
7031
  "org.primer.figma": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/primitives",
3
- "version": "9.0.0-rc.02c27a21",
3
+ "version": "9.0.0-rc.e0216c44",
4
4
  "description": "Typography, spacing, and color primitives for Primer design system",
5
5
  "engines": {
6
6
  "node": ">=18.18.0 <18.19.0"
@@ -412,12 +412,6 @@
412
412
  },
413
413
  },
414
414
  invisible: {
415
- fgColor: {
416
- hover: {
417
- $value: '{base.color.blue.8}',
418
- $type: 'color',
419
- },
420
- },
421
415
  iconColor: {
422
416
  hover: {
423
417
  $value: '{fgColor.onEmphasis}',
@@ -1070,7 +1070,7 @@
1070
1070
  invisible: {
1071
1071
  fgColor: {
1072
1072
  rest: {
1073
- $value: '{fgColor.accent}',
1073
+ $value: '{fgColor.default}',
1074
1074
  $type: 'color',
1075
1075
  $extensions: {
1076
1076
  'org.primer.figma': {
@@ -1082,7 +1082,7 @@
1082
1082
  },
1083
1083
  },
1084
1084
  hover: {
1085
- $value: '{base.color.blue.3}',
1085
+ $value: '{fgColor.default}',
1086
1086
  $type: 'color',
1087
1087
  $extensions: {
1088
1088
  'org.primer.figma': {
@@ -392,12 +392,6 @@
392
392
  },
393
393
  },
394
394
  invisible: {
395
- fgColor: {
396
- hover: {
397
- $value: '{base.color.blue.2}',
398
- $type: 'color',
399
- },
400
- },
401
395
  iconColor: {
402
396
  hover: {
403
397
  $value: '{fgColor.onEmphasis}',
@@ -1062,7 +1062,7 @@
1062
1062
  invisible: {
1063
1063
  fgColor: {
1064
1064
  rest: {
1065
- $value: '{fgColor.accent}',
1065
+ $value: '{fgColor.default}',
1066
1066
  $type: 'color',
1067
1067
  $extensions: {
1068
1068
  'org.primer.figma': {
@@ -1074,7 +1074,7 @@
1074
1074
  },
1075
1075
  },
1076
1076
  hover: {
1077
- $value: '{fgColor.accent}',
1077
+ $value: '{fgColor.default}',
1078
1078
  $type: 'color',
1079
1079
  $extensions: {
1080
1080
  'org.primer.figma': {