-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat: tokens pkg for css variables #518
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this looks good, it accomplishes quickly what we're looking for. One thing to call out, this will include a limited set of reset styles which may be unexpected for folks if they are only expecting vars and fonts
:root {
--base: 16px;
line-height: var(--wpds-lineHeights-meta);
}
* {
box-sizing: border-box;
}
*:focus-visible {
outline: 1px auto Highlight;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
*:focus-visible {
outline: 1px auto -webkit-focus-ring-color;
}
}
html {
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
}
body {
margin: 0;
font-family: var(--wpds-fonts-meta);
}
What I did