Auto theme is here!#3532
Open
webysther wants to merge 1 commit into
Open
Conversation
- 【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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
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
Details
🐛 fix(edit_books): select tinymce dark skin when applicable
📦 build(tinymce): add oxide-dark skin assets
💄 style(navbar): tweak navbar and small css/ui styles