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

[BUG] webpack build color problem #828

Closed
aliqasemzadeh opened this issue Mar 30, 2021 · 0 comments · Fixed by #845
Closed

[BUG] webpack build color problem #828

aliqasemzadeh opened this issue Mar 30, 2021 · 0 comments · Fixed by #845
Assignees
Labels
bug Something isn't working

Comments

@aliqasemzadeh
Copy link

Describe the bug

: You probably don't mean to use the color value white in interpolation here.
It may end up represented as white, which will likely produce invalid CSS.
Always quote color names when using them as strings or map keys (for example, "white").
If you really want to use the color value here, use '"" + $color'.


20 │ .bg-#{$color} {
│ ^^^^^^

node_modules/@tabler/core/src/scss/utils/_colors.scss 20:11 @import
node_modules/@tabler/core/src/scss/_tabler-core.scss 55:9 @import
node_modules/@tabler/core/src/scss/tabler.scss 1:9 @import
resources/sass/app.scss 8:9 root stylesheet

: You probably don't mean to use the color value white in interpolation here.
It may end up represented as white, which will likely produce invalid CSS.
Always quote color names when using them as strings or map keys (for example, "white").
If you really want to use the color value here, use '"" + $color'.


24 │ .text-#{$color} {
│ ^^^^^^

node_modules/@tabler/core/src/scss/utils/_colors.scss 24:13 @import
node_modules/@tabler/core/src/scss/_tabler-core.scss 55:9 @import
node_modules/@tabler/core/src/scss/tabler.scss 1:9 @import
resources/sass/app.scss 8:9

Device

  • Browser : Chrome
  • OS: Windows 10
  • Screen size :any

To reproduce

Steps to reproduce the behavior:
I want to build with laravel mix and I get following error

@aliqasemzadeh aliqasemzadeh added the bug Something isn't working label Mar 30, 2021
@FreexD FreexD assigned FreexD and Veems and unassigned FreexD Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants