This commit is contained in:
mgabdev
2020-05-14 16:45:39 -04:00
parent 4acc21944c
commit 0626928899
30 changed files with 286 additions and 100 deletions

View File

@@ -128,12 +128,13 @@ class Search extends PureComponent {
default: 1,
searchNavigation: (!highlighted && isInNav && theme === 'light') || (isInNav && theme !== 'light'),
bgWhite: (highlighted && isInNav && theme === 'light'),
bgPrimary: !isInNav,
flexRow: 1,
radiusSmall: 1,
alignItemsCenter: 1,
})
const prependIconColor = highlighted ? 'brand' : 'white'
const prependIconColor = (highlighted || !isInNav) ? 'brand' : 'white'
const placeholder = !me ? 'Search Gab' : 'Search for people, groups or news'
const id = 'nav-search'