Premiers pas avec l'intégration : appliquer des thèmes personnalisés
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Vous pouvez utiliser des thèmes personnalisés pour personnaliser l'apparence de vos tableaux de bord, Looks et Explorations Looker intégrés. Utilisez des thèmes personnalisés pour modifier la famille de polices, la couleur du texte, la couleur de l'arrière-plan, la couleur des boutons, la couleur des tuiles et d'autres éléments visuels.
Par exemple, vous pouvez sélectionner un thème sombre pour modifier l'apparence de votre tableau de bord intégré.
Définir un thème par défaut pour les tableaux de bord, les Looks et les explorations intégrés
Pour spécifier le thème par défaut des tableaux de bord, des Looks et des Explorations intégrés dans votre instance, accédez à la page Thèmes dans la section Plate-forme du panneau Admin, puis cliquez sur le menu à trois points d'un thème et sélectionnez Définir comme thème par défaut.
Appliquer un thème à des tableaux de bord et des explorations spécifiques intégrés
Si vous souhaitez qu'un tableau de bord, un Look ou une exploration utilise un thème autre que le thème par défaut, vous pouvez spécifier un autre thème dans l'URL du tableau de bord, du Look ou de l'exploration intégrés. Pour ce faire, ajoutez le paramètre theme= avec le nom du thème à la fin de l'URL d'intégration. Par exemple, si vous avez un thème appelé "Rouge" que vous souhaitez appliquer à un tableau de bord, ajoutez theme=Red à la fin de l'URL du tableau de bord intégré :
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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)."]]