Skip to content

Commit ec6e1dd

Browse files
authored
Improve readme (#29)
1 parent 5bce662 commit ec6e1dd

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# ![MudBlazor](content/MudBlazor-GitHub-NoBg.png)
1+
<h1>
2+
<picture>
3+
<source media="(prefers-color-scheme: dark)" srcset="content/MudBlazor-GitHub-NoBg-Dark.png">
4+
<source media="(prefers-color-scheme: light)" srcset="content/MudBlazor-GitHub-NoBg.png">
5+
<img alt="MudBlazor" src="content/MudBlazor-GitHub-NoBg.png">
6+
</picture>
7+
</h1>
8+
29
# Theme Manager / Generator for MudBlazor
310

411
[![GitHub](https://img.shields.io/github/license/garderoben/mudblazor?color=594ae2&style=flat-square&logo=github)](https://github.com/Garderoben/MudBlazor.ThemeManager/blob/master/LICENSE)
@@ -8,13 +15,13 @@
815

916
Blazor Theme Manager component for MudBlazor library. Can be used live or during development to fast and easy try out different theme settings.
1017

11-
**This component is not suitable for prod applications, be ready for performance issues, bugs and missing features. Feel free to help improve it.**
18+
**This component is currently not suitable for production applications, be ready for performance issues, bugs and missing features. Feel free to help improve it.**
1219

1320
## Workflow
1421
![caption](content/WorkFlow_DarkTheme.webp)
1522

1623
## Prerequisites
17-
- [MudBlazor](https://mudblazor.com/) Installed and configurated.
24+
- [MudBlazor](https://www.mudblazor.com/getting-started/installation) Installed and configurated.
1825
## Installation
1926
Install Package
2027
```
@@ -24,7 +31,7 @@ Add the following to `_Imports.razor`
2431
```razor
2532
@using MudBlazor.ThemeManager
2633
```
27-
Add the following to `index.html` (client-side) or `_Host.cshtml` (server-side) in the `head`
34+
Add the following to your HTML `head` section, it's either `index.html` or `_Layout.cshtml`/`_Host.cshtml`/`App.razor` depending on whether you're running WebAssembly or Server.
2835
```razor
2936
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap" rel="stylesheet">
3037
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap" rel="stylesheet">
10.7 KB
Loading

0 commit comments

Comments
 (0)