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

Update mark tag to use background-color: var(--color-attention-subtle); #1756

Merged
merged 2 commits into from
Nov 19, 2021
Merged

Update mark tag to use background-color: var(--color-attention-subtle); #1756

merged 2 commits into from
Nov 19, 2021

Conversation

heiskr
Copy link
Contributor

@heiskr heiskr commented Nov 18, 2021

Finally, tell us more about the change here, in the description.

I'd love to be able to remove this in the docs:
https://github.com/github/docs/blob/main/components/Search.module.scss#L12

/cc @primer/css-reviewers

@heiskr heiskr requested a review from a team as a code owner November 18, 2021 17:50
@heiskr heiskr requested a review from simurai November 18, 2021 17:50
@changeset-bot
Copy link

changeset-bot bot commented Nov 18, 2021

🦋 Changeset detected

Latest commit: 2fcb88d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/css Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@langermank
Copy link
Contributor

Reference for the visual change:
GIF showing the yellow color change

Copy link
Contributor

@simurai simurai left a comment

Choose a reason for hiding this comment

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

Reference for the visual change:

Hmm.. --color-attention-subtle feels like a the right variable but does look a bit weak. Here just highlighting a single word:

Before After
Screen Shot 2021-11-19 at 10 15 43 Screen Shot 2021-11-19 at 10 16 20
#ffff00 --color-attention-subtle

Maybe fine for now. I think <mark> gets stripped in comments like this one: mark. So we probably don't use it much.

@simurai simurai merged commit ece7a3e into primer:main Nov 19, 2021
@primer-css primer-css mentioned this pull request Nov 19, 2021
@heiskr heiskr deleted the patch-1 branch November 19, 2021 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants