color opacity
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-07-08 09:21:41 +03:30
parent 3c764a1652
commit a2a591420c
25 changed files with 178 additions and 62 deletions
@@ -3,6 +3,7 @@ import { create } from "zustand";
export type PencilDefaults = {
stroke: string;
strokeWidth: number;
opacity: number;
};
type PencilDefaultsStoreType = {
@@ -14,6 +15,7 @@ export const usePencilDefaultsStore = create<PencilDefaultsStoreType>((set) => (
defaults: {
stroke: "#000000",
strokeWidth: 3,
opacity: 100,
},
updateDefaults: (updates) =>
set((state) => ({