Styles & Home Page Content Cleanup
Mobile Menu System & Dark Mode Cookie Theme Draft
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace DeepDrftWeb.Client.Common;
|
||||
|
||||
public class DarkModeSettings()
|
||||
{
|
||||
// public EventCallback<bool> IsDarkModeChanged { get; set; }
|
||||
|
||||
[PersistentState]
|
||||
public bool IsDarkMode
|
||||
{
|
||||
get;
|
||||
set
|
||||
{
|
||||
if (value == field) return;
|
||||
field = value;
|
||||
// IsDarkModeChanged.InvokeAsync(value);
|
||||
}
|
||||
} = false;
|
||||
}
|
||||
Reference in New Issue
Block a user