Theme Builder Overview
The Theme Builder is a web application which enables you to create new or customize existing themes.
It renders the same look and feel as the look and feel of all other components in the suite and delivers full control over their visual elements. After you create or customize your theme, you can download it and integrate it in your project.
Creating New Themes
To create a new theme:
- Go to the Theme Builder application.
- Select the Start Theming option.
- Choose one of the existing themes to serve as a starting point.
- Select the components which you intent to style. You can also change the selection at a later stage.
Complex KendoReact components, such as the Grid, rely on other components to deliver their full set of features. If you select the Grid, then all of its components dependencies styles (Button, AutoComplete, DropDownList, DatePicker, etc.) will also be included in the final bundle. The Theme Builder automatically updates the styling on all required components so that you do not need to customize each of them separately.
Customizing Existing Themes
To customize an existing theme, use any of the styling options the Theme Builder delivers.
Available Options
- Color pickers—Customize the appearance of the components.
- The Apply changes instantly option—Enables you to observe the changes on the fly.
- Manual updates of the component elements.
- Predefined color swatches.
Theme Editing
To edit an existing theme:
- Go to the Theme Builder application.
- Select Import Theme.
- Upload the
variables.scss
file. It contains your current updates of the customized theme. As a result, the selected components and styling elements are loaded. - Start customizing your theme by using the Theme Builder features your project requires.
Using the Themes in Your Project
When you finish customizing the theme, you can start using it in your project:
Download the theme files by clicking the Download button.
Register the downloaded theme in your project:
To use the complete theme for all components, include the
THEME_NAME.css
file as precompiled CSS.To use the theme as SCSS, include the
variables.scss
file in the build process of your application:// Import configuration from the theme builder @import 'variables.scss'; // Import the base theme @import '~@progress/kendo-theme-default/scss/all';
If you include the
bootstrap
framework from its source, make sure to includekendo-theme-bootstrap
and any ThemeBuilder output before you import thebootstrap
framework:@import "variables"; @import "~@progress/kendo-theme-bootstrap/scss/all"; @import "~bootstrap/scss/bootstrap";