{"templateId":"markdown","versions":[{"version":"production","label":"November '26","link":"/docs/payments/payment-experiences-styling","default":true,"active":true,"folderId":"a2557b8d"}],"sharedDataIds":{"sidebar":"sidebar-docs/@production/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","flex","img"]},"redocly_category":"Accept & Collect","type":"markdown"},"seo":{"title":"Payment Experiences styling","description":"Here we give you pointers on how to work with the different layers of styling Salesforce provides so you can perfectly control your digital payment experience.","siteUrl":"https://docs.findock.com","keywords":"payment experiences, styles, styling"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"payment-experiences-styling","__idx":0},"children":["Payment Experiences styling"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["There are two types of components FinDock provides for Experience Cloud:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Managed components that are a part of the FinDock package (payButton, paymentMethodSelector)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Unmanaged components provided via FinDock Labs (currencyPicker, experienceProgressStages, etc.)"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Both types utilize CSS custom properties (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-*"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--slds-*"]}," styling hooks) rather than hardcoded colors, fonts, or spacing. This makes them themeable: a hook is just a named variable a component reads with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["var(--hook-name, fallback)"]},". Because custom properties inherit through the DOM (including across shadow DOM boundaries), setting one anywhere above a component in the cascade tree changes how that component renders, without needing code change or redeployment of the component itself."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is why the \"How do I style this?\" question always reduces to answering \"Where do I set the hook, and how far down does it reach?\" — which is what we explain in the following sections."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"flow-styling","__idx":1},"children":["Flow styling"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Screen Flows have their own native styling controls, separate from the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-*"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--slds-*"]}," hook system. Selecting a screen or an individual component in Flow Builder opens a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Style"]}," tab with a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Styling Overrides"]}," section, letting you adjust background, text, and border colors, plus border weight and border radius — either at the screen level (affecting the screen container, header, and footer navigation buttons) or at the level of one specific component instance, without touching any other component on the screen or flow."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The foundation is Salesforce's base design system. On top of that is the org theme, and on top of the org theme is the Experience Cloud site theme. The Flow-level styles are at the top, overriding everything else. They are the most specific and highest-priority layer, meant for one-off exceptions rather than full rebranding."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Because these styles only impact native Flow chrome and standard screen components, they do not replace the hook-based approaches. Payment Experiences components like ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payButton"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currencyPicker"]},", and similar custom components inside the Flow still take their styling from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-*"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--slds-*"]}," hooks, not from Styling Overrides. Use the overrides for small, targeted adjustments to a Flow's own borders/colors on a specific screen; use the Experience Cloud or container hook approach (see below) for anything that needs to apply consistently across the Flow and the custom components it contains."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"custom-lwc","__idx":2},"children":["Custom LWC"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If you create your own custom LWC that uses FinDock components (like ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["currencyPicker"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payButton"]},"), styling should be declared in that wrapper component's own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".css"]}," file, on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":host"]}," (or a class further down the template). CSS custom properties inherit through shadow DOM boundaries, so a hook set on the wrapper's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":host"]}," cascades into every nested component automatically. This is the same mechanism that makes Experience Cloud-level ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":root"]}," styling work, scoped to this one wrapper instead of the entire site."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Here are some of the prominent hooks used in FinDock Payment Experiences components."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Hook"},"children":["Hook"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What it affects"},"children":["What it affects"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-g-brand"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Primary brand color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-g-brand-contrast"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Text on brand color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-button-color"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Button background"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-button-color-hover"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Button hover background"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-button-color-contrast"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Button text color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-button-radius-border"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Button corner rounding"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-form-element-color-background"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Card/field background"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-form-element-color-border"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Card/field border color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-form-element-radius-border"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Card/field corner rounding"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-form-element-text-color"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Body text color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-form-checkbox-color-border-checked"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Selected radio/checkbox color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-spacing-medium"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Vertical spacing between sections"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-color-text-secondary"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Muted/helper text color"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--currency-picker-max-width"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Currency dropdown width cap"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For the full set of dxp hooks, refer to Salesforce documentation."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"experience-cloud-styling","__idx":3},"children":["Experience Cloud styling"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can change the styling properties from the Experience Cloud setup."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the Experience Cloud builder, go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setting"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Edit Head Markup"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the pop-up, add ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["<style> </style>"]}," tags and put your changes inside that tags. For example:",{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"<style>\n    :root {\n      --dxp-g-brand: #22c55e;\n      --dxp-g-brand-contrast: #980002;\n    }\n</style>\n","lang":"html"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Save your changes"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Setting a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-*"]}," hook at the Experience Cloud level in the site's Head Markup, as a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":root"]}," rule, is the broadest and lowest-effort way to theme these components. Every component in this family reads its colors, borders, and text styling through the same three-tier fallback chain (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-*"]}," → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-g-*"]}," → ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--slds-g-*"]},"), so hook set once at ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":root"]}," cascades into all of them automatically."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Experience Cloud styling affects not only the LWCs FinDock provides, but also propagates into a Screen Flow's own rendered elements, like native buttons, and field frames, when that Flow is exposed through a container LWC (as long as the container doesn't redeclare the same hook itself)."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"success"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Remember to re-publish when you change styles."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is the default styling of the FinDock components in Lightning Out 2.0 by default, without applying any Flow styling:"]},{"$$mdtype":"Tag","name":"Flex","attributes":{"gap":3,"justify":"start","align":"center","wrap":"nowrap","height":"auto","dir":"row"},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/default-style1.71341f47e1a77540177934fd8f0bf52ce7174fbd33daff08bfaca0524c19639c.f78e0b2f.png","alt":"Default styling of amount selector","framed":false,"withLightbox":true,"style":{"borderRadius":"5px","width":"200px"}},"children":[]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/default-style2.77cbe9f000f4715214e68919c8b3fb2acaa9c813546d3ef0a77945a7b7f049f6.f78e0b2f.png","alt":"Default styling of payment method selector","framed":false,"withLightbox":true,"style":{"borderRadius":"5px","width":"200px"}},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After applying the style from the example, the components look like this:"]},{"$$mdtype":"Tag","name":"Flex","attributes":{"gap":3,"justify":"start","align":"center","wrap":"nowrap","height":"auto","dir":"row"},"children":[{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/custom-styling-applied1.af063f26f99e5956b68e759aaf2eec1cce168bc0aee1acf4621d59ac1c62ab7b.f78e0b2f.png","alt":"Custom styling applied to amount selector","framed":false,"withLightbox":true,"style":{"borderRadius":"5px","width":"200px"}},"children":[]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/custom-styling-applied2.9437a6e2b272d2aa8fd1ee96480eb157df644351eb61beafce7426e1309f3ec6.f78e0b2f.png","alt":"Custom styling applied to payment method selector","framed":false,"withLightbox":true,"style":{"borderRadius":"5px","width":"200px"}},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"external-website","__idx":4},"children":["External website"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Styling from a fully external website works differently than Experience Cloud Head Markup. The two are technically separate; there is no shared CSS between the external page and the Salesforce-rendered component at all."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The bridge is the Lightning Out 2.0 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["style"]}," attribute on the embedded tag. To achieve the same result as for the Experience Cloud styling (green button with red text), you need to apply styles to the container, as demonstrated below."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"<lightning-out-application org-url=\"https://your-domain.my.salesforce.com\" site-prefix=\"your-site\"\n  app-id=\"your-lightning-out-app-id\" components=\"c-your-flow-container,cpm-pay-button\">\n</lightning-out-application>\n<c-your-flow-container style=\"\n    display: block; width: 100%; height: 60vh;\n    --dxp-g-brand: #22c55e;\n    --dxp-g-brand-contrast: #980002;\n    --dxp-s-button-color: #22c55e;\n    --dxp-s-button-color-contrast: #980002;\n    --dxp-s-button-border-color: #22c55e;\n    --dxp-s-button-color-hover: #22c55e;\n    --dxp-s-button-color-hover-contrast: #980002;\n    --dxp-s-button-border-color-hover: #22c55e;\n    --dxp-s-button-color-focus: #22c55e;\">\n </c-your-flow-container>\n","lang":"html"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Notice that there are nine declared properties here versus two in the Experience Cloud Head Markup approach. The Experience Cloud ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":root"]}," rule lives in the same DOM as the Flow, so the browser's own CSS engine resolves each component's full fallback chain for free: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payButton.css"]}," reads ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["var(--dxp-s-button-color, var(--dxp-g-brand, ...))"]},", so ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-g-brand"]}," alone satisfies it by native inheritance."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The cross-origin relay of Lightning Out 2.0 is not a live cascade. Rather, it only copies over the declared custom properties you provided. No styles are derived or inferred. So each state-specific hook (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hover"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["focus"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["border"]},") has to be named explicitly, since nothing on the external page's side can complete the fallback chain the way the browser does inside a single DOM."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is an important styling constraint. While not stated explicitly in Salesforce guidance, the provided examples demonstrate a class-based rule computes fine within the host page's own rendering, but the Lightning Out 2.0 relay never considers stylesheets, only the inline ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["style"]}," property. To be clear: with Lightning Out 2.0, you do not control styles through CSS. In Lightning Out 2.0 attribute and JS forms, styling is read from the element's inline ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["style"]}," specifically, never a class or external stylesheet rule."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Since the JS form writes to that same inline ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["style"]}," object, it's a functional equivalent to the markup version — useful when the color values need to be computed or reused rather than hardcoded per tag:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"html","header":{"controls":{"copy":{}}},"source":"<c-your-flow-container id=\"your-flow-container\" style=\"display: block; width: 100%; height: 60vh;\"></c-your-flow-container>\n<script>\n    (function () {\n        var flowBrandHooks = {\n            '--dxp-g-brand': '#22c55e',\n            '--dxp-g-brand-contrast': '#980002',\n            '--dxp-s-button-color': '#22c55e',\n            '--dxp-s-button-color-contrast': '#980002',\n            '--dxp-s-button-border-color': '#22c55e',\n            '--dxp-s-button-color-hover': '#22c55e',\n            '--dxp-s-button-color-hover-contrast': '#980002',\n            '--dxp-s-button-border-color-hover': '#22c55e',\n            '--dxp-s-button-color-focus': '#22c55e'\n        };\n        var flowEl = document.getElementById('your-flow-container');\n        Object.keys(flowBrandHooks).forEach(function (prop) {\n            flowEl.style.setProperty(prop, flowBrandHooks[prop]);\n        });\n    })();\n</script>\n","lang":"html"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"container-styling","__idx":5},"children":["Container styling"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Instead of styling from the external website, the same set of hooks can be baked directly into the container LWC's own ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".css"]}," file, on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":host"]},". This keeps the theme with the component in Salesforce rather than the host page:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"css","header":{"controls":{"copy":{}}},"source":":host {\n    --dxp-g-brand: #22c55e;\n    --dxp-g-brand-contrast: #980002;\n    --dxp-s-button-color: #22c55e;\n    --dxp-s-button-color-contrast: #980002;\n    --dxp-s-button-border-color: #22c55e;\n    --dxp-s-button-color-hover: #22c55e;\n    --dxp-s-button-color-hover-contrast: #980002;\n    --dxp-s-button-border-color-hover: #22c55e;\n    --dxp-s-button-color-focus: #22c55e;\n}\n","lang":"css"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The same nine hooks are needed here as well, even though this is entirely inside Salesforce. Setting only ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-g-brand"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-g-brand-contrast"]}," on the container's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":host"]}," is not enough, unlike the Experience Cloud Head Markup case. The reason is that on a normal Experience Cloud page, the site's own compiled theme/branding stylesheet is loaded alongside the page, and that stylesheet is what maps the specific hooks (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-button-color"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-s-button-color-hover"]},", etc.) back to the one brand-color input, overriding ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dxp-g-brand"]}," at ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":root"]}," rides on top of that existing chain."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A container rendered through Lightning Out 2.0 doesn't load that site-wide theme stylesheet. Only SLDS-based styles and the container's own bundled CSS are included. That normally mapping layer simply isn't present. The fallback chain of ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["payButton.css"]}," has nothing to resolve the more specific hooks against except the final generic SLDS default."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Practically, this means you need to pick one owner for the theme. If it is included the container's ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[":host"]}," like this, it becomes the fixed default for that container regardless of what the external page or the Experience Cloud's Head Markup try to set — the shadow DOM boundaries apply here, too."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["See also:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.salesforce.com/docs/atlas.en-us.exp_cloud_lwr.meta/exp_cloud_lwr/brand_apply_hooks.htm"},"children":["Use --dxp Styling Hooks in Custom Components"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.salesforce.com/docs/atlas.en-us.exp_cloud_lwr.meta/exp_cloud_lwr/brand_hooks.htm"},"children":["-dxp Styling Hooks in LWR Sites"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.salesforce.com/docs/platform/lwc/guide/create-components-css-custom-properties.html"},"children":["SLDS Styling Hooks (LWC Developer Guide)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developer.salesforce.com/docs/platform/lwc/guide/lightning-out-component-properties.html"},"children":["Lightning Out component properties"]}]}]}]},"headings":[{"value":"Payment Experiences styling","id":"payment-experiences-styling","depth":1},{"value":"Flow styling","id":"flow-styling","depth":2},{"value":"Custom LWC","id":"custom-lwc","depth":2},{"value":"Experience Cloud styling","id":"experience-cloud-styling","depth":2},{"value":"External website","id":"external-website","depth":2},{"value":"Container styling","id":"container-styling","depth":2}],"frontmatter":{"seo":{"title":"Payment Experiences styling","description":"Here we give you pointers on how to work with the different layers of styling Salesforce provides so you can perfectly control your digital payment experience.","keywords":"payment experiences, styles, styling"}},"lastModified":"2026-11-23T05:36:00.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/payments/payment-experiences-styling","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}