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

Organise CSS variables #59

Open
robb-j opened this issue May 8, 2024 · 0 comments
Open

Organise CSS variables #59

robb-j opened this issue May 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@robb-j
Copy link
Member

robb-j commented May 8, 2024

These are my first thoughts on organising the CSS variables in alembic. I'm thinking they should be namespaced to the thing they are used on and introduce axioms to be used across multiple things.

--color-foreground
    → --box-layout-foreground
    → --reel-layout-foreground

--color-background
    → --box-layout-background
    → --reel-layout-background

--border-thin
    → --box-border-thin

And we could consider these as axioms too

  • --stroke — the colour of the primary content you're looking at, e.g. the text, border or icon
  • --canvas — the colour that is behind the stroke, what you're drawing onto, e.g. the background colour
  • --boundary — the minimum width of a line that will clearly separate two adjacent elements
@robb-j robb-j added the enhancement New feature or request label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant