Iniziare a utilizzare l'embedding: applicazione di temi personalizzati
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Puoi utilizzare i temi personalizzati per personalizzare l'aspetto delle dashboard, dei look e delle esplorazioni di Looker incorporate. Utilizza temi personalizzati per personalizzare la famiglia di caratteri, il colore del testo, il colore di sfondo, il colore dei pulsanti, il colore dei riquadri e altri elementi visivi.
Ad esempio, puoi selezionare un tema scuro per modificare l'aspetto della dashboard incorporata.
Impostare un tema predefinito per dashboard, Look ed esplorazioni incorporati
Per specificare il tema predefinito per le dashboard, i Look e le esplorazioni incorporati nella tua istanza, vai alla pagina Temi nella sezione Piattaforma del pannello Amministrazione, fai clic sul menu con tre puntini di un tema e seleziona Imposta come predefinito.
Applicare un tema a dashboard e esplorazioni incorporate specifiche
Se vuoi che una dashboard, un look o un'esplorazione utilizzi un tema diverso da quello predefinito, puoi specificare un tema diverso nell'URL della dashboard, del look o dell'esplorazione incorporati. A tal fine, aggiungi il parametro theme= con il nome del tema alla fine dell'URL incorporato. Ad esempio, se hai un tema chiamato "Rosso" che vuoi applicare a una dashboard, aggiungi theme=Red alla fine dell'URL della dashboard incorporata:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Getting started with embedding — applying custom themes\n\nYou can use [custom themes](/looker/docs/themes-for-embedded-dashboards-and-explores#creating_a_custom_theme) to customize the appearance of your embedded Looker dashboards, Looks, and Explores. Use custom themes to customize font family, text color, background color, button color, tile color, and other visual elements.\n| **Note:** Custom themes are not supported on embedded [merged queries](/looker/docs/merged-results) or embedded dashboard tiles that are based on a merged query.\n\nFor example, you can select a **dark** theme to change the appearance of your embedded dashboard.\n\n\nSetting a default theme for embedded dashboards, Looks, and Explores\n--------------------------------------------------------------------\n\nTo specify the default theme for the embedded dashboards, Looks, and Explores on your instance, navigate to the **Themes** page in the **Platform** section of the **Admin** panel, and click a theme's three-dot menu and select **Set as Default**.\n\nThe default theme is used for embedded dashboards, Looks, and Explores on your Looker instance, unless you [specify different settings for an individual dashboard, Look, or Explore](#specify_theme).\n\nApplying a theme to specific embedded dashboards and Explores\n-------------------------------------------------------------\n\nIf you want a dashboard, Look, or an Explore to use a theme other than the default theme, you can specify a different theme in the URL of the embedded dashboard, Look, or Explore. To do this, add the parameter `theme=` with the name of the theme to the end of the embed URL. For example, if you have a theme called \"Red\" that you want to apply to a dashboard, add `theme=Red` at the end of your embed dashboard URL: \n\n https://example.looker.com/embed/dashboards/246?theme=Red\n\nFor an Explore, add `theme=Red` at the end of your embed Explore URL: \n\n https://example.looker.com/embed/explore/model_name/explore_name?theme=Red\n\nThe theme element in the URL is not case-sensitive, so you can use either `theme=Red` or `theme=red`.\n\nFor more information\n--------------------\n\n- For information about creating a custom theme, see the [Admin settings - Themes](/looker/docs/themes-for-embedded-dashboards-and-explores) documentation page.\n- For information about applying custom elements of a theme, see the [\"Using the _theme URL argument to apply individual dashboard theme elements\"](/looker/docs/themes-for-embedded-dashboards-and-explores#using_the_theme_url_argument_to_apply_individual_dashboard_theme_elements) section of the Admin settings - Themes documentation page.\n- For information about applying and managing custom themes using the API, see the [Theme method documentation](/looker/docs/reference/looker-api/latest)."]]