Skip to main content
Server path: /zeplin-styles | Type: Application | PCID required: Yes

Tools

ToolDescription
zeplin_styles_create_project_colorCreate project color
zeplin_styles_create_styleguide_colorCreate styleguide color
zeplin_styles_get_project_colorsGet project colors
zeplin_styles_get_project_design_tokensGet project design tokens
zeplin_styles_get_project_spacing_sectionsGet spacing sections of the project
zeplin_styles_get_project_spacing_tokensGet spacing tokens of the project
zeplin_styles_get_project_text_stylesGet project text styles
zeplin_styles_get_project_variable_collectionsGet project variable collections
zeplin_styles_get_styleguideGet a single styleguide
zeplin_styles_get_styleguide_colorsGet styleguide colors
zeplin_styles_get_styleguide_design_tokensGet styleguide design tokens
zeplin_styles_get_styleguide_linked_projectsGet linked projects
zeplin_styles_get_styleguide_membersGet styleguide members
zeplin_styles_get_styleguide_spacing_sectionsGet spacing sections of the styleguide
zeplin_styles_get_styleguide_spacing_tokensGet spacing tokens of the styleguide
zeplin_styles_get_styleguide_text_stylesGet styleguide text styles
zeplin_styles_get_styleguide_variable_collectionsGet styleguide variable collections
zeplin_styles_get_styleguidesGet all member styleguides
zeplin_styles_invite_styleguide_memberInvite a member
zeplin_styles_remove_styleguide_memberRemove a member
zeplin_styles_update_project_colorUpdate project color
zeplin_styles_update_project_spacing_tokenUpdate project spacing token
zeplin_styles_update_project_text_styleUpdate project text style
zeplin_styles_update_styleguideUpdate a styleguide
zeplin_styles_update_styleguide_colorUpdate styleguide color
zeplin_styles_update_styleguide_spacing_tokenUpdate styleguide spacing token
zeplin_styles_update_styleguide_text_styleUpdate styleguide text style

zeplin_styles_create_project_color

Create project color Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
anumberYesAlpha component of the color
bintegerYesBlue component of the color
gintegerYesGreen component of the color
namestringYesName of the color
rintegerYesRed component of the color
source_idstringNoColor’s identifier in the design tool

zeplin_styles_create_styleguide_color

Create styleguide color Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
anumberYesAlpha component of the color
bintegerYesBlue component of the color
gintegerYesGreen component of the color
namestringYesName of the color
rintegerYesRed component of the color
source_idstringNoColor’s identifier in the design tool

zeplin_styles_get_project_colors

Get project colors Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
limitintegerNoPagination limit
offsetintegerNoPagination offset
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not

zeplin_styles_get_project_design_tokens

Get project design tokens Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not
token_name_casestringNoCase for token names

zeplin_styles_get_project_spacing_sections

Get spacing sections of the project Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
limitintegerNoPagination limit
offsetintegerNoPagination offset

zeplin_styles_get_project_spacing_tokens

Get spacing tokens of the project Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
limitintegerNoPagination limit
offsetintegerNoPagination offset
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not

zeplin_styles_get_project_text_styles

Get project text styles Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
limitintegerNoPagination limit
offsetintegerNoPagination offset
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not

zeplin_styles_get_project_variable_collections

Get project variable collections Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
limitintegerNoPagination limit
offsetintegerNoPagination offset
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not

zeplin_styles_get_styleguide

Get a single styleguide Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
linked_projectstringNoReference project id
linked_styleguidestringNoReference styleguide id

zeplin_styles_get_styleguide_colors

Get styleguide colors Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
limitintegerNoPagination limit
offsetintegerNoPagination offset
linked_projectstringNoReference project id
linked_styleguidestringNoReference styleguide id
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not

zeplin_styles_get_styleguide_design_tokens

Get styleguide design tokens Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not
token_name_casestringNoCase for token names

zeplin_styles_get_styleguide_linked_projects

Get linked projects Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
limitintegerNoPagination limit
offsetintegerNoPagination offset

zeplin_styles_get_styleguide_members

Get styleguide members Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
limitintegerNoPagination limit
offsetintegerNoPagination offset
linked_projectstringNoReference project id
linked_styleguidestringNoReference styleguide id

zeplin_styles_get_styleguide_spacing_sections

Get spacing sections of the styleguide Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
limitintegerNoPagination limit
offsetintegerNoPagination offset
linked_projectstringNoReference project id
linked_styleguidestringNoReference styleguide id

zeplin_styles_get_styleguide_spacing_tokens

Get spacing tokens of the styleguide Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
limitintegerNoPagination limit
offsetintegerNoPagination offset
linked_projectstringNoReference project id
linked_styleguidestringNoReference styleguide id
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not

zeplin_styles_get_styleguide_text_styles

Get styleguide text styles Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
limitintegerNoPagination limit
offsetintegerNoPagination offset
linked_projectstringNoReference project id
linked_styleguidestringNoReference styleguide id
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not

zeplin_styles_get_styleguide_variable_collections

Get styleguide variable collections Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
limitintegerNoPagination limit
offsetintegerNoPagination offset
include_linked_styleguidesbooleanNoWhether to include linked styleguides or not

zeplin_styles_get_styleguides

Get all member styleguides Parameters:
ParameterTypeRequiredDefaultDescription
limitintegerNoPagination limit
offsetintegerNoPagination offset
workspacestringNoWorkspace of the styleguide, it can be personal or the id of organization
statusstringNoFilter by status
linked_projectstringNoReference project id
linked_styleguidestringNoReference styleguide id

zeplin_styles_invite_styleguide_member

Invite a member Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
handlestringYesEmail, username or unique identifier of the user Can also be "me" for joining the styleguide as the current user

zeplin_styles_remove_styleguide_member

Remove a member Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
member_idstringYesMember id

zeplin_styles_update_project_color

Update project color Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
color_idstringYesColor id
anumberNoAlpha component of the color
bintegerNoBlue component of the color
gintegerNoGreen component of the color
namestringNoName of the color
rintegerNoRed component of the color

zeplin_styles_update_project_spacing_token

Update project spacing token Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
spacing_token_idstringYesSpacing token id
namestringNoThe name of the token
valuenumberNoThe value of the token

zeplin_styles_update_project_text_style

Update project text style Parameters:
ParameterTypeRequiredDefaultDescription
project_idstringYesProject id
text_style_idstringYesText style id
colorobjectNoThe color value
namestringNoName of the text style

zeplin_styles_update_styleguide

Update a styleguide Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
descriptionstringNoNew description for the styleguide
linked_parent_styleguide_idstringNoThe unique id of the styleguide to be linked as parent. Set null to unlink the linked parent styleguide.
namestringNoNew name for the styleguide

zeplin_styles_update_styleguide_color

Update styleguide color Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
color_idstringYesColor id
anumberNoAlpha component of the color
bintegerNoBlue component of the color
gintegerNoGreen component of the color
namestringNoName of the color
rintegerNoRed component of the color

zeplin_styles_update_styleguide_spacing_token

Update styleguide spacing token Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
spacing_token_idstringYesSpacing token id
namestringNoThe name of the token
valuenumberNoThe value of the token

zeplin_styles_update_styleguide_text_style

Update styleguide text style Parameters:
ParameterTypeRequiredDefaultDescription
styleguide_idstringYesStyleguide id
text_style_idstringYesText style id
colorobjectNoThe color value
namestringNoName of the text style