Skip to content

exported colors strange error #3

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

Open
sobolevn opened this issue Apr 23, 2019 · 0 comments
Open

exported colors strange error #3

sobolevn opened this issue Apr 23, 2019 · 0 comments

Comments

@sobolevn
Copy link

sobolevn commented Apr 23, 2019

I am facing this error with this file:

$color-white: rgb(255, 255, 255);

:export {
  // Error here:
  $var-color-white: $color-white;
}

Error text:

client/scss/_variables.scss
 5:3  ✖  Unexpected indistinguishable   plugin/stylelint-no-indistinguishable-colors
          colors "white" and "rgb(255, 255, 255)".

Full setup: https://github.com/wemake-services/wemake-frontend-styleguide/tree/master/packages/stylelint-config-scss

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