Skip to contents

Returns information about available color themes for workflow diagrams.

Usage

get_diagram_themes()

Value

Named list describing available themes

Examples

# See available themes
get_diagram_themes()
#> $light
#> [1] "Default light theme with bright colors - perfect for documentation sites"
#> 
#> $dark
#> [1] "Dark theme with muted colors - ideal for dark mode environments and terminals"
#> 
#> $auto
#> [1] "GitHub-adaptive theme with solid colors that work in both light and dark modes"
#> 
#> $minimal
#> [1] "Grayscale professional theme - print-friendly and great for business documents"
#> 
#> $github
#> [1] "Optimized specifically for GitHub README files with maximum mermaid compatibility"
#> 
#> $viridis
#> [1] "Colorblind-safe theme (purple-blue-green-yellow) - perceptually uniform, accessible"
#> 
#> $magma
#> [1] "Colorblind-safe warm theme (purple-red-yellow) - high contrast, print-friendly"
#> 
#> $plasma
#> [1] "Colorblind-safe vibrant theme (purple-pink-yellow) - bold colors for presentations"
#> 
#> $cividis
#> [1] "Colorblind-safe theme optimized for deuteranopia/protanopia (blue-yellow only)"
#> 

if (FALSE) { # \dontrun{
# Use a specific theme (requires actual workflow data)
workflow <- put("./src")
put_diagram(workflow, theme = "github")
} # }