Commit Graph

8 Commits

Author SHA1 Message Date
schroda
0c4e772542 Style scrollbar only on devices with hover support
only style scrollbar for devices that support hovering; otherwise, they most likely are touch devices that should
use the native scrollbar.
this is necessary since for some reason chromium uses the native scrollbar for the window scrollbar and the
styled non-native scrollbar for element scrollbars on those devices
2025-05-02 02:30:11 +02:00
schroda
cbe6cb64f7 Lighten automatic light theme background colors 2025-02-11 15:11:53 +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
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
28eb18f88c Prevent custom scrollbar on iOS
While iOS does not support customizing the scrollbar, it seems there is a bug when the width and/or height gets set.

(see MediaQuery#getScrollbarSize) When inserting an empty div with forced scrollbars and calculating the scrollbar size, for some reason on iOS it has a scrollbar that affects the available size, which is not possible.
2025-01-09 00:46:25 +01:00
schroda
df9e24f4d7 Darken background colors for dark theme
To improve the contrast a little bit
2024-12-13 16:53:40 +01:00
schroda
8c4ff516c0 Rename "theme.tsx" to "ThemeCreator.ts" 2024-12-11 18:02:03 +01:00