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

Need support for @value declarations #50

Open
SkReD opened this issue Jul 11, 2018 · 1 comment
Open

Need support for @value declarations #50

SkReD opened this issue Jul 11, 2018 · 1 comment

Comments

@SkReD
Copy link

SkReD commented Jul 11, 2018

Problem

Css modules variables values not converted by color function

Example

// index.css
@value transparentBlack: color(#333 a(8%));
//index.js
@import { transparentBlack } from './index.css';

console.log(transparentBlack) 

Intended outcome

rgba(51, 51, 51, 0.36)

Actual outcome

color(#333 a(8%))

@SkReD
Copy link
Author

SkReD commented Jul 11, 2018

Add pull request #51

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

No branches or pull requests

1 participant