MCPcopy Create free account
hub / github.com/Shitanshukumar607/Drawspace / createCheckboard

Function createCheckboard

components/ToolSettingsSidebar.tsx:31–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29const cornerRadii = [2, 13, 24];
30
31const createCheckboard = () => ({
32 backgroundImage:
33 "linear-gradient(45deg, #d6d3d1 25%, transparent 25%, transparent 75%, #d6d3d1 75%, #d6d3d1), linear-gradient(45deg, #d6d3d1 25%, transparent 25%, transparent 75%, #d6d3d1 75%, #d6d3d1)",
34 backgroundSize: "10px 10px",
35 backgroundPosition: "0 0, 5px 5px",
36 backgroundColor: "#fff",
37});
38
39function isPropertyTool(tool: string): tool is ToolKey {
40 return ["pen", "eraser", "rectangle", "ellipse", "line", "arrow"].includes(

Callers 1

ToolSettingsSidebarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected