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

Re: Fix search icon overlaping with the long search input placeholder text #40

Merged
merged 7 commits into from
Jul 3, 2023

Conversation

itbeard
Copy link
Contributor

@itbeard itbeard commented Jul 3, 2023

The redesigned version of #38

  • Changed the color of the SVG search icon from #717c9b to #535C76 for the dark theme (this is equivalent of #717c9b + 0.6 opacity + dark bg-color)
  • Changed the color of the SVG search icon from #717c9b to #9FA4BB for the light theme (this is equivalent of #717c9b + 0.6 opacity + light bg-color)
  • Search SVG icon put into the separate variable --icon-search (for both themes)
  • Added bg-color for the search icon
  • Changed opacity from 0.6 to 1 (default value is 0.3, inherited from .search__icon .fa.active class)

Dark theme

Before
image
After
image

Light theme

Before
image
After
image

HQ theme

Without changes (search icon the same as in dark theme)

…ix for the overlap with the long search input placeholder text
Added a background color and changed color of the search icon SVG as a fix for the overlap with the long search input placeholder text
add search-icon as variable for dark and light themes
add search-icon as variable for dark and light themes
@ronilaukkarinen ronilaukkarinen merged commit e8cd887 into ronilaukkarinen:master Jul 3, 2023
1 check passed
@ronilaukkarinen
Copy link
Owner

Brilliant, thanks! @itbeard

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