From f8e37e03d6c82ee85886e990dd7550e18b731f57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Thu, 2 Jan 2025 08:59:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=A8=E5=B1=80=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E5=BD=93=E5=89=8D=E6=8B=A3=E9=80=89=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/colors.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/stores/colors.ts diff --git a/src/stores/colors.ts b/src/stores/colors.ts new file mode 100644 index 0000000..c63ee5a --- /dev/null +++ b/src/stores/colors.ts @@ -0,0 +1,3 @@ +import { atomWithStorage } from 'jotai/utils'; + +export const currentPickedColor = atomWithStorage('picked', '000000');