book-reader/app/src/main/java/com/aryan/reader/paginatedreader
Aryan c9dc3ce8c2
Epub reader themes (#97)
* Implemented a custom theme engine for the EPUB reader, allowing users to switch between built-in themes (System, Light, Dark, Sepia, Slate, and OLED).

Key changes include:
- Added `ReaderThemePanel` and theme selection logic to `EpubReaderScreen`.
- Introduced a theme persistence layer using SharedPreferences.
- Updated `ChapterWebView` and `epub_reader.js` to dynamically apply background and text colors via JavaScript, including improved contrast adjustment for inline styles.
- Enhanced `CssParser` and `ContentStyler` in the paginated reader to adapt CSS colors based on the active theme's background and text luminance.
- Integrated theme-specific background and text colors into `PaginatedReaderScreen` and its layout components.
- Added a theme palette icon to the reader controls.

* Added custom theme builder and texture support to EPUB reader

* Refactored color picker(PDF) into shared components and enhanced EPUB theme editor

* Updated theme customization UI and improved WebView theme application efficiency

* Updated page flip animation to use paper color with a theme-based tint

* Improved state restoration during paginated reader reconfiguration
2026-03-19 19:59:51 +05:30
..
data Update readme (#3) 2026-02-25 21:30:28 +05:30
serialization Update readme (#3) 2026-02-25 21:30:28 +05:30
BookPaginator.kt Epub reader themes (#97) 2026-03-19 19:59:51 +05:30
ContentStyler.kt Epub reader themes (#97) 2026-03-19 19:59:51 +05:30
CssParser.kt Epub reader themes (#97) 2026-03-19 19:59:51 +05:30
FontLoader.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
HtmlParser.kt feat(epub): overhaul border system to support individual sides and radii (#44) 2026-03-08 10:31:07 +05:30
IPaginator.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
Locator.kt fix: force disk fallback in LocatorConverter to fix MD/TXT reading position (#40) 2026-03-07 22:34:08 +05:30
MathMLRenderer.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
PageCountEstimator.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
PaginatedReader.kt Epub reader themes (#97) 2026-03-19 19:59:51 +05:30
PaginatedReaderData.kt feat(epub): overhaul border system to support individual sides and radii (#44) 2026-03-08 10:31:07 +05:30
PaginatedReaderViewModel.kt Epub reader themes (#97) 2026-03-19 19:59:51 +05:30
Paginator.kt feat(epub): overhaul border system to support individual sides and radii (#44) 2026-03-08 10:31:07 +05:30
SemanticModel.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
StyleUtils.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
SvgStringFetcher.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
UserAgentStylesheet.kt Update readme (#3) 2026-02-25 21:30:28 +05:30
Woff2Converter.kt Update readme (#3) 2026-02-25 21:30:28 +05:30