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

Add style for matched_term #24

Merged
merged 3 commits into from
Nov 20, 2017
Merged

Add style for matched_term #24

merged 3 commits into from
Nov 20, 2017

Conversation

caisah
Copy link
Contributor

@caisah caisah commented Nov 16, 2017

The current style for matched_term makes the text indistinguishable. See https://screenshots.firefox.com/1IxStgPJpqINjx51/www.quora.com

@Mottie
Copy link
Member

Mottie commented Nov 19, 2017

Hi @caisah!

Why make the matched background color red? I think it would be better to use the user selected base color and add some opacity, like this:

.matched_term {
  background-color: rgba(187, 85, 0, .4) !important;
  background-color: rgba(/*[[base-color-rgb]]*/, .4) !important;
}

@caisah
Copy link
Contributor Author

caisah commented Nov 19, 2017

That sound good too. I have made the modification.

@Mottie
Copy link
Member

Mottie commented Nov 19, 2017

Would you please update the PR to match the css I shared... prettier-github removed the inline comment, so I had to add it back.

@caisah
Copy link
Contributor Author

caisah commented Nov 19, 2017

Done.

@Mottie Mottie merged commit 1f98577 into StylishThemes:master Nov 20, 2017
@Mottie
Copy link
Member

Mottie commented Nov 20, 2017

Thanks!

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.

2 participants