Commit Graph

21 Commits

Author SHA1 Message Date
schroda
1ab0178d88 Fix local light app theme flicker on initial render
MUIs "useColorScheme" hook always returned "system" on the initial render.
(Probably because it's used outside the AppProvider context)
2025-07-28 02:38:18 +02:00
schroda
ef6c1fce56 Fix local/session storage parsing/stringifying values
The old logic stringifyed all values, including strings, which caused problems with reading external stored values (e.g., mui-mode) via the "useStorage" hook.
2025-07-28 02:34:02 +02:00
schroda
93b9e84a37 Fix "pure dark mode" setting visibility
In case the apps theme mode was never changed, the "mui-mode" was never set.
This lead to the "pure black mode" setting to never be visible.
2025-07-20 23:01:35 +02:00
schroda
56f01efc1e Ensure stored client metadata values respect constraints 2025-06-24 22:45:40 +02:00
schroda
18ddf46f17 Save appearance settings on server
- app theme
- theme mode
- pure black mode
- manga grid item width
2025-05-17 21:31:24 +02:00
schroda
dcd57aea8f Remove abbreviation of “language” in function names 2025-05-09 00:57:28 +02:00
schroda
aacdbaaeef Introduce "useAppAction" hook 2025-05-04 23:36:46 +02:00
schroda
3ab70c4802 Introduce "useAppTitle" hook 2025-05-04 23:36:18 +02:00
schroda
76cd9fd309 Remove "useContext" usages with hooks 2025-05-03 12:40:28 +02:00
schroda
b80006504e Move files into different folders 2025-05-03 12:16:48 +02:00
schroda
0b752c168c Internationalize system theme mode 2025-02-09 23:06:44 +01:00
schroda
a81c3c6afa Use dynamic color schemes on manga page 2025-01-26 04:21:00 +01:00
schroda
b7fc1ae6ff Extract theme context logic into its own provider 2025-01-25 19:22:24 +01:00
schroda
2cfbaf8148 Use "useNavBarContext" hook everywhere 2025-01-23 13:15:06 +01:00
schroda
a22a4bf546 Switch to "colorSchemes" from "palette" API in mui theme
"colorSchemes" is the preferred api starting from mui v6
2025-01-17 01:25:55 +01:00
schroda
9e93a78a07 Use "getErrorMessage" everywhere 2024-12-21 23:27:03 +01:00
schroda
083f98e9f6 Show error on i18n language change 2024-12-20 17:25:46 +01:00
schroda
3949363474 Include actual error in snackbar 2024-12-20 17:24:40 +01:00
schroda
3ec0cc94bb Rename "device theme" to "theme mode" 2024-12-16 23:05:50 +01:00
schroda
e7e1fbbc4e Move more core logic to new folder 2024-10-06 00:16:41 +02:00
schroda
a16fef0aab Move setting files into new folder 2024-10-06 00:16:31 +02:00