fix(ui): bump the threshold for marking label as dark

This commit is contained in:
Łukasz Mierzwa
2021-04-29 15:10:50 +01:00
committed by Łukasz Mierzwa
parent 8089598e28
commit 8cb4503b93

View File

@@ -8,7 +8,7 @@ import { StaticLabels } from "Common/Query";
import { AlertStateT } from "Models/APITypes";
import { AlertStore } from "Stores/AlertStore";
const isBackgroundDark = (brightness: number) => brightness <= 125;
const isBackgroundDark = (brightness: number) => brightness <= 130;
export interface ClassAndStyleT {
style: { [key: string]: string | number };