Topic: RGB function not found: Sass does not compile when included in project as instructed
prabindeka free asked 2 years ago
Expected behavior $box-shadow-1: 0 0px 2px 0 rgb(0 0 0 / 7%), 0 1px 1px 0 rgb(0 0 0 / 4%) should compile when the sass folder is included in the project.
Actual behavior
Sass does not have a rgb function but has a rgba(x,y,z,a) function
Resources (screenshots, code snippets etc.)
web-direct_1 | ActionView::Template::Error (Error: Function rgb is missing argument $green.
web-direct_1 | on line 7:9 of app/assets/stylesheets/mdb/mdb.free.scss
web-direct_1 | from line 24:9 of app/assets/stylesheets/application.scss
web-direct_1 | >> $box-shadow-1: 0 0px 2px 0 rgb(0 0 0 / 7%), 0 1px 1px 0 rgb(0 0 0 / 4%) !def
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 4.4.0
- Device: Desktop
- Browser: Chrome
- OS: Mac
- Provided sample code: No
- Provided link: No
Grzegorz Bujański staff commented 2 years ago
What framework or bundler are you using? Does this framework / bundler use
node-sass
ordart-sass
to compile scss?