create_theme {rtypeform} | R Documentation |
Theme functions Theme API functions
Description
Theme functions
Theme API functions
Usage
create_theme(
name,
api = NULL,
background_href = NULL,
background_layout = "fullscreen",
background_brightness = 0,
colors_answer = "#4FB0AE",
colors_background = "#FFFFFF",
colors_button = "#4FB0AE",
colors_question = "#3D3D3D",
font = "Source Sans Pro",
has_transparent_button = TRUE
)
get_theme(theme_id, api = NULL)
get_themes(api = NULL, page = 1, page_size = 10)
update_theme(
theme_id,
name,
api = NULL,
background_href = NULL,
background_layout = "fullscreen",
background_brightness = 0,
colors_answer = "#4FB0AE",
colors_background = "#FFFFFF",
colors_button = "#4FB0AE",
colors_question = "#3D3D3D",
font = "Source Sans Pro",
has_transparent_button = TRUE
)
delete_theme(theme_id, api = NULL)
Arguments
name |
See https://developer.typeform.com/create/reference/create-theme/ |
api |
Default |
background_href |
See https://developer.typeform.com/create/reference/create-theme/ |
background_layout |
See https://developer.typeform.com/create/reference/create-theme/ |
background_brightness |
See https://developer.typeform.com/create/reference/create-theme/ |
colors_answer |
See https://developer.typeform.com/create/reference/create-theme/ |
colors_background |
See https://developer.typeform.com/create/reference/create-theme/ |
colors_button |
See https://developer.typeform.com/create/reference/create-theme/ |
colors_question |
See https://developer.typeform.com/create/reference/create-theme/ |
font |
See https://developer.typeform.com/create/reference/create-theme/ |
has_transparent_button |
See https://developer.typeform.com/create/reference/create-theme/ |
theme_id |
The theme id |
page |
The page of results to retrieve. Default 1 is the first page of results. |
page_size |
Number of results to retrieve per page. Default is 10. Maximum is 200. |