Skip to content

Commit

Permalink
closes #2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmackintosh committed Mar 25, 2021
1 parent 7634729 commit bf366ff
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 21 deletions.
22 changes: 11 additions & 11 deletions R/pop_palettes.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ pop_palettes <- list(
"#7C708E", "#7E5876", "#7C5366", "#5F383F"),
beck = c("#8A4736", "#C1CE7D", "#87E04D", "#92DD8E",
"#9BC3D7", "#A67FC3", "#B03387", "#BA2874","#A53252"),
boo = c("#3E5588", "#75785C", "#403C51", "#C44541", "#C25570",
"#E4A649", "#443345", "#49534D", "#4A6362"),
breeders = c("#791134" ,"#9A4C66", "#BC8899", "#DDC3CC" ,"#FFFFFF",
"#E2E2C8", "#C6C492", "#A9A85C","#8D8B26"),
bwitched = c("#362A61","#685F88","#9A94B0" ,"#CCC9D7","#FFFFFF",
"#F3D9CE","#E8B49E", "#DD8F6E","#D26A3E"),
boo = c("#B04D49", "#C06A51", "#C89B68", "#A79F62" ,"#4D6D7B",
"#42496C", "#633D5A", "#934B63", "#A34351"),
bwitched = c("#40234E", "#B09B59", "#732F4D" ,"#D29965", "#5B274B",
"#C89C93", "#572F58", "#71773E", "#446E80"),
deeelite = c("#365A4C", "#473D8C", "#90D044", "#DB616D", "#64403E",
"#5E3C80", "#9C8F42", "#8F2975", "#3A5A3C"),
hole = c("#322C40", "#262937", "#4A5851", "#AE6DA3", "#545B42",
"#4F2D31", "#CEAB71", "#593E4C","#2E3A45"),
hole = c("#67332C" ,"#904B32", "#A3663E", "#B98855", "#C9A466",
"#D4BB6F", "#738664", "#5C4966", "#6D4254"),
nodoubt = c("#2D4F81" ,"#5BB0BB", "#87A884", "#A93842", "#BA8E53",
"#7C5A72", "#ABBE7A", "#4D4574","#81A591"),
sclub7 = c("#945644","#C59F6F", "#9E8F64", "#5D6B58", "#496569",
"#50768C", "#6288A6", "#7589A4", "#834370"),
spice = c("#C39384", "#DAC191", "#E8DE97", "#DDE4A2", "#B5D8C6",
"#ABCEDF", "#BBC2E1", "#E0BFDF", "#CC798C"),
steps = c("#A65A57", "#D18C7E", "#F2BEA3", "#E5DFBD", "#85BACB",
"#8895C4", "#BB6CA6", "#BA638C", "#9B535A")
"#8895C4", "#BB6CA6", "#BA638C", "#9B535A"),
secret = c( "#1E3850" ,"#39315E", "#ECC639", "#E15368", "#E76A42" ,
"#97548E", "#364A32", "#644278","#2A3E32")

)

Expand All @@ -37,8 +37,8 @@ pop_palettes <- list(
#'
#' @param name Name of palette. Select one:
#' \code{aqua}, \code{bangles}, \code{beck}, \code{boo},
#' \code{breeders}, \code{bwitched}, \code{deeelite},\code{hole},
#' \code{nodoubt}, \code{sclub7}, \code{spice},\code{steps}
#' \code{bwitched}, \code{deeelite},\code{hole}, \code{nodoubt},
#' \code{sclub7}, \code{spice},\code{steps}, \code{secret}
#'
#' @param n Number of colors desired.
#'
Expand Down
Binary file modified man/figures/README-boo-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-boo-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-boo-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-deeelite-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-deeelite-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-deeelite-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-sclub-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-sclub-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-sclub-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions man/pop_palette.Rd

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

12 changes: 8 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ Featuring:
- Bangles
- Beck
- Betty Boo
- Breeders
- B\*Witched
- Deee Lite
- Hole
- No Doubt
- S Club 7
- Spice Girls
- Steps
- A special secret palette

## Why?

Expand Down Expand Up @@ -60,24 +60,24 @@ pop_palette("beck")

``` r
pop_palette("boo")
pop_palette("breeders")
pop_palette("bwitched")
pop_palette("deeelite")
```

<img src="man/figures/README-boo-1.png" width="33%" /><img src="man/figures/README-boo-2.png" width="33%" /><img src="man/figures/README-boo-3.png" width="33%" />

``` r
pop_palette("deeelite")
pop_palette("hole")
pop_palette("nodoubt")
pop_palette("sclub7")
```

<img src="man/figures/README-deeelite-1.png" width="33%" /><img src="man/figures/README-deeelite-2.png" width="33%" /><img src="man/figures/README-deeelite-3.png" width="33%" />

``` r
pop_palette("sclub7")
pop_palette("spice")
pop_palette("steps")
pop_palette("secret")
```

<img src="man/figures/README-sclub-1.png" width="33%" /><img src="man/figures/README-sclub-2.png" width="33%" /><img src="man/figures/README-sclub-3.png" width="33%" />
Expand All @@ -97,3 +97,7 @@ you agree to abide by its terms.
## Contributing

See the [Contribution guide](.github/CONTRIBUTING.md)

## What’s the secret palette?

See [here](https://www.pinterest.com/pin/361836151304495026/)
11 changes: 7 additions & 4 deletions readme.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ Featuring:
- Bangles
- Beck
- Betty Boo
- Breeders
- B*Witched
- Deee Lite
- Hole
- No Doubt
- S Club 7
- Spice Girls
- Steps
- A special secret palette

## Why?

Expand Down Expand Up @@ -69,24 +69,24 @@ pop_palette("beck")

```{r boo, fig.show = "hold",out.width = "33%"}
pop_palette("boo")
pop_palette("breeders")
pop_palette("bwitched")
pop_palette("deeelite")
```



```{r deeelite, fig.show = "hold",out.width = "33%"}
pop_palette("deeelite")
pop_palette("hole")
pop_palette("nodoubt")
pop_palette("sclub7")
```



```{r sclub, fig.show = "hold",out.width = "33%"}
pop_palette("sclub7")
pop_palette("spice")
pop_palette("steps")
pop_palette("secret")
```


Expand All @@ -107,3 +107,6 @@ project you agree to abide by its terms.
## Contributing

See the [Contribution guide](.github/CONTRIBUTING.md)

## What's the secret palette?
See [here](https://www.pinterest.com/pin/361836151304495026/)

0 comments on commit bf366ff

Please sign in to comment.