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

NPM download DIST folder all.scss Invalid CSS during compile #3621

Open
Tracked by #4176
keyofj opened this issue May 26, 2022 · 2 comments
Open
Tracked by #4176

NPM download DIST folder all.scss Invalid CSS during compile #3621

keyofj opened this issue May 26, 2022 · 2 comments
Labels
Bug Something isn't working T:Bootstrap Kendo Theme Bootstrap

Comments

@keyofj
Copy link

keyofj commented May 26, 2022

When using the all.scss file from the DIST folder for the Bootstrap package the WebCompiler in Visual Studio 2019 throws the following errors:

In exports( "list/theme" )
Line: 9212: Invalid CSS - there is an extra comma at the end of the line.
Line: 9264: Invalid CSS - there is an extra comma at the end of the line.

I fixed these by removing the comma in my local environment.

In exports( "button/theme" )
// Focus state
When setting box-shadow the rgba function throws error:
argument $color of rgba($color, $alpha) must be a color

It appears that the variable $_button-border is built from the the function try-darken Line 413.
If I add @debug before the call it tells me that the values are:

get-function("try-darken")(#0d6efd, 0)

I haven't stated to change any variables for this file at all, I am only importing it.

My gut tells me it is an issue with the Web Compiler and not the SCSS, but I wanted to ask you first. I tried using node-sass but can't use it in our envrionment, I am stuck with the WebCompiler.

I was able to copy the code into the online compiler at beautifytools.com and it built fine.

Any thoughts?

To reproduce

  1. Create blank scss file
  2. Import all.scss: @import "kendoui/bootstrap/all.scss";
  3. Compile file.

Expected behavior
Compile without errors.

Affected package (please remove the unneeded items)

  • theme-bootstrap

Affected suites (please remove the unneeded items)

  • Kendo UI for jQuery

Affected browsers (please remove the unneeded items)

  • Not Applicable

Build system information (please remove the unneeded items)

  • OS: [Windows 64-bit]
  • Node version: 16.15.0
  • NPM version: 8.5.5
@keyofj keyofj added the Bug Something isn't working label May 26, 2022
@KimBum
Copy link

KimBum commented Jul 25, 2022

Just out of interest, which version of the theme-bootstrap package are you running?

@keyofj
Copy link
Author

keyofj commented Jul 25, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working T:Bootstrap Kendo Theme Bootstrap
Projects
None yet
Development

No branches or pull requests

3 participants