Skip to content
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

Replace current red-text highlight with a full background-color highlight #2526

Merged
merged 1 commit into from
Jun 23, 2018

Conversation

astorije
Copy link
Member

@astorije astorije commented Jun 8, 2018

⚠️ This PR is currently set after my branch at #2315 so Do Not Merge until that other PR makes it in, but making it its own PR to facilitate the review.
All good now.


Supersedes #1847 and #1846.

Inspired by @xPaw's approach at #1847 (comment).
I am using colors given by https://color.adobe.com/ to match our main color to match it with our actual "new" blue.

Default theme:

screen shot 2018-06-04 at 00 37 44

Morning theme:

screen shot 2018-06-04 at 00 44 08

@astorije astorije added Type: Feature Tickets that describe a desired feature or PRs that add them to the project. Meta: Do Not Merge This PR should not be merged. labels Jun 8, 2018
@astorije astorije added this to the 3.0.0 milestone Jun 8, 2018
@xPaw
Copy link
Member

xPaw commented Jun 8, 2018

Is it actually blocked on that PR? The commit that changes highlights doesn't seem to conflict. You just brought in 2 extra commits that are unrelated.

@astorije astorije force-pushed the astorije/higlight-border-and-bg branch from 41b2ae6 to 118866c Compare June 9, 2018 05:41
@astorije
Copy link
Member Author

astorije commented Jun 9, 2018

Is it actually blocked on that PR? The commit that changes highlights doesn't seem to conflict.

Yeah I get a few conflicts that I can't be bothered to fix. I'm hoping we can be done with #2315 in a couple days so this one can make it then.

You just brought in 2 extra commits that are unrelated.

That's because I rebase like an idiot. Fixed.

color: #e74c3c;
}

#chat .message.highlight {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized that I accidentally removed .channel and therefore this highlights in queries too. I was about to re-add it, then wondered if .highlight class should be in queries at all. Any insight, @xPaw?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep the .channel.

All query messages are highlights, we don't want to style them.

@astorije astorije force-pushed the astorije/higlight-border-and-bg branch from 525cc56 to 0592ec3 Compare June 19, 2018 04:28
@astorije astorije changed the base branch from astorije/ui to master June 19, 2018 04:28
@astorije astorije self-assigned this Jun 19, 2018
@xPaw xPaw removed the Meta: Do Not Merge This PR should not be merged. label Jun 20, 2018
@xPaw
Copy link
Member

xPaw commented Jun 20, 2018

@astorije On mobile view there's padding around highlights. Do we want to remove these (I did that in Solarized).

@astorije
Copy link
Member Author

@xPaw, fixed the highlights in queries, and removed the paddings on mobile. Should be good to go.

}

#chat .channel .message.highlight .from::after {
background: transparent;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@astorije astorije force-pushed the astorije/higlight-border-and-bg branch from 805b352 to c2ce562 Compare June 21, 2018 17:30
@astorije astorije removed their assignment Jun 22, 2018
@astorije astorije requested a review from xPaw June 22, 2018 00:59
@astorije astorije merged commit 1d6c6dd into master Jun 23, 2018
@astorije astorije deleted the astorije/higlight-border-and-bg branch June 23, 2018 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants