Kendo UI theme, based on Bootstrap v4
Перейти к файлу
Magdalena Grigorova 076569d551 feat(button): add styles for outline button 2017-03-20 09:46:01 +02:00
build chore: introduce dependency on kendo-theme-default@2.x 2017-01-24 16:31:27 +02:00
demo feat: Add styles for Diagram 2016-11-11 16:13:59 +02:00
docs feat(button): add styles for outline button 2017-03-20 09:46:01 +02:00
scss feat(button): add styles for outline button 2017-03-20 09:46:01 +02:00
.gitignore chore: add .vscode/ and debug.log to .gitignore 2017-02-20 21:20:01 +02:00
.npmignore feat: publish package with @progress prefix 2017-01-24 15:23:22 +02:00
.sassdocrc docs: fix theme name in customization help topic 2017-03-16 14:03:25 +02:00
.travis.yml chore: update default theme prior to build 2017-02-28 17:36:16 +02:00
README.md chore: introduce dependency on kendo-theme-default@2.x 2017-01-24 16:31:27 +02:00
package.json chore: add sassdoc dependency 2017-03-16 10:28:22 +02:00
webpack.config.js feat: publish package with @progress prefix 2017-01-24 15:23:22 +02:00

README.md

Bootstrap v4 Integration for Kendo UI Widgets

TLDR: Theme Kendo UI widgets based on Bootstrap.

Longer version: The project aims to provide a Bootstrap theme for the Kendo UI widgets, which uses the same variables as Bootstrap to achieve mostly the same appearance and size.

Building

Install the build dependencies via npm install. Run npm run build to build the css.

Customizing

All variable handling happens in _bootstrap-map.scss and it loads Bootstrap variables from the default location, e.g. node_modules/bootstrap/scss/_variables.scss.

If you have a customized version of Bootstrap, you need to specify the location in _bootstrap-map.scss. Then, build as usual.

Troubleshooting

Since Bootstrap is loaded as an npm module pointing directly to the v4 branch, it's not impossible for something to break after update.

If it's a mapped variable, you can patch it directly in _bootstrap-map.scss. If it's an explicit variable, you need to patch all files.

In any case, you can open an issue.

Under the Hood

To ensure some sort of compatibility, Bootstrap variables are mapped locally. Further more, this enables us to use an ad-hoc micro framework based on primitive widgets, e.g. button, input, node etc.

Not all variables are mapped though. Some, like $tooltip-arrow-width, used in the tooltip, are referenced explictly, because they don't fit within the aforementioned framework.