Overview of the Classic Theme
The Telerik and Kendo UI Classic theme is a fully-customizable SCSS-based theme for the Telerik and Kendo UI components.
The theme is a Sass variant of the obsolete Kendo Less Classic theme. It provides various theme swatches that are inspired by some of the obsolete Kendo Less themes. By choosing the Classic theme or its swatches, you can apply a modernized look and feel to the UI components and still keep their resemblance with the obsolete Less themes.
To get the Telerik and Kendo UI Classic theme, you can use the available npm package, CDN link, or GitHub repository.
Getting Started
The fastest way to apply the out-of-the-box Telerik and Kendo UI Classic theme is to reference the theme stylesheets that are located on a CDN. Alternatively, you can install the theme as an npm package—this approach allows you to customize the theme.
Using the CDN Link
To use the Telerik and Kendo UI Classic theme without customizing it, reference the precompiled CSS file URL for the required theme version and swatch in the head
section of your application, for example:
<link
rel="stylesheet"
href="https://unpkg.com/@progress/kendo-theme-classic@10.0.0/dist/classic-main.css"
/>
In the above URL, @10.0.0
specifies the theme version and main
is the swatch name. To preview the appearance of the available built-in theme swatches, visit the online demos for the Telerik or Kendo UI product that you are using.
To obtain the CDN URL for a specific theme version and swatch:
- Visit @progress/kendo-theme-classic on UNPKG.
- Select a version at the top-right.
- Open the
dist
folder. - Open the required CSS file, for example, classic-main.css.
- Click the View Raw button, for example, here is the CDN URL for
classic-main.css
.
It is possible to reference a swatch URL without a version, which will load the latest one automatically. This is strictly not recommended in production applications.
While using the precompiled CSS file is faster than compiling the theme from the source code, the approach has two drawbacks:
- The precompiled CSS file contains the CSS code for all components—even for components that you do not use in your application.
- The precompiled CSS file does not support customizations through SCSS variables because they are no longer present in the theme. To customize the theme, you must rebuild it by using the provided source code.
Installing the NPM Package
To install the Telerik and Kendo UI Classic theme in your project, use the provided npm package. After installing it, you can customize the stylesheets.
npm install --save @progress/kendo-theme-classic
To use the theme in your application, import it into your project styles:
// Import the entire theme
@use "@progress/kendo-theme-classic/scss/all.scss" as *;
Using the Figma Kit
The Telerik and Kendo UI Classic theme comes with a free UI kit for Figma that includes all Telerik and Kendo UI components. To learn more about the available UI kits and how to use them, see the Design Kits for Figma article.
Framework-Specific Documentation
For specific information about how to implement the Classic theme in the context of the Telerik and Kendo UI libraries, refer to the official product documentation: