Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Custom properties inside classes #47

Closed
lukasoppermann opened this issue Jun 7, 2016 · 3 comments
Closed

Custom properties inside classes #47

lukasoppermann opened this issue Jun 7, 2016 · 3 comments

Comments

@lukasoppermann
Copy link

Hey,

if I am not mistaken the following should be possible (currently works in chrome).

.class{
  --color: red;
  color: var(--color);
}

However it is currently not supported in this plugin. Any reason? Could you support it? This would be awesome for conditional styling, e.g. notices with states like .error, .warning, etc.

@MoOx
Copy link
Contributor

MoOx commented Jun 7, 2016

Please read the README.

@MoOx MoOx closed this as completed Jun 7, 2016
@lukasoppermann
Copy link
Author

Sorry, I did, but somehow did not really think about it enough, as the example above would not pose a problem, but when you use the .error classes, of course it would.

@minimit
Copy link

minimit commented Oct 7, 2019

Relevant thread: #1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants