Skip to content

Commit 1673a3a

Browse files
render readme, fix script
1 parent 8cc958d commit 1673a3a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.Rmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,6 @@ The following online docs are available:
7171

7272
## Acknowledgments
7373

74-
Hex sticker font is [Gayathri](https://fonts.google.com/specimen/Gayathri), and the image is taken from icon made by [Freepik](https://www.freepik.com) and available at
75-
[flaticon.com](https://www.flaticon.com/free-icon/suit_1355137).
74+
Hex sticker font is [Gayathri](https://fonts.google.com/specimen/Gayathri), and
75+
the image is taken from icon made by [Freepik](https://www.freepik.com) and
76+
available at [flaticon.com](https://www.flaticon.com/free-icon/suit).

hextools/hexsticker.R

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ project_root <- here::here()
1515
# https://www.flaticon.com/free-icon/suit_1355137
1616
image <- image_read(file.path(project_root, "hextools", "suit.png"))
1717
manual_logo_path <- file.path(project_root, "man", "figures", "logo.png")
18+
color_font <- "#b3c9e5"
1819

1920
sticker(
2021
# image
@@ -25,22 +26,23 @@ sticker(
2526
s_height = 1.2,
2627
# package name
2728
package = "styler",
28-
p_color = "#F6ECA9",
29+
p_color = color_font,
2930
p_family = google_font_name,
3031
p_size = 58,
3132
p_x = 0.35,
3233
p_y = 0.95,
3334
angle = 90,
3435
# image
3536
h_color = "black",
36-
h_fill = "#11235A",
37+
h_fill = "#a18595",
3738
# package URL
3839
url = " https://styler.r-lib.org/",
3940
u_size = 10,
40-
u_color = "#F6ECA9",
41+
u_color = color_font,
4142
# saving sticker
4243
filename = manual_logo_path,
4344
dpi = 600,
4445
)
4546

47+
4648
rmarkdown::render("README.Rmd")

0 commit comments

Comments
 (0)