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

Create css var lib #72

Closed
chrisvdm opened this issue Feb 24, 2022 · 1 comment
Closed

Create css var lib #72

chrisvdm opened this issue Feb 24, 2022 · 1 comment
Labels
feature A brand new feature

Comments

@chrisvdm
Copy link
Collaborator

chrisvdm commented Feb 24, 2022

Create css var lib to store constants
example:

{
  --padding: var(--size-3);
}

Example of constants: padding, typography, colour-palette, site-content-width

@jtoar
Copy link
Contributor

jtoar commented Mar 11, 2022

@chrisvdm Even though it's small, should we close this one now that we've got some code in https://github.com/redwoodjs/example-store-stripe/blob/main/web/src/index.css?

:root {
--link: var(--pink-4);
--padding: var(--size-3);
}

#119 also adds a few. We can keep updating our CSS changes in #52.

@jtoar jtoar added the feature A brand new feature label Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A brand new feature
Projects
None yet
Development

No branches or pull requests

2 participants