-
Notifications
You must be signed in to change notification settings - Fork 0
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
[FEATURE] Set up colours, shadow, spacing and generic variables #348
base: main
Are you sure you want to change the base?
Conversation
f806ccc
to
fa85e9a
Compare
"name": "Poppins", | ||
"slug": "poppins" |
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.
Should we name the fonts here as body
and title
etc? Most sites typically have two fonts so we can easily swap in the fontFamily
above but keep the slug & name the same so that other code doesn't have to change?
} | ||
}, | ||
"typography": { | ||
"fontFamily": "var(--wp--preset--font-family--open-sans)" |
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.
Like here, this font-family doesn't exist right?
{ | ||
"name": "xlarge (40px)", | ||
"size": "40px", | ||
"slug": "xlarge" | ||
}, | ||
{ | ||
"name": "xxlarge (96px)", | ||
"size": "96px", | ||
"slug": "xxlarge" | ||
} |
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.
Should we be using clamp()
for these larger values? I've not looked at the Figma tbh, but seems like we'd benefit from having scaling type-ramps at the largest sizes.
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.
Potentially you could use the custom.spacing
sizes too, to make the whole scale of things change together? Maybe one to chat about in the next UI/UX catchup.
No description provided.