Commit Graph

14 Commits

Author SHA1 Message Date
schroda
ce4eb98cbc Increase max length of custom themes to 32 2026-01-02 22:40:03 +01:00
schroda
4eaa701851 Add option to save dynamic manga color theme 2026-01-02 22:38:26 +01:00
schroda
bc06d88db0 Use AwaitableComponent for "CreateThemeDialog" 2026-01-02 22:38:04 +01:00
schroda
b8fa4478f7 Always use Dark-/LightVibrant color as primary color dynamic theme 2026-01-02 22:38:03 +01:00
schroda
a317d55320 Improve theme auto background color
Should keep more of the original color, which previously got "washed out" because it was darkened/lightened too much
2026-01-02 22:38:02 +01:00
schroda
1d54a24adf Set "secondaryColor" for dynamic themes 2026-01-02 21:18:42 +01:00
schroda
f539afb404 Introduce "koration" duration api 2025-10-14 21:14:52 +02:00
schroda
bee048cfc9 Extract theme font loading logic 2025-10-01 23:20:18 +02:00
schroda
8c50b33a93 Improve theme fonts loading
- Extract all fonts and all font weights from the theme
- Load all required weights per font

Not clear 100% what is the root cause. But the (missing font weights?) loaded fonts did cause some incorrect initial tooltip width measurement that lead to an out-of-viewport tooltip placement. Depending on the tooltip text and the monitor (size + scaling) the measurement might result in a fractal width. In case the tooltip was placed right on the horizontal end of the viewport this then lead to a horizontal scrollbar which potentially caused an additional vertical scrollbar resulting in a layout shift.
Once the tooltip was rendered, the placement got corrected. Depending on the mouse placement, however, this issue caused an infinite loop of appearing and disappearing scrollbars.

Fixes #1016
2025-10-01 23:20:17 +02:00
schroda
0706e4671f Normalize extracted theme fonts before loading them
Ensure fonts are properly trimmed and stripped of quotes to maintain consistency and avoid potential loading issues.

The default fonts defined by MUI e.g., are set as "\"Roboto\", \"Helvetica\", \"Arial\", sans-serif" which lead to an invalid font request.

Fixes #1012
2025-09-23 22:15:11 +02:00
schroda
b13bb86f40 Move app theme related types to dedicated file
Fixes circular dependency.
2025-09-21 01:16:42 +02:00
schroda
9e5af57a5f Move "core" folder out of "features" into "base" 2025-08-16 15:44:17 +02:00
schroda
f4c06d474d Merge "Context" and "ContextProvider" components 2025-08-16 02:21:43 +02:00
schroda
1b4bf22542 Rename folder "modules" to "features" 2025-08-15 22:02:58 +02:00