This function helps with the creation of the list structure required to provide Safari-specific favicon parameters to the API. Further details can be found in the realfavicongenerator.net API documentation

safari_pinned_tab_helper(
  picture_aspect = c("no_change", "silhouette", "black_and_white"),
  threshold = NULL,
  theme_color = NULL
)

Arguments

picture_aspect

character; one of 'no_change', 'silhouette' or 'black_and_white'. If 'black_and_white', use threshold to indicate how to turn colours to black/white. If 'no_change', image must be a SVG file.

threshold

character; value of 0 to 100 which determines how colours are changed to black/white

theme_color

character; hex color value of the theme colour - usually the dominant color of the master picture