Kendo-angular: Bootstrap theme

Created on 2 Feb 2017  路  9Comments  路  Source: telerik/kendo-angular

Currently the undocumented package @progress/kendo-theme-bootstrap is under heavy development, and is not intended to be used. Use the @progress/kendo-theme-default package instead.

As we progress towards a more stable release, the theme will be included in the Kendo UI for Angular site, and this issue will be closed. To receive a notification when the theme is shipped, subscribe to this thread.

Most helpful comment

@moyzes the closed issues are duplicates. We have shipped a beta version of the Bootstrap theme, which can be seen in action on the site. Details on how to use the theme will be available with the next website upload, later today, and this issue will be closed.

All 9 comments

The closed tickets mean the theme is ready for use?

@moyzes the closed issues are duplicates. We have shipped a beta version of the Bootstrap theme, which can be seen in action on the site. Details on how to use the theme will be available with the next website upload, later today, and this issue will be closed.

The 2.0.0-beta.4 version of the Bootstrap theme is now released, and the styling information has been updated.

Can't build the theme @progress/[email protected].

When I call "npm run build", there is a webpack error: webpack --optimize-minimize --bail --> Output filename not configured.

@EricSch the current implementation of the Bootstrap theme is in the v2 branch, so the build process is there, too. Once the version hits 2.0, it will be merged to the master branch.

This means?

  • For customizing I clone the v2 repository (https://github.com/telerik/kendo-theme-bootstrap/tree/v2)?
  • For just using it, I include the @progress/[email protected] package?

Txs

Yes, with a side-note that if you are using angular-cli or a Webpack build, you can use or customize the theme without cloning the repository. Just redefine one of the available variables and include the SCSS from the package.

Since you reported having problems with building the theme through npm run build, the build process is available only when you clone the repository.

All available styling options are documented in the styling overview topic.

@gyoshev I am able to customize using $button-bg: #818181; while placed before the import of the default theme, but as soon as I change the import to the bootstrap theme, I get nothing. I see the bootstrap theme, but no custom colors. Any ideas would be greatly appreciated.

@import "~@progress/kendo-theme-default/scss/all";
vs
@import "~@progress/kendo-theme-bootstrap/dist/all";

From my package.json
"@progress/kendo-theme-bootstrap": "^2.4.0",
"@progress/kendo-theme-default": "^2.37.0",

@isatemple to modify a theme, refer to its scss/all file -- it contains the theme source, and is compiled against the defined variables. The dist/all file contains the compiled CSS, which does not use the variables.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jiangen1016 picture jiangen1016  路  16Comments

alexeykostevich picture alexeykostevich  路  16Comments

meriturva picture meriturva  路  19Comments

papushe picture papushe  路  14Comments

simon11196 picture simon11196  路  17Comments