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

Add type system #11

Open
GuglielmoPepe opened this issue Jan 19, 2024 · 2 comments
Open

Add type system #11

GuglielmoPepe opened this issue Jan 19, 2024 · 2 comments
Milestone

Comments

@GuglielmoPepe
Copy link
Owner

GuglielmoPepe commented Jan 19, 2024

Goals: The main objective is flexibility: when I want to change the font preset of the theme I must be able to do it mainly through the file theme.json

@GuglielmoPepe GuglielmoPepe added this to the Unreleased milestone Jan 19, 2024
@GuglielmoPepe GuglielmoPepe changed the title Add font families Add type system Feb 8, 2024
@GuglielmoPepe
Copy link
Owner Author

GuglielmoPepe commented Feb 23, 2024

For font sizes:
--wp--preset--font-size--display--[small | medium | large]
--wp--preset--font-size--headline--[small | medium | large]
--wp--preset--font-size--title--[small | medium | large]
--wp--preset--font-size--body--[small | medium | large]
--wp--preset--font-size--label--[small | medium | large]

@GuglielmoPepe
Copy link
Owner Author

For font families:
--wp--preset--font-family--mono
--wp--preset--font-family--primary
--wp--preset--font-family--secondary

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

No branches or pull requests

1 participant