--- title: "Liquid objects: theme" description: Information about the current theme. api_name: liquid source_url: html: https://shopify.dev/docs/api/liquid/objects/theme md: https://shopify.dev/docs/api/liquid/objects/theme.md --- # theme Information about the current theme. deprecated Deprecated because the values of this object's properties are subject to change, so can't be relied on within the theme. If you want to link to the theme editor for the published theme, then you can use the URL path `/admin/themes/current/editor`. While this object is deprecated in Liquid and shouldn't be used, you can still access it through the [REST Admin API](https://shopify.dev/api/admin-rest/current/resources/theme). ## Properties * * id [number](https://shopify.dev/docs/api/liquid/basics#number) * The ID of the theme. * name [string](https://shopify.dev/docs/api/liquid/basics#string) * The name of the theme. * role [string](https://shopify.dev/docs/api/liquid/basics#string) from a set of values * The role of the theme. | Possible values | Description | | - | - | | main | The theme is published. Customers see it when they visit the online store. | | unpublished | The theme is unpublished. Customers can't see it. | | demo | The theme is installed on the store as a demo. The theme can't be published until the merchant buys the full version. | | development | The theme is used for development. The theme can't be published, and is temporary. | ```json { "id": 124051750977, "name": "Dawn", "role": "main" } ```