From 4770dd88cded2d8f196fb184c15009ed5764946f Mon Sep 17 00:00:00 2001 From: abhitrueprogrammer Date: Mon, 23 Dec 2024 12:41:48 +0530 Subject: [PATCH] added a color wheel in colorInput component --- packages/excalidraw/components/ColorPicker/ColorInput.tsx | 8 +++++++- .../excalidraw/components/ColorPicker/ColorPicker.scss | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/excalidraw/components/ColorPicker/ColorInput.tsx b/packages/excalidraw/components/ColorPicker/ColorInput.tsx index 7e77e06ff..2cb5ca0d2 100644 --- a/packages/excalidraw/components/ColorPicker/ColorInput.tsx +++ b/packages/excalidraw/components/ColorPicker/ColorInput.tsx @@ -70,7 +70,13 @@ export const ColorInput = ({ return (
-
#
+ { + changeColor(event.target.value); + }} + className="color-picker__input" + />