Skip to content

Commit

Permalink
Add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Grenié committed Apr 12, 2024
1 parent 5ae692a commit 1b4177c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `funrar` package
# `funrar` - Computing Functional rarity indices <img src="man/figures/logo.png" align="right" style="float:right; height:120px;"/>

<!-- badges: start -->
[![R-CMD-check](https://github.com/Rekyt/funrar/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Rekyt/funrar/actions/workflows/R-CMD-check.yaml)
Expand Down
8 changes: 5 additions & 3 deletions inst/hexlogo/funrar-sticker.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ hexSticker::sticker(
filename = here::here("man", "figures", "logo.png"),
dpi = 300,

p_size = 18, # Title
p_size = 22, # Title
u_size = 6, # URL
# p_family = "Aller_Rg",

p_color = "#222222", # Title
h_fill = "#CAE1FF", # Background
h_color = "#94a3b7", # Border
h_color = "#222222", # Border
u_color = "#222222", # URL

# p_x = 1.00, # Title
p_y = 1.67, # Title
p_y = 1.65, # Title
s_x = 1.05, # Subplot
s_y = 0.9, # Subplot

Expand All @@ -69,3 +69,5 @@ hexSticker::sticker(
l_height = 1.4,
l_y = 1.6
)

# Other background color '#94a3b7'
Binary file modified man/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1b4177c

Please sign in to comment.