Start a conversation

Setting a Default Theme

To set a default theme, you should make a GraphQL setDefaultTheme mutation.

Query


mutation setDefaultTheme($themeId: String!){
    setDefaultTheme(themeId: $themeId){
        result
        errors{
            __typename
            ... on ThemeNotFoundError {
                message
                fields
                themeId
            }
            ... on PermissionDeniedError {
                message
                fields
            }
        }
    }
}

Variables


{
  "themeId": "myAwesomeTheme"
}
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. ATLAS

  2. Posted
  3. Updated

Comments