Skip to content

Add a theme_palette() function #16

@mccarthy-m-g

Description

@mccarthy-m-g

Where you supply a palette and it colours theme elements based on the number of colours in the palette (e.g., if 1 colour, all elements take on that colour, if 2 then colour 1 is the primary and colour 2 is the secondary, etc.).

theme_prism from ggprism does something similar (picking a theme based on a palette): https://cran.r-project.org/web/packages/ggprism/vignettes/themes.html, https://github.com/csdaw/ggprism/blob/master/R/theme_prism.R

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions