theme_nish: nish themes

theme_nishR Documentation

nish themes

Description

nish themes with either light blue, light pink or white background. All nish themes are based on the same underlying internal base theme.

Usage

theme_nish_blue()

theme_nish_pink()

theme_nish_white()

Details

Allows for conditional theme settings, see nish::ggplot_add.conditional_theme().

Note

  • Conditional theme settings does not work with ggplot2::theme_set(). For example, by using old_theme <- theme_set(theme_nish_blue()). However, theme_nish_*() can be be called explicitly to enable conditional theme settings.

  • axis.ticks are set which does not fully agree with requirements.

To adjust nish themes (for developers):

  • Modify theme settings in theme_nish_base() for settings applicable to all theme_nish_*() colour themes.

  • Adjust theme_nish_blue(), theme_nish_pink() or theme_nish_white() for settings that are specific to each colour theme.

  • Adjust nish::ggplot_add.conditional_theme() for any conditional theme logic.


rrunner/nish documentation built on Aug. 9, 2022, 6:53 p.m.