Browse Source

FT homage theme

tags/0.8.0
boB Rudis 6 years ago
parent
commit
d32e76302b
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 6
      R/ft.R
  2. 5
      man/ft_cols.Rd

6
R/ft.R

@ -1,6 +1,7 @@
#' FT color palette
#'
#' @md
#' @note don't forget you can use [scales::alpha()] with these colors
#' @docType data
#' @export
list(
@ -11,7 +12,8 @@ green = "#b3e93e",
gray = "#909495",
yellow = "#ffec1b",
peach = "#fba29d",
light_blue = "#23d0fc"
light_blue = "#23d0fc",
white = "#ffffff"
) -> ft_cols
#' @rdname ft_cols
@ -187,7 +189,7 @@ ft_geom_defaults <- function() {
}
ft_palette <- c("#617a89", "#0b53c1", "#ff0055", "#b3e93e", "#909495", "#ffec1b", "#fba29d", "#23d0fc")
ft_palette <- c("#617a89", "#0b53c1", "#ff0055", "#b3e93e", "#909495", "#ffec1b", "#fba29d", "#23d0fc", "#ffffff")
#' A bright qualitative color palette
#'

5
man/ft_cols.Rd

@ -5,7 +5,7 @@
\alias{ft_cols}
\alias{ft_text_col}
\title{FT color palette}
\format{An object of class \code{list} of length 8.}
\format{An object of class \code{list} of length 9.}
\usage{
ft_cols
@ -14,4 +14,7 @@ ft_text_col
\description{
FT color palette
}
\note{
don't forget you can use \code{\link[scales:alpha]{scales::alpha()}} with these colors
}
\keyword{datasets}

Loading…
Cancel
Save