Skip to content

Bootstrap theme does not work with [email protected] #520

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

Closed
altso opened this issue Dec 28, 2018 · 4 comments
Closed

Bootstrap theme does not work with [email protected] #520

altso opened this issue Dec 28, 2018 · 4 comments
Labels
T: Bootstrap Kendo Theme Bootstrap
Milestone

Comments

@altso
Copy link

altso commented Dec 28, 2018

Current behavior

@progress/[email protected] does not work along with [email protected]. I get a compilation error:

> ng build

Date: 2018-12-28T18:29:52.304Z
Hash: 55b11cdf650097cd5ced
Time: 43559ms
chunk {main} main.js, main.js.map (main) 8.53 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 223 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 16.4 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 3.11 MB [initial] [rendered]

ERROR in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--14-3!./src/styles.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):

undefined
           ^
      Argument `$color` of `rgba($color, $alpha)` must be a color
      in C:\Temp\ankenboot\node_modules\@progress\kendo-theme-bootstrap\scss\menu\_theme.scss (line 2, column 13)

Expected behavior

ng build completes successfully without any errors

Minimal reproduction of the problem with instructions

Please see repo here: https://github.com/altso/ankenboot

What is the motivation or use case for changing the behavior?

To have an ability to stay on the latest version of bootstrap.

Environment

Product:

  • Kendo Ui for Angular

Package versions:

Browser:
N/A

System:

  • TypeScript version: 2.7.2
  • Node version: v10.13.0 (6.5.0)
  • Platform: Windows

The same code works just fine with [email protected]

@elena-gancheva elena-gancheva added the T: Bootstrap Kendo Theme Bootstrap label Jan 3, 2019
@merobal
Copy link

merobal commented Jan 11, 2019

This is the error message with "@progress/kendo-theme-bootstrap": "3.0.0" and "bootstrap": "4.2.1" (latest Angular stack) on ng serve:

$menu-text: rgba( $header-text, .5 ) !default;
           ^
      Argument `$color` of `rgba($color, $alpha)` must be a color
      in /mnt/c/Github/[project_name]/node_modules/@progress/kendo-theme-bootstrap/scss/menu/_theme.scss (line 2, column 13)

(And works good with "bootstrap": "4.1.3")

@merobal
Copy link

merobal commented Jan 14, 2019

It's still an issue with "@progress/kendo-theme-bootstrap": "3.1.0", same error message.

@merobal
Copy link

merobal commented Jan 14, 2019

This issue maybe introduced by twbs/bootstrap#27681 via this line: twbs/bootstrap@303121f#diff-d8ee409a461718bfb6240710c8c73382R798

@joneff
Copy link
Contributor

joneff commented Feb 25, 2019

fixed by twbs/bootstrap@5adcfe9. Note: you don't need to update kendo-theme-bootstrap. Just bootstrap.

@joneff joneff closed this as completed Feb 25, 2019
@joneff joneff added this to the 2019.2 milestone Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: Bootstrap Kendo Theme Bootstrap
Projects
None yet
Development

No branches or pull requests

4 participants