We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.0.2
n/a
Windows
We are trying to compile the SASS and having issues.
C:\ProgramData\chocolatey\bin\sass.exe --style compressed --update staff.scss:F:\dev\assets\css\staff.min.css
Compiled CSS
SASS v1.48.0 on Windows
Error: Top-level selectors may not contain the parent selector "&". ╷ 15 │ &.bg-gradient-faded-#{$prop}-vertical{ │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ ..\mdp\3.0.2\scss\material-dashboard_gradients.scss 15:3 @import ..\mdp\3.0.2\scss\material-dashboard\theme.scss 43:9 @import ..\mdp\3.0.2\scss\material-dashboard\theme-pro.scss 20:9 @import staff.scss 16:9
If this issue is because of our version of SASS, please advise which would work.
The text was updated successfully, but these errors were encountered:
A quick update, using node-sass instead of dart sass seems to fix this issue for now.
Sorry, something went wrong.
Hello @nowpc2,
Thank you for using our products, until the next product update we'll ask you to make the following changes:
&
@each $prop, $value in $theme-colors { .bg-gradient-faded-#{$prop}-vertical{ background-image: radial-gradient(200px circle at 50% 70%, rgba($value, .3) 0, $value 100%); } }
Hope that information helps you. Please let us know if we can help you with anything else.
All the best, Stefan
No branches or pull requests
Version
3.0.2
Reproduction link
n/a
Operating System
Windows
Device
n/a
Browser & Version
n/a
Steps to reproduce
We are trying to compile the SASS and having issues.
C:\ProgramData\chocolatey\bin\sass.exe --style compressed --update staff.scss:F:\dev\assets\css\staff.min.css
What is expected?
Compiled CSS
What is actually happening?
SASS v1.48.0 on Windows
Error: Top-level selectors may not contain the parent selector "&".
╷
15 │ &.bg-gradient-faded-#{$prop}-vertical{
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
..\mdp\3.0.2\scss\material-dashboard_gradients.scss 15:3 @import
..\mdp\3.0.2\scss\material-dashboard\theme.scss 43:9 @import
..\mdp\3.0.2\scss\material-dashboard\theme-pro.scss 20:9 @import
staff.scss 16:9
Solution
Additional comments
If this issue is because of our version of SASS, please advise which would work.
The text was updated successfully, but these errors were encountered: