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

SCSS: This variable was not declared #3841

Open
rhoudroge opened this issue Jun 13, 2024 · 0 comments
Open

SCSS: This variable was not declared #3841

rhoudroge opened this issue Jun 13, 2024 · 0 comments

Comments

@rhoudroge
Copy link

rhoudroge commented Jun 13, 2024

This is about Bulma.

Overview of the problem

This is about the Bulma CSS framework and compiling an SCSS file that used to work with v0.9

Description

Hi!
Thanks for the great work maintaining Bulma! I've been very happy using this framework.
I am upgrading from 0.9 to 1.0, and it seems some customisation variables have disappeared, such as $navbar-item-color with SASS now showing this error: Error: This variable was not declared with !default in the @used module.
Could you please let me know how to deal with these variables, I have a number of them in my source file?
Thanks!

Steps to Reproduce

  1. Define the above variable in the scss file when importing navbar using the with directive
  2. Compile the SCSS file

Expected behavior

SCSS compiles correctly

Actual behavior

The actual compilation results in the above error.

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