-
Notifications
You must be signed in to change notification settings - Fork 47
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 spacing variables #44
Conversation
@AlejandroPerezMartin Can we use more verbose var naming? Prefer --spacing-large cc @joesnellpdx |
Totally agree @barneyjeffries, pushed a commit renaming those variables, thanks! |
@AlejandroPerezMartin This looks good to me now! |
@AlejandroPerezMartin I'm wondering how you would feel about using an 8pt system, rather than 10? I'm not opposed either way, I've just had a good deal of success working with designers in an 8pt grid. @joesnellpdx what do you think?
|
@AlejandroPerezMartin @devinle First, I'd run it by Lea - to see if VisD has a preference if they had to pick. I'd go with 8px for general spacing, but use a default VAR to set it. So, have a default var like this:
For font scale - we may want to default with something based on a type scale - but, again, I'd see what Lea says. CC: @dmtrmrv |
These variables should probably be added to |
@devinle Per @rdimascio comment / pr above - we should determine our next steps and dovetail with our UI Plugin approach. Once we get that in place, we should get reviews from those here and close the other issues / PRs. |
Description of the Change
This PR adds CSS spacing variables.
Benefits
Have consistent spacing and improve maintainability.
Verification Process
Add CSS selector and use any of the variables, for example:
Checklist:
Changelog Entry