We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sx
A no-theme-access-out-of-context rule would keep you from doing this:
import {theme, Box} from '@primer/components' <Box width={theme.sizes.large} />
And auto-fix it to:
<Box width="large" />
The text was updated successfully, but these errors were encountered:
From planning: we should add docs to primer.style/react to warn against this usage.
Sorry, something went wrong.
Related to primer/react#2020. @siddharthkp when/if the ADR is merged, could you please take a look at this?
siddharthkp
No branches or pull requests
A no-theme-access-out-of-context rule would keep you from doing this:
And auto-fix it to:
The text was updated successfully, but these errors were encountered: