Themes
Themes control the overall visual style of your plots, including background, axes, grid, and text colors.Built-in Themes
Kuva includes four built-in themes:Light
Default theme with white background and black text
Dark
Dark background (#1e1e1e) with light text for night viewing
Solarized
Ethan Schoonover’s Solarized color scheme
Minimal
Clean, publication-ready style with no grid
Using Themes (Library)
Using Themes (CLI)
Theme Structure
TheTheme struct controls all chrome colors:
Background Color Override
Color Palettes
Palettes provide consistent color schemes for multi-series plots.Available Palettes
Colorblind-Safe Palettes
These palettes are designed to be distinguishable for people with color vision deficiency:wong- Bang Wong, Nature Methods 2011 (8 colors)okabe_ito- Alias for Wong palette (widely known name)tol_bright- Paul Tol qualitative bright (7 colors)tol_muted- Paul Tol qualitative muted (10 colors)tol_light- Paul Tol qualitative light (9 colors)
General-Purpose Palettes
category10- Tableau 10 / D3 Category10 (10 colors, default)pastel- Softer pastel version (10 colors)bold- High-saturation vivid colors (10 colors)ibm- IBM Design Language (5 colors)
Using Palettes (Library)
Using Palettes (CLI)
Color Vision Deficiency (CVD) Palettes
Dedicated palettes for specific types of color blindness:Custom Palettes
Cycling Through Palette Colors
Plot-Specific Styling
Scatter Plots
Colors and Sizes
Marker Shapes
Six marker shapes are available:Bubble Plots (Variable Sizes)
Line Plots
Line Styles
Custom Dash Patterns
Fill Under Line
Bar Plots
Box Plots
Violin Plots
Layout Customization
Canvas Size
Titles and Labels
Grid Control
Tick Control
Tick Formats
Log Scale
Legends
Adding Legend Labels
Legend Position
Best Practices
Choose colorblind-safe palettes for publications
Choose colorblind-safe palettes for publications
Use
wong, okabe_ito, or the tol_* palettes for maximum accessibility.Match themes to your presentation context
Match themes to your presentation context
- Use
minimaltheme for publications and papers - Use
darktheme for presentations in dark rooms - Use
lighttheme for print materials and reports
Use distinct markers when combining multiple series
Use distinct markers when combining multiple series
Adjust point sizes based on data density
Adjust point sizes based on data density
- Use larger sizes (5-8 pixels) for sparse data
- Use smaller sizes (2-4 pixels) for dense data or large datasets
Next Steps
- Multi-Plot Figures - Creating complex multi-panel layouts
- Annotations - Adding text, reference lines, and regions