Skip to content

Auto theme is here!#3532

Open
webysther wants to merge 1 commit into
janeczku:masterfrom
webysther:auto-theme
Open

Auto theme is here!#3532
webysther wants to merge 1 commit into
janeczku:masterfrom
webysther:auto-theme

Conversation

@webysther
Copy link
Copy Markdown
Contributor

@webysther webysther commented Jan 26, 2026

Do you think this PR help you? Consider a donation: https://github.com/sponsors/webysther

A brand-new Dark Theme is here — designed to be easy on the eyes, modern, and comfortable for long reading sessions. Whether you’re browsing your library late at night or just prefer a cleaner, more focused look, Dark Theme keeps everything clear and readable while reducing glare.

Recording2026-01-26144303-ezgif com-video-to-gif-converter

image book webysther org_series_stored_8 book webysther org_(Samsung Galaxy S20 Ultra) image image image book webysther org_admin_book_16620

And if you don’t want to think about it at all, you don’t have to: with Auto Theme, the interface can switch themes automatically to match your system. You get the best of both worlds — a bright, friendly look when you need it, and a smooth dark experience when it makes sense.

Key features

  • Support for auto theme
  • Dark theme for standard
  • CSS variables

Details

  • 【feat】 add full standard_dark.css with variables and dark UI rules
  • 【feat】 add standard_auto.js to toggle standard-dark class by prefers-color-scheme
  • 【feat】 update layout and config templates to expose new themes and load assets
  • 【feat】 provide native dark theme and optional automatic switching for users

🐛 fix(edit_books): select tinymce dark skin when applicable

  • 【fix】 detect prefers-color-scheme and body theme class before init
  • 【fix】 set tinymce skin to oxide-dark and content_css to default when dark
  • 【fix】 avoid requesting non-existent dark content CSS that triggers MIME errors

📦 build(tinymce): add oxide-dark skin assets

  • 【build】 add oxide-dark skin files (skin, content, mobile, shadowdom)
  • 【build】 include mobile font and content.inline/content.min variants
  • 【build】 enable using official dark UI skin for tinymce when requested

💄 style(navbar): tweak navbar and small css/ui styles

  • 【style】 make navbar-toggle background transparent on hover/active
  • 【style】 adjust navbar-form and form-control borders for small screens
  • 【style】 add shelf-actions btn-primary active/focus styling and fixes

  - 【feat】 add full standard_dark.css with variables and dark UI rules
  - 【feat】 add standard_auto.js to toggle standard-dark class by prefers-color-scheme
  - 【feat】 update layout and config templates to expose new themes and load assets
  - 【feat】 provide native dark theme and optional automatic switching for users

🐛 fix(edit_books): select tinymce dark skin when applicable
  - 【fix】 detect prefers-color-scheme and body theme class before init
  - 【fix】 set tinymce skin to oxide-dark and content_css to default when dark
  - 【fix】 avoid requesting non-existent dark content CSS that triggers MIME errors

📦 build(tinymce): add oxide-dark skin assets
  - 【build】 add oxide-dark skin files (skin, content, mobile, shadowdom)
  - 【build】 include mobile font and content.inline/content.min variants
  - 【build】 enable using official dark UI skin for tinymce when requested

💄 style(navbar): tweak navbar and small css/ui styles
  - 【style】 make navbar-toggle background transparent on hover/active
  - 【style】 adjust navbar-form and form-control borders for small screens
  - 【style】 add shelf-actions btn-primary active/focus styling and fixes
@webysther webysther changed the title ✨ feat(theme): add standard dark and auto themes ✨ Auto theme Jan 26, 2026
@webysther webysther marked this pull request as ready for review January 26, 2026 13:44
@webysther webysther changed the title ✨ Auto theme ✨ Auto theme is here! Jan 26, 2026
@OzzieIsaacs OzzieIsaacs changed the title ✨ Auto theme is here! Auto theme is here! Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant