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

Resolve :root variables when combined with class definitions #224

Open
blvdmitry opened this issue Jul 23, 2020 · 0 comments
Open

Resolve :root variables when combined with class definitions #224

blvdmitry opened this issue Jul 23, 2020 · 0 comments

Comments

@blvdmitry
Copy link

@blvdmitry blvdmitry commented Jul 23, 2020

I've seen a couple of issues about resolving variables attached to specific classes and that's true indeed that it's impossible to resolve nesting cases in build time. My use case is a bit different from this, but similar topic:

:root, .foo {
  --color-red: red;
}

Couldn't make this definition work in the build time even for :root, while it should be possible to resolve at least that part in the build time.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.