-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
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
USWDS-Elements: Test Tokens repo as CSS Props [DEMO] #126
base: develop
Are you sure you want to change the base?
Conversation
@mahoneycm thanks for creating this demo. Is there a cloud pages preview link for this? |
@mejiaj Unfortunately I haven't been able to get it to work. I think the CircleCI dependency install task is failing because of the link to the GH branch. Because of this, I don't think the federalist preview ever builds. |
@mahoneycm in the future, please flag internally if you see this issue so we can address. In the meantime, I've emailed cloud.gov pages support and CC'd Matt. |
Solution
This demo shows a proof of concept using USWDS tokens as CSS props for USWDS web components.
Custom Props were output from tokens package to
src/core/tokens/custom-props/color.css
Testing and review
color.css
/tokens/custom-props/colors.css