Commit Graph

28 Commits

Author SHA1 Message Date
schroda
72af9d52d1 Update lint rules 2026-03-11 19:42:02 +01:00
schroda
5dda4304d9 Migrate to oxlint + oxfmt 2026-03-11 19:41:49 +01:00
schroda
22e1b6d224 Update dependency "eslint" to v9.x
v9.39.4
2026-03-10 21:41:50 +01:00
schroda
d8673e2307 Migrate to tsgo 2026-03-10 01:34:36 +01:00
Zhou Yeheng
afd4761998 Fix android browsers background-color issues by setting theme-color meta (#1063) 2026-02-13 00:57:38 +01:00
Constantin Piber
ab28158f74 Fix translation formatting of Custom Theme docs (#1056)
* Fix translation formatting of Custom Theme docs

* Update available languages

* Update changed string in other languages

Avoids re-translation effort

* Revert change to i18n locale resources

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
2026-01-30 21:54:22 +01:00
schroda
bb36a46a24 Save selected app language on server 2026-01-22 00:14:52 +01:00
schroda
9e621edbf4 Use active theme as default value when creating new custom theme 2026-01-18 19:17:21 +01:00
schroda
2b986c3564 Reduce base font size
Partially closes #1049
2026-01-18 19:07:12 +01:00
schroda
65a9a905be Migrate to lingui
Switch to "lingui" for better DX.
Tried to persist existing languages as much as possible.

Removed "vite-plugin-node-polyfills" because it's incompatible with "lingui"
2026-01-13 17:33:36 +01:00
schroda
23c587b351 Change pure black mode paper background color to true black 2026-01-08 15:42:59 +01:00
schroda
0ed0ab1109 Prevent red hue in automated neutral background colors 2026-01-08 15:15:03 +01:00
schroda
f2b440a669 Fix disabled save custom theme button in "save_dynamic" mode 2026-01-08 15:11:55 +01:00
schroda
2e4d2fccca Fix primary, secondary dynamic theme colors for inactive theme mode
When the DARK mode is active, the primary and secondary colors still need to be correctly selected for the dynamic theme light mode.
Otherwise, in case the dynamic color theme gets saved, the inactive theme mode has incorrect primary and secondary colors
2026-01-02 23:08:38 +01:00
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