Spaces:
Running
Running
Commit ·
f684f65
1
Parent(s): 440029d
design(canvas): change node selected outline to Soft Sage theme
Browse filesFiles changed (3)
182 unmodified lines1831841851861871881891 unmodified line191192193194195196197182 unmodified lines{/* The Rotated Diamond Shape Background */}<divclassName={`absolute rounded-[2rem] rough-border bg-surface-container-lowest transition-all ${selected ? 'border-sky-400 ring-4 ring-sky-400/20' : ''}`}style={{left: '50%',1 unmodified linewidth: `${size / 1.4142}px`,height: `${size / 1.4142}px`,transform: 'translate(-50%, -50%) rotate(45deg)',boxShadow: selected ? '6px 6px 0px 0px rgba(56,189,248,0.3), inset 0 0 0 1px rgba(0,0,0,0.05)' : 'none',pointerEvents: 'none'}}/>182 unmodified lines1831841851861871881891 unmodified line191192193194195196197182 unmodified lines{/* The Rotated Diamond Shape Background */}<divclassName={`absolute rounded-[2rem] rough-border bg-surface-container-lowest transition-all ${selected ? 'border-emerald-400 ring-4 ring-emerald-400/20' : ''}`}style={{left: '50%',1 unmodified linewidth: `${size / 1.4142}px`,height: `${size / 1.4142}px`,transform: 'translate(-50%, -50%) rotate(45deg)',boxShadow: selected ? '6px 6px 0px 0px rgba(52, 211, 153, 0.3), inset 0 0 0 1px rgba(0,0,0,0.05)' : 'none',pointerEvents: 'none'}}/>
181 unmodified lines182183184185186187188181 unmodified lines<divonDoubleClick={handleConfigure}className={`px-5 py-4 w-64 rough-border bg-surface-container-lowest transition-all group ${selected ? 'shadow-[6px_6px_0px_0px_rgba(56,189,248,0.3)] dark:shadow-[6px_6px_0px_0px_rgba(56,189,248,0.3)] -translate-y-1 border-sky-400 ring-4 ring-sky-400/20 scale-[1.01]' : ''} ${isDone ? 'opacity-85' : ''} ${data.isNextStep ? 'ring-4 ring-success/30 ring-offset-2 ring-offset-background shadow-[0_0_20px_rgba(34,197,94,0.2)]' : ''}`}181 unmodified lines182183184185186187188181 unmodified lines<divonDoubleClick={handleConfigure}className={`px-5 py-4 w-64 rough-border bg-surface-container-lowest transition-all group ${selected ? 'shadow-[6px_6px_0px_0px_rgba(52,211,153,0.3)] dark:shadow-[6px_6px_0px_0px_rgba(52,211,153,0.3)] -translate-y-1 border-emerald-400 ring-4 ring-emerald-400/20 scale-[1.01]' : ''} ${isDone ? 'opacity-85' : ''} ${data.isNextStep ? 'ring-4 ring-success/30 ring-offset-2 ring-offset-background shadow-[0_0_20px_rgba(34,197,94,0.2)]' : ''}`}
90 unmodified lines9192939495969790 unmodified lines<divonDoubleClick={handleDoubleClick}className={`px-4 py-3 min-w-[200px] max-w-[300px] rough-border bg-surface-container-lowest transition-all group ${selected ? 'shadow-[6px_6px_0px_0px_rgba(56,189,248,0.3)] dark:shadow-[6px_6px_0px_0px_rgba(56,189,248,0.3)] -translate-y-1 border-sky-400 ring-4 ring-sky-400/20 scale-[1.01]' : ''} ${data.status === 'Done' ? 'opacity-80' : ''} ${data.isNextStep ? 'ring-4 ring-success/30 ring-offset-2 ring-offset-background shadow-[0_0_20px_rgba(34,197,94,0.2)]' : ''}`}90 unmodified lines9192939495969790 unmodified lines<divonDoubleClick={handleDoubleClick}className={`px-4 py-3 min-w-[200px] max-w-[300px] rough-border bg-surface-container-lowest transition-all group ${selected ? 'shadow-[6px_6px_0px_0px_rgba(52,211,153,0.3)] dark:shadow-[6px_6px_0px_0px_rgba(52,211,153,0.3)] -translate-y-1 border-emerald-400 ring-4 ring-emerald-400/20 scale-[1.01]' : ''} ${data.status === 'Done' ? 'opacity-80' : ''} ${data.isNextStep ? 'ring-4 ring-success/30 ring-offset-2 ring-offset-background shadow-[0_0_20px_rgba(34,197,94,0.2)]' : ''}`}
src/features/canvas/components/nodes/ConditionNode.jsx+2-2
src/features/canvas/components/nodes/HabitNode.jsx+1-1
src/features/canvas/components/nodes/SketchNode.jsx+1-1