How can I get the value of a specific theme color (at runtime). For example, background/foreground of a selected row in a grid? background/foreground of a focused row in a grid? I have my own non-Kendo React components that I want to blend with the selected Kendo React theme.
1 Answer, 1 is accepted
0
Filip
Telerik team
answered on 26 Aug 2025, 01:24 PM
Hi, Nick,
To get the value of a specific theme color from a KendoReact theme at runtime (such as the background or text color for selected or focused Grid rows), you can use the CSS custom properties (variables) defined by the theme. This allows your custom components to dynamically match the current theme. The themes define colors as variables, the list of available variables can be found here: