Select theme:
The latest version of our open-source Radzen Blazor Components delivers major UI improvements across the board.
<RadzenText>
component and a set of predefined utility CSS classes for applying various text, background or border colors, border radiuses, and shadows.We are happy to share with the community our revamped Material design light theme. The theme shares the same theming mechanism (explaned further below) with the rest of the Radzen Blazor themes.
CSS properties (variables) add dynamic values to static CSS files - a value stored in one place can be referenced in multiple other places. Using our predefined set of CSS variables, you can make non-Radzen UI elements look consistent when used together with Radzen Blazor Components.
See a list of Radzen Blazor color variables in the Typography demo.
Read more about Using CSS custom properties
If you prefer to add CSS classes instead of inline styles, you can do so using Radzen Blazor utility CSS classes. The classes use CSS variables underneath and allow you to effortlessly adjust the styling of UI elements and components.
You can use CSS classes to set:
.rz-color-primary
applies theme's primary color to the text.rz-background-color-primary
applies theme's primary color to the background.rz-border-color-primary
applies theme's primary color to the border.rz-border-primary
applies theme's primary border 1px solid var(--rz-primary)
.rz-shadow-2
applies theme's predefined shadow with level 2Use the RadzenText component to format text in your application. The component allows you to apply various predefined styling and alignment for headings and content while keeping the compiled code semantically correct.
We've reorganized the themes' color system to make it more universal. The update impacts the relationships between color values and properties to create scalable palettes. It is important to note that introducing new color schemes does not implicitly mean new color values, yet some of the colors have been updated to improve themes' overall look and feel.
All themes now ship with a predefined:
--rz-base-50
to --rz-base-900
. The palette includes hardcoded hex values of tints and shades of the base theme color, used to style components' base backgrounds, texts and borders.--rz-primary
and Secondary --rz-secondary
accent colors. They have lighter tints and darker shades that are automatically generated via SCSS.At the very top of each theme SCSS file you can find a mapping between the legacy color variables and the new ones.
See Colors demo.
We reviewed thoroughly each UI theme across components and optimized spacing and sizing to better match component's functionality, ease of use, accessibility, and comply with different design languages (e.g. Material, Fluent).
Don't forget to follow us for more Blazor goodness on YouTube.
Radzen is free to use. You can also test the premium features for 15 days.
Download NowSelect theme: