-
-
Notifications
You must be signed in to change notification settings - Fork 893
Riverlea - merge crm-c-light-text and crm-c-text-light #31994
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
Closed
Closed
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
6a71587
riverlea - merge crm-c-light-text and crm-c-text-light
ufundo 7c0a725
riverlea darkmode - fix --crm-c-primary and --crm-c-primary-text cont…
ufundo 6f3850c
riverlea dark mode - dont set text-light to dark
ufundo 76bfd34
riverlea hackney darkmode - tweak primary
ufundo 5e05c69
riverlea - set heading col at same time as bg in minetta dark
ufundo 67c570f
riverlea - use crm-c-text-dark where backgrounds stay light
ufundo 1d125af
riverlea - use default cascade for checkbox-list-col
ufundo f23de02
riverlea - dont break warning text in dark mode
ufundo dadda06
riverlea - fix heading text light/dark
ufundo 4ac64ce
standalone login - fix input text color
ufundo b66b5e3
riverlea - fixes for checkbox-list
ufundo 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minetta/css/dark/css sets
--crm-heading-bg: var(--crm-c-blue-dark);- this change makes that illegible, so I don't think it's worth it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would argue that if minetta is setting the heading-bg it should set the heading-col at the same time to be confident on contrast..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minetta darkmode can be confident as a) Core variables sets the text-col; b) there was a round of contrast ratio tests & changes for dark mode in 1.3.1 (so I'm curious about the new bugs - my instinct is they're more likely regressions).
Darkmode in each stream often changes, say, the colours of the emphasis buttons backgrounds, while only changing a few text colours…
It sounds like you're suggesting a new rule (coloured backgrounds should be changed only in a pair with the foreground text) and applying it here, even tho it breaks something, which then needs a fix? This rule then would need to be applied in lots more places…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that would be very good as a rule of thumb. That doesn't mean we have to apply the rule everywhere all in one go, but I think where issues arises and use it to fix things. It should make the streams more robust in future (you dont have to track so many possible consequences of changing one variable). And in this case I think applying the rule fixes the issue with Minetta dark mode, rather than breaking it.