Simplify picking contrasting label text color
Pick between white and black depending on which one is the first to satisfy the contrast ratio of 7.0 (or 4.5 as fallback).
Showing
utils/color_test.go
已删除
100644 → 0
想要评论请 注册 或 登录