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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

SassError: Incompatible units ? #3290

Open
MH-YANG6 opened this issue Aug 25, 2022 · 0 comments
Open

SassError: Incompatible units ? #3290

MH-YANG6 opened this issue Aug 25, 2022 · 0 comments

Comments

@MH-YANG6
Copy link

node-sass not support this code format 馃ズ?
@include defineColorHSL(--01-fill-07-neutral-neutral-50-75, 215, 100%, 80%);

--01-fill-neutral-neutral-50-75 (success)鉁旓笍
--01-07-neutral-neutral-50-75 (success)鉁旓笍

--01-fill-07-neutral-neutral-50-75 (fail)鉁栵笍
--01-07-neutral-neutral-50-75-fill (fail)鉁栵笍

>  ERROR in ./src/styles/main.scss (./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/postcss-loader/src??ref--5-2!./node_modules/sass-loader/dist/cjs.js??ref--5-3!./src/styles/main.scss)
> Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
> SassError: Incompatible units: '-neutral-neutral' and '-fill'.
>         on line 169 of src/styles/variables-theme/_lv-ls.scss
>         from line 13 of /Users/leo_yang/go/src/gitlab.paradise-soft.com.tw/design/stationary-website/ttmj/src/styles/main.scss
> >>   @include defineColorHSL(--01-fill-07-neutral-neutral-50-75, 215, 100%, 80%
>    --------------------------^ 
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