-
How can i get all CSS styles for MudBlazor? Example i know, mud-width-full or mud-text-secondary. However im sure that there are lots of other Class/Style names. Is they write somewhere in the code alltogether? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The classes are all defined in https://github.com/Garderoben/MudBlazor/blob/dev/src/MudBlazor/Styles/MudBlazor.scss which includes many other files so there is no single file containing them all in the source code. However, the scss file gets compiled into a MudBlazor.css file which you can find in the wwwroot folder of the MudBlazor project after a successful build. Edit: MudBlazor.css is 11k lines long so it might be an idea to document some of the important classes like we did for the Flex classes or the spacing classes. |
Beta Was this translation helpful? Give feedback.
The classes are all defined in https://github.com/Garderoben/MudBlazor/blob/dev/src/MudBlazor/Styles/MudBlazor.scss which includes many other files so there is no single file containing them all in the source code. However, the scss file gets compiled into a MudBlazor.css file which you can find in the wwwroot folder of the MudBlazor project after a successful build.
Edit: MudBlazor.css is 11k lines long so it might be an idea to document some of the important classes like we did for the Flex classes or the spacing classes.