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
This is about Bulma.
I am not quite sure if this is a bug or a feature (i.e. done on purpose).
I'm using Bulma 1.0.0 This is a Sass issue: I'm using version [1.0.0] I am sure this issue is not a duplicate
If I only include the main Bulma file (@use bulma/sass/_index.scss), I cannot use mixins like the following:
@use bulma/sass/_index.scss
@include mixins.until(451px) font-size: 75%
Create your own sample.sass file and use a Bulma mixin:
@use bulma/sass/_index.scss .sample @include mixins.until(451px) font-size: 75%
It works, i.e., the corresponding CSS is compiled.
Error: Undefined mixin. ╷ │ ┌ @include mixins.until(451px) │ └ font-size: 75% ╵
@use bulma/sass/_index.scss @use bulma/sass/utilities/mixins.scss .sample @include mixins.until(451px) font-size: 75%
bulma/sass/_index.scss --> bulma/sass/utilities/_index.scss -///-> bulma/sass/utilities/mixins.scss
bulma/sass/_index.scss --> bulma/sass/utilities/_index.scss --> bulma/sass/utilities/mixins.scss
Maybe there is some good reason for it, but I would forward mixins.scss inside bulma/sass/utilities/_index.scss:
mixins.scss
bulma/sass/utilities/_index.scss
@forward "mixins"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is about Bulma.
I am not quite sure if this is a bug or a feature (i.e. done on purpose).
Overview of the problem
I'm using Bulma 1.0.0
This is a Sass issue: I'm using version [1.0.0]
I am sure this issue is not a duplicate
Description
If I only include the main Bulma file (
@use bulma/sass/_index.scss
), I cannot use mixins like the following:Steps to Reproduce
Create your own sample.sass file and use a Bulma mixin:
Expected behavior
It works, i.e., the corresponding CSS is compiled.
Actual behavior
Workaround
Create your own sample.sass file and use a Bulma mixin:
Solution
Actual Forwarding Chain
bulma/sass/_index.scss --> bulma/sass/utilities/_index.scss -///-> bulma/sass/utilities/mixins.scss
Expected Forwarding Chain
bulma/sass/_index.scss --> bulma/sass/utilities/_index.scss --> bulma/sass/utilities/mixins.scss
Maybe there is some good reason for it, but I would forward
mixins.scss
insidebulma/sass/utilities/_index.scss
:The text was updated successfully, but these errors were encountered: