diff --git a/src/lib/styles.ts b/src/lib/styles.ts index 8ee6e596b4..1ae5c2c2e5 100644 --- a/src/lib/styles.ts +++ b/src/lib/styles.ts @@ -54,6 +54,9 @@ export const colors = { unreadNotifBg: '#ebf6ff', brandBlue: '#0066FF', like: '#ec4899', + + teal: '#9AD5CA', + yellow: '#FED766', } export const gradients = { diff --git a/src/view/com/composer/TagInput.tsx b/src/view/com/composer/TagInput.tsx index b8a18afe67..403ab7e302 100644 --- a/src/view/com/composer/TagInput.tsx +++ b/src/view/com/composer/TagInput.tsx @@ -15,6 +15,7 @@ import { import {isWeb} from 'platform/detection' import {Text} from 'view/com/util/text/Text' import {usePalette} from 'lib/hooks/usePalette' +import {colors} from 'lib/styles' function uniq(tags: string[]) { return Array.from(new Set(tags)) @@ -31,7 +32,6 @@ function Tag({ tag: string removeTag: (tag: string) => void }) { - const pal = usePalette('default') return ( - - #{tag} - + + + + #{tag} + + ) } @@ -154,10 +157,23 @@ const styles = StyleSheet.create({ fontSize: 13, paddingVertical: 4, }, + tagBackground: { + backgroundColor: colors.teal, + borderRadius: 4, + opacity: 0.3, + position: 'absolute', + top: 0, + bottom: 0, + left: 0, + right: 0, + zIndex: -1, + }, tag: { - paddingVertical: 4, - paddingHorizontal: 8, + paddingTop: 2, + paddingBottom: 3, + paddingHorizontal: 5, borderRadius: 4, overflow: 'hidden', + color: colors.teal, }, })