Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

littlecrome
Copy link

No description provided.

Comment on lines +255 to +256
"name": "Poppins",
"slug": "poppins"
Copy link
Collaborator

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)"
Copy link
Collaborator

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?

Comment on lines +275 to +284
{
"name": "xlarge (40px)",
"size": "40px",
"slug": "xlarge"
},
{
"name": "xxlarge (96px)",
"size": "96px",
"slug": "xxlarge"
}
Copy link
Collaborator

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.

Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants