refactor(ui): generate colors with higher luminosity in dark mode

Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
SphericalKat 2021-06-08 00:30:29 +05:30
parent 91699cc8ec
commit a06d552935
No known key found for this signature in database
GPG key ID: 02A1D73C0EE5E788

View file

@ -38,7 +38,7 @@ function User({
const inputRef = useRef<HTMLInputElement>(null);
const { isOpen, onOpen, onClose } = useDisclosure();
const nameColor = `hsl(${info.hue}, 90%, 25%)`;
const nameColor = `hsl(${info.hue}, 90%, ${darkMode ? "70%" : "25%"})`;
return (
<Popover
placement="right"