mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: tweak color swatch, and button bgs (#9330)
* feat: tweak color swatch, and button bgs * snapshots
This commit is contained in:
parent
7c58477382
commit
57a9e301d4
12 changed files with 94 additions and 58 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue