You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
nandac
changed the title
How to set
How to set the value of one predefined SASS variable to another
Jul 21, 2024
nandac
changed the title
How to set the value of one predefined SASS variable to another
How to set the value of one predefined SASS variable to another predefined SASS variable
Jul 21, 2024
@SebConejo I have not found a way to do this, and I believe it is because the @use and @forward directives in CSS expect literal values and do not quite understand SASS variables. I may be wrong but this is what I think is happening.
Overview of the problem
This is about the Bulma CSS framework
I'm using Bulma version [1.0.1]
My browser is: Google Chrome
This is a Sass issue: I'm using version [1.77.8]
Description
When I was using Bulma 0.9.4 I could customise colors using Bulma's predefined colours for example something like this:
$body-background-color: $grey
With Bulma 1.0.1 I have code like the following:
but when I compile it with SASS I get the following error:
I can set
$body-background-color
to a literal color, or a Bulma pre-defined CSS variable but not a pre-defined SASS variable.I know I probably do not understand how this works now in the new version and need some help to understand and how to do thi now.
Steps to Reproduce
Use the following code below in scss file and compile with sass:
Expected behaviour
$grey
should be available when I compile and not throw an error.Actual behaviour
when I compile it with SASS I get the following error:
The text was updated successfully, but these errors were encountered: