ConfMap uses a sophisticated 13-level color coding system designed to provide optimal visual separation and contrast between different configuration hierarchy levels. Each color is carefully selected to ensure readability and aesthetic appeal.
- Purpose: Calm root anchor
- Use Case: Top-level configuration elements
- Visual Impact: Soft, professional, easy on the eyes
- Purpose: Fresh contrast from root
- Use Case: Primary configuration sections
- Visual Impact: Natural, fresh, distinct from blue
- Purpose: Warm separation from green/blue
- Use Case: Secondary configuration sections
- Visual Impact: Warm, inviting, creates clear separation
- Purpose: Cool reset, distinct from amber
- Use Case: Tertiary configuration sections
- Visual Impact: Cool, refreshing, provides visual break
- Purpose: Warm step down
- Use Case: Fourth-level configurations
- Visual Impact: Soft, warm, gentle transition
- Purpose: Icy cool
- Use Case: Fifth-level configurations
- Visual Impact: Bright, cool, stands out clearly
- Purpose: Warm and bold
- Use Case: Sixth-level configurations
- Visual Impact: Bold, warm, high visibility
- Purpose: Subtle but not too close to Level 0
- Use Case: Seventh-level configurations
- Visual Impact: Subtle, professional, distinct from root
- Purpose: Sunny highlight
- Use Case: Eighth-level configurations
- Visual Impact: Bright, cheerful, high contrast
- Purpose: Earthy cool green
- Use Case: Ninth-level configurations
- Visual Impact: Natural, calming, distinct from other greens
- Purpose: Warm pastel
- Use Case: Tenth-level configurations
- Visual Impact: Soft, warm, gentle
- Purpose: Deep cool purple for depth
- Use Case: Eleventh-level configurations
- Visual Impact: Deep, sophisticated, creates depth
- Purpose: Gentle warm closure
- Use Case: Twelfth-level configurations
- Visual Impact: Gentle, warm, perfect ending
- Each color is chosen to maximize contrast with adjacent levels
- Warm and cool colors alternate to create visual rhythm
- Saturation and brightness are balanced for readability
- All colors meet WCAG contrast guidelines
- Colors are distinguishable for colorblind users
- High contrast ensures readability in various lighting conditions
- Root level uses calming, professional colors
- Middle levels use vibrant, attention-grabbing colors
- Deep levels use sophisticated, depth-creating colors
- Colors are pleasing to the eye
- Professional appearance suitable for business use
- Consistent with modern design trends
- Limit Nesting: Try to keep configurations under 8 levels for optimal readability
- Consistent Structure: Use similar structures across different configuration files
- Color Reference: Use the legend to understand level relationships
- Tooltip Information: Hover over nodes to see level details
- Level 0: Application name, project root, main configuration
- Level 1: Major sections (database, api, cache, etc.)
- Level 2: Subsections (endpoints, credentials, etc.)
- Level 3: Configuration groups (hosts, ports, etc.)
- Level 4+: Specific settings and values
To add more levels, extend the COLORS array in src/main.ts:
const COLORS = [
// ... existing colors ...
'#newcolor', // Level 13: New Color Name
];Update the hex values in the COLORS array to change specific level colors.
Use the provided CSS classes for consistent styling:
.column-level-0 { background-color: #d6dffc; }
.column-level-1 { background-color: #b8e0d2; }
/* ... etc ... */- Upload your configuration file to ConfMap
- Observe the color coding at different levels
- Verify that adjacent levels have good contrast
- Check that the hierarchy is clear and readable
- Use the legend to understand level relationships
- Create energy and excitement
- Draw attention to important elements
- Provide visual breaks in the hierarchy
- Create calm and professionalism
- Establish structure and order
- Provide visual anchors
- Bridge between warm and cool
- Create smooth transitions
- Maintain visual harmony
- Dynamic Color Schemes: User-selectable color themes
- Custom Color Mapping: User-defined color assignments
- Accessibility Modes: High-contrast and colorblind-friendly options
- Export Options: Save color-coded diagrams as images
This color scheme is designed to make complex configuration hierarchies easy to understand and navigate. Each color serves a specific purpose in creating a clear visual hierarchy.