Skip to content

Commit

Permalink
Add favourite colour names data (list)
Browse files Browse the repository at this point in the history
  • Loading branch information
francisbarton committed Nov 10, 2023
1 parent 86597f7 commit 9ff4d99
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
Binary file modified R/sysdata.rda
Binary file not shown.
3 changes: 2 additions & 1 deletion data-raw/gitmoji_df.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
gitmoji_df <- jsonlite::fromJSON("https://github.com/carloscuesta/gitmoji/raw/master/packages/gitmojis/src/gitmojis.json")[[1]]

source(here::here("data-raw/project_mascots.R"))
source(here::here("data-raw/myr_colours.R"))

usethis::use_data(gitmoji_df, project_mascots, mascot_names, star_names, overwrite = TRUE, internal = TRUE)
usethis::use_data(gitmoji_df, project_mascots, mascot_names, star_names, myr_colours, overwrite = TRUE, internal = TRUE)
34 changes: 34 additions & 0 deletions data-raw/myr_colours.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
myr_colours <- list(
blues = list(
"cadetblue",
"cyan4",
"darkcyan",
"deepskyblue",
"dodgerblue",
"lightskyblue",
"slateblue"
),
reds = list(
"firebrick",
"deeppink",
"hotpink",
"maroon2",
"plum2",
"violetred"
),
greens = list(
"seagreen",
"springgreen3",
"yellowgreen"
),
misc = list(
"antiquewhite",
"bisque",
"coral",
"lavenderblush",
"lightcoral",
"papayawhip",
"slategrey",
"thistle"
)
)

0 comments on commit 9ff4d99

Please sign in to comment.