Skip to content

Commit 501e328

Browse files
update hex images for front page (#740)
1 parent c38da05 commit 501e328

File tree

10 files changed

+3
-3
lines changed

10 files changed

+3
-3
lines changed
Loading
Loading
Loading
Loading

themes/hugo-graphite/static/css/images/hex/magick-script.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ library(magick)
44
library(fs)
55
library(purrr)
66

7-
tidyverse_pngs <- fs::dir_ls("static/css/images/hex",
7+
tidyverse_pngs <- fs::dir_ls("themes/hugo-graphite/static/css/images/hex",
88
recurse = TRUE,
99
glob = "*.png")
1010

1111
scale_hex <- function(hex) {
1212
hex %>%
1313
image_read() %>%
14-
image_scale("736x853") %>%
14+
image_scale("240x278") %>%
1515
image_write(hex, quality = 90)
1616
}
1717

18-
purrr::map(tidyverse_pngs, scale_hex)
18+
purrr::map(tidyverse_pngs, scale_hex)
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)