Skip to content

Commit 6aa4c38

Browse files
authored
docs(common): Update information about custom themes and color variables (#2103)
* docs(themes): Polish Themes documentation with Color System info * docs(themes): Color-related updates * Update knowledge-base/common-theme-customization-options.md
1 parent 40643ba commit 6aa4c38

File tree

7 files changed

+101
-723
lines changed

7 files changed

+101
-723
lines changed

_contentTemplates/common/general-info.md

-39
Original file line numberDiff line numberDiff line change
@@ -10,45 +10,6 @@ Make sure that you have a NuGet feed source with the version you want to upgrade
1010
The `Format` is culture-specific and the same format may produce different results depending on the culture. You can find more information and examples in the [Supported Date Formats]({%slug components/dateinput/supported-formats%}) article.
1111
#end
1212

13-
#cdn
14-
You can reference the built-in Telerik assets like the JS Interop file and the theme stylesheets from a cloud CDN instead of a local resource on your server.
15-
16-
* The [Telerik UI for Blazor CDN]({%slug themes-swatch-distribution%}#telerik-blazor-cdn) distributes the most common [swatches]({%slug themes-swatches%}) for each base theme.
17-
* The additional Themes CDN distributes [all available swatches for the built-in themes]({%slug themes-swatches%}#built-in-themes-and-swatches-list).
18-
19-
<div class="skip-repl"></div>
20-
21-
````CSHTML
22-
<!DOCTYPE html>
23-
<html>
24-
<head>
25-
. . .
26-
<!-- Choose only one of the themes -->
27-
28-
<link rel="stylesheet" href="https://blazor.cdn.telerik.com/blazor/{{site.uiForBlazorLatestVersion}}/kendo-theme-default/all.css" />
29-
30-
<!--
31-
<link href="https://blazor.cdn.telerik.com/blazor/{{site.uiForBlazorLatestVersion}}/kendo-theme-bootstrap/all.css" rel="stylesheet" />
32-
<link href="https://blazor.cdn.telerik.com/blazor/{{site.uiForBlazorLatestVersion}}/kendo-theme-material/all.css" rel="stylesheet" />
33-
-->
34-
35-
<script src="https://blazor.cdn.telerik.com/blazor/{{site.uiForBlazorLatestVersion}}/telerik-blazor.min.js" defer></script>
36-
</head>
37-
38-
. . .
39-
40-
</html>
41-
````
42-
43-
44-
>important Make sure that the version in the URLs matches the version of the Telerik UI for Blazor package.
45-
46-
>tip If you decide to use a CDN over static assets, you may want to implement a [fallback]({%slug common-kb-cdn-fallback%}) if the CDN is unavailable to your users.
47-
48-
49-
#end
50-
51-
5213

5314
#vsx-download
5415
You can get the extension from:

0 commit comments

Comments
 (0)