mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
fix(ui): bump the threshold for marking label as dark
This commit is contained in:
committed by
Łukasz Mierzwa
parent
8089598e28
commit
8cb4503b93
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user