-
Notifications
You must be signed in to change notification settings - Fork 71
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
Fix Solid
nickname color
#277
Conversation
Colors are hard :) I just think that |
Right now there are separate Presumably both use the |
Correct, but initially the nickname color in the buffer was I am good with that, now that I've given it some thoughts. |
src/theme/text.rs
Outdated
if seed.is_none() { | ||
let mut color = theme.colors().text.base; | ||
if transparent { | ||
color = alpha(color, if dark_theme { 0.2 } else { 0.4 }) | ||
} | ||
return Appearance { color: Some(color) }; | ||
} |
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.
What about:
if seed.is_none() {
let color = match transparent {
true => theme.colors().text.med_alpha,
false => theme.colors().text.base,
};
return Appearance { color: Some(color) };
}
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.
That's much nicer and more compact, will do that!
9b38cf9
to
89cd2e4
Compare
Could you also add a small line to CHANGELOG? Then it should be good to go. |
Done! |
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.
Thanks a bunch @neilalexander
This was accidentally changed to the action color in #232.