Open florentmaitre opened 2 hours ago
As described in Figma, we should add a black border when color is white in light mode, and a white border when color is black in dark mode.
_Originally posted by @florentmaitre in https://github.com/Orange-OpenSource/ouds-android/pull/158#discussion_r1823139183_
Take a look at ColorUtils.calculateConstrast(foregroundColor, backgroundColor).
ColorUtils.calculateConstrast(foregroundColor, backgroundColor)
As described in Figma, we should add a black border when color is white in light mode, and a white border when color is black in dark mode.
_Originally posted by @florentmaitre in https://github.com/Orange-OpenSource/ouds-android/pull/158#discussion_r1823139183_