Files
paint-ui/store/index.ts
Sebastian Krüger 19baa730c7 feat(phase-13): implement rulers and guides system for precise alignment
Add comprehensive rulers and guides system for canvas alignment and positioning.

Features:
- Guides store with full CRUD operations
- Horizontal and vertical guide support
- Ruler display with 50px intervals
- Green guide lines with subtle glow
- Toggle visibility for rulers and guides
- Persistent storage of guides and settings
- Snap distance configuration
- Guide position in canvas pixels
- Zoom-aware positioning

Changes:
- Created store/guides-store.ts with Guide interface
- Added guides state management with persistence
- Created components/canvas/rulers-and-guides.tsx
- Rulers show measurements at 50px intervals
- Guides rendered as 1px green lines with shadow
- Exported guides store from store/index.ts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 19:59:45 +01:00

15 lines
449 B
TypeScript

export * from './canvas-store';
export * from './layer-store';
export * from './tool-store';
export * from './filter-store';
export * from './history-store';
export * from './color-store';
export * from './selection-store';
export * from './transform-store';
export * from './shape-store';
export * from './text-store';
export * from './ui-store';
export * from './toast-store';
export * from './context-menu-store';
export * from './guides-store';