View source: R/discrete-iterm.R
| pal_iterm | R Documentation |
ANSI terminal color palettes sourced from the iterm2-color-schemes project. Each theme provides normal and bright variants.
pal_iterm(
palette = iterm_palettes(),
variant = c("normal", "bright"),
alpha = 1
)
palette |
Palette name. See |
variant |
Variant of the palette. One of |
alpha |
Transparency level, a real number in (0, 1].
See |
Preview all available iTerm color palettes in ggsci: https://nanx.me/ggsci-iterm/.
https://github.com/mbadolato/iTerm2-Color-Schemes
library("scales")
show_col(pal_iterm("Rose Pine")(6))
show_col(pal_iterm("Rose Pine", variant = "bright", alpha = 0.7)(6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.