mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
reducing lighting
This commit is contained in:
parent
31d133fdf0
commit
b58cdc8a55
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ export function LabelChip(props: LabelChipProps): JSX.Element {
|
|||
}
|
||||
const isDarkMode = isDarkTheme()
|
||||
const luminance = getLuminance(props.color)
|
||||
const lightenColor = lighten(props.color, 0.5)
|
||||
const lightenColor = lighten(props.color, 0.2)
|
||||
const color = hexToRgb(props.color)
|
||||
const darkThemeTextColor =
|
||||
luminance > 0.2
|
||||
|
|
|
|||
Loading…
Reference in a new issue