mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-04 08:07:00 +02:00
feat: tweak color swatch, and button bgs (#9330)
* feat: tweak color swatch, and button bgs * snapshots
This commit is contained in:
@@ -2,6 +2,8 @@ import oc from "open-color";
|
||||
|
||||
import type { Merge } from "./utility-types";
|
||||
|
||||
export const COLOR_OUTLINE_CONTRAST_THRESHOLD = 240;
|
||||
|
||||
// FIXME can't put to utils.ts rn because of circular dependency
|
||||
const pick = <R extends Record<string, any>, K extends readonly (keyof R)[]>(
|
||||
source: R,
|
||||
|
Reference in New Issue
Block a user