Create the visual foundation for all node type indicators using a layered circle system that shows hierarchical relationships. ## Related Issues - #4 ## Requirements - **Total space**: 16px fixed width/height (scales with app zoom, not content) - **Childless nodes**: 10px solid circle centered in 16px transparent container - **Parent nodes**: 16px semi-transparent background circle (25% or 75% opacity) + 10px solid circle on top - **Positioning**: `align-items: flex-start` for consistent top-alignment to node ceiling - **Responsive**: Icon size tied to `--ns-font-size-base` (app zoom level), not content font sizes - **CSS implementation**: Use `::before` and `::after` pseudo-elements for layered effect - **Theme integration**: Circle colors should use design system tokens and respond to theme changes ## Technical Implementation - **File Location**: Enhance existing `src/lib/design/components/BaseNode.svelte` - **Design Tokens**: Use `--ns-node-text-accent`, `--ns-font-size-base`, theme tokens - **Reference Pattern**: Follow existing BaseNode structure and styling patterns - **Testing**: Verify with different zoom levels and theme switching ## Acceptance Criteria - [ ] Circle indicators render at fixed 16px size regardless of content formatting (H1, H2, etc.) - [ ] Parent nodes show ring effect through layered semi-transparent background - [ ] Childless nodes show solid circle with no visible background - [ ] Icons stay top-aligned when content has different font sizes - [ ] System scales properly with app zoom levels - [ ] Circle colors respond to theme changes (light/dark)
Activity
Implement layered circle indicator system for BaseNode
Implement layered circle indicator system for BaseNode component
Implement Layered Circle Indicator System (Issue #15) (#22)
Implement Layered Circle Indicator System (Issue #15) (#22)
Implement Layered Circle Indicator System (Issue #15) (#22)