primitives
primitives copied to clipboard
Color, typography, and spacing primitives in json.
## Summary Adding control color contrast checks > [!Warning] > A11y test needs to be run manually to see if it passes as this PR does not change any tokens....
## Summary Fixes https://github.com/github/primer/issues/2216 This PR makes the “Dark” theme’s `fgColor.muted` slightly lighter. This improves secondary text contrast[^1] in hovered ActionMenu items: | Element | Before | After | |:---|:---|:---|...
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
## Summary ## List of notable changes: - ## What should reviewers focus on? - ## Steps to test:
WIP
## Summary Enabling contrast:check for high contrast ## List of notable changes: - ## What should reviewers focus on? - ## Steps to test:
(Do not merge, see demo in https://github.com/github/primer/issues/2008#issuecomment-1604286039) This is a first draft, the implementation is based on running filter functions on generated variables (`tokens-next-private/**/*.css` Example: ```jsx paddingBlock: ({type, name, file})...
This PR adds an action that creates colorsets for swift from the provided color tokens.
DO NOT MERGE