SMAPI web dark mode implementation#1014
Open
achen2304 wants to merge 1 commit intoPathoschild:developfrom
Open
SMAPI web dark mode implementation#1014achen2304 wants to merge 1 commit intoPathoschild:developfrom
achen2304 wants to merge 1 commit intoPathoschild:developfrom
Conversation
Author
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 dark mode implementation from issue #785. Saw it was assigned already but figured I'd pick it up since it's been pretty long since it's been updated at all.
overview of files changed:
src/SMAPI.Web/Views/Shared/_Layout.cshtml- added script that loads theme based off of system/local storage & theme pickersrc/SMAPI.Web/wwwroot/Content/css/main.css- migrated all colors from the other css files here and created dark theme colorssrc/SMAPI.Web/wwwroot/Content/css/other_files.css- changed all primary colors to use variables from rootThe colors are based off of the v2 images from the issue, but the theme colors should be pretty easily editable if you wanted to change them. Also tried to keep everything as small/simple as possible while still being functional.
Let me know if theres any questions & images are below.