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

SassError on background-color: rgb(from #cce9ff r g b / 50%); #3476

Open
bandersen22000 opened this issue Nov 30, 2023 · 1 comment
Open
Labels
FAQ Frequently Asked Questions

Comments

@bandersen22000
Copy link

What version of rsuite are you using?

5.46.0

What version of React are you using?

17

What version of TypeScript are you using (if any)?

4.8.3

What browser are you using?

Chrome

Describe the Bug

I am using "sass": "^1.54.7",

Module build failed (from ../../node_modules/sass-loader/dist/cjs.js):
SassError: Only 3 elements allowed, but 5 were passed.

3088 │ background-color: rgb(from #cce9ff r g b / 50%);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src\styles\rsuite.css 3088:21 root stylesheet

CompileError

Expected Behavior

That I don´t get a sass error. Please correct the stylings. The error occurs multiple times in the rsuite.css file.

To Reproduce

No response

@simonguo
Copy link
Member

simonguo commented Dec 1, 2023

Hi @bandersen22000
This is the relative color syntax feature of CSS. The latest version of Sass already supports it. Please try upgrading the Sass version. sass/sass#3673

@simonguo simonguo added the FAQ Frequently Asked Questions label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ Frequently Asked Questions
Projects
None yet
Development

No branches or pull requests

2 participants