change localStorage scheme and also rpolly more I forgor

This commit is contained in:
mtgmonkey 2025-05-09 06:00:00 -04:00
parent d6d84423e0
commit 9ec9c55912
8 changed files with 186 additions and 73 deletions

View file

@ -32,6 +32,7 @@ index compiledElmApp = renderHtml $ do
port :: Port
port = 8080
adminContact :: String
adminContact = "[Matrix] @mtgmonkey:calitabby.net"

View file

@ -16,10 +16,10 @@ data Font = Font
deriving (Elm, ToJSON, FromJSON) via ElmStreet Font
data Cookies = Cookies
{ cookiesFont :: Font
, cookiesCookiesKept :: CookiesKept
, cookiesTheme :: Theme
{ cookiesCookiesKept :: CookiesKept
, cookiesFont :: Font
, cookiesPrompt :: Prompt
, cookiesTheme :: Theme
} deriving (Generic)
deriving (Elm, ToJSON, FromJSON) via ElmStreet Cookies
@ -71,12 +71,13 @@ data ThemeColor
deriving (Elm, ToJSON, FromJSON) via ElmStreet ThemeColor
data Command
= HelpCommand
| ClearCommand
= ClearCommand
| ColorsCommand
| CookiesCommand
| DebugCommand
| FontCommand
| HelloCommand
| HelpCommand
| PromptCommand
| ThemeCommand
| TodoCommand