MudBlazor / TryMudBlazor

A playground for trying out and testing MudBlazor components entirely in the browser.
https://try.mudblazor.com/
GNU General Public License v2.0
75 stars 37 forks source link

First load code editor light theme #128

Closed benbaker76 closed 5 months ago

benbaker76 commented 5 months ago

If you delete the userPreferences key and reload the code editor will show in light mode and the rest will be in dark mode.

Screenshot from 2024-03-27 08-20-25

benbaker76 commented 5 months ago

Okay it turns out it does not solve the issue. With this change setting the theme to "default" (light) will render the code editor in dark mode.

So the actual problem is there's an error loading the key on local storage for the first load. This needs more investigation.