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
Error Lexical error on line 1: Unrecognized text. CompileError: Begins at CSS selector undefined
in icons.scss all calcs are wrong, they must be between # {}
maybe all ui kit have the same error
fail
width: calc(100% - $icon-size-xl - 1); width: calc(100% - $icon-size - 1); width: calc(100% - $icon-size-lg - 1); width: calc(100% - $icon-size-sm - 1); width: calc(100% - $icon-size-xs - 1);
solution
width: calc(100% - #{$icon-size-xl} - 1); width: calc(100% - #{$icon-size} - 1); width: calc(100% - #{$icon-size-lg} - 1); width: calc(100% - #{$icon-size-sm} - 1); width: calc(100% - #{$icon-size-xs} - 1);
Full Code
.icon { width: $icon-size; height: $icon-size; i, svg { font-size: $icon-size - .75; } } .icon + .icon-text { padding-left: 1rem; width: calc(100% - #{$icon-size} - 1); } .icon-xl { width: $icon-size-xl; height: $icon-size-xl; i, svg { font-size: $icon-size-xl - .75; } } .icon-xl + .icon-text { width: calc(100% - #{$icon-size-xl} - 1); } .icon-lg { width: $icon-size-lg; height: $icon-size-lg; i, svg { font-size: $icon-size-lg - .75; } } .icon-lg + .icon-text { width: calc(100% - #{$icon-size-lg} - 1); } .icon-sm { width: $icon-size-sm; height: $icon-size-sm; i, svg { font-size: $icon-size-sm - .75; } } .icon-sm + .icon-text { width: calc(100% - #{$icon-size-sm} - 1); } // Extra Small icon .icon-xs { width: $icon-size-xs; height: $icon-size-xs; i, svg { font-size: $icon-size-xs - .75 !important; } + .icon-text { width: calc(100% - #{$icon-size-xs} - 1); } } // Icons included in shapes .icon-shape { padding: 12px; text-align: center; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; i, svg { font-size: 1.25rem; } &.icon-lg { i, svg { font-size: 1.625rem; } } &.icon-sm { i, svg { font-size: .875rem; } } svg { width: 30px; height: 30px; } } @each $color, $value in $theme-colors { .icon-shape-#{$color} { @include icon-shape-variant(theme-color($color)); } }
The text was updated successfully, but these errors were encountered:
Hi @zkmark,
Thank you for pointing us this issue.
We added it to the list of fixes for the next update.
All the best, Rares
Sorry, something went wrong.
Hi @iqbol-jon,
Thank you for working with our products.
Can you please give me more information about your issue?
Best regards, Rares
No branches or pull requests
Error
Lexical error on line 1: Unrecognized text.
CompileError: Begins at CSS selector undefined
in icons.scss all calcs are wrong, they must be between # {}
maybe all ui kit have the same error
fail
solution
Full Code
The text was updated successfully, but these errors were encountered: