Skip to content

Commit

Permalink
FT homage theme
Browse files Browse the repository at this point in the history
  • Loading branch information
hrbrmstr committed Jul 5, 2018
1 parent dadbaa6 commit c61ad8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions R/ft.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#' FT color palette
#'
#' @md
#' @note don't forget you can use [scales::alpha()] with these colors
#' @docType data
#' @export
list(
Expand All @@ -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
Expand Down Expand Up @@ -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
#'
Expand Down
5 changes: 4 additions & 1 deletion man/ft_cols.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c61ad8e

Please sign in to comment.