-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[WIP][5.0] Dark Mode support #41409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[WIP][5.0] Dark Mode support #41409
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
dd595bf
Commit current status
wilsonge 0675cd2
Some dark mode upgrades
wilsonge af56b83
Fix more white things
wilsonge 5976ca2
Dropdown support
wilsonge f614491
Normalise
wilsonge f99bbfd
Fix RTL Background
wilsonge 87856fa
Playing around with more things
wilsonge 7fba97e
Fix code style
wilsonge 33b58d7
Remove color overrides for now and remove white offset on list groups
wilsonge b933c6e
More cpanel tweaks
wilsonge b5e6cab
Fix choices
wilsonge 2155c5f
Fix body bg
wilsonge 53c01a8
CS
wilsonge 4434651
Toolbar and quickicon improvements
wilsonge 8890fc9
Improve tabs
wilsonge eefba7b
Various dropdown fixes
wilsonge 8a3c5a1
Fix legend
wilsonge 20bca99
Toolbar button improvements
wilsonge 0f45912
Codestyle and media manager first pass
wilsonge 9680a64
Background of drag/drop area
wilsonge 05693be
Move variables across to the dark vars file
wilsonge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
1 change: 1 addition & 0 deletions
1
build/media_source/templates/administrator/atum/images/select-bg-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
build/media_source/templates/administrator/atum/images/select-bg-rtl-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
build/media_source/templates/administrator/atum/scss/_variables-dark.scss
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| $atum-colors-dark: ( | ||
| template-quickicon-color: var(--template-bg-dark-5), | ||
| focus-shadow: var(--gray-800), | ||
| media-manager-overlay-bg: var(--template-bg-dark-90), | ||
| media-manager-infobar-dt-color: rgba(255, 255, 255, .54), | ||
| media-manager-overlay-header-bg: var(--template-bg-dark-80), | ||
| ) !default; | ||
|
|
||
| $link-hover-color-dark: lighten($light-blue, 20%); | ||
|
|
||
| $form-select-bg-dark: var(--template-bg-dark); | ||
| $form-select-background-dark: $form-select-indicator-dark no-repeat right center / $form-select-bg-size; // Used so we can have multiple background elements (e.g. arrow and feedback icon) | ||
| $form-select-background-rtl-dark: $form-select-indicator-rtl-dark no-repeat left center / $form-select-bg-size; // Used so we can have multiple background elements (e.g. arrow and feedback icon) | ||
richard67 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| $form-select-indicator-dark: url("../images/select-bg-dark.svg"); | ||
| $form-select-indicator-rtl-dark: url("../images/select-bg-rtl-dark.svg"); | ||
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.