Skip to content

Commit 8c57b89

Browse files
authored
Update overview.md
1 parent 59e0053 commit 8c57b89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

styling-and-themes/overview.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ You can explore and compare the built-in theme swatches on the [live Telerik UI
5858

5959
## Using a Theme
6060

61-
To register a theme, you must reference its stylesheet in the `<head>` of the web page. The exact project file that contains the `<head>` tag depends on the .NET version and the Blazor application type. See our [Getting Started guides](slug:blazor-overview#getting-started) for more information.
61+
To register a theme:
62+
63+
* Reference its stylesheet in the `<head>` of the web page. The exact project file that contains the `<head>` tag depends on the .NET version and the Blazor application type. See our [Getting Started guides](slug:blazor-overview#getting-started) for more information.
64+
* Set the `k-body` CSS class to the root HTML element of your app, which is normally the `<body>`. This class applies the correct text color and background color styles to generic web content and is especially important when using dark theme swatches.
6265

6366
There are three ways to load a Telerik theme, in terms of physical CSS file location. Note that each option provides access to a different number of theme swatches.
6467

0 commit comments

Comments
 (0)