I am trying to understand whether when a theme is applied to a community (see e.g. Standard Design Tokens for Communities), any flows presented in that community can be made to respect the theme.

This existing post Flow builder - Style suggests the answer is "no". But not respecting the styling in use in the community seems like a big failure and perhaps reason enough to go off and build something rather than use flows. (The default flow styling is also very dull - various shades of grey.)

The flow HTML uses the SLDS class names such as slds-form-element__label; is there some way to inject the community themes into the CSS file?

Advice/experiences with this appreciated.

  • 1
    would using a lwc in a flow be an option? Or embedding the flow in a custom aura component? developer.salesforce.com/docs/atlas.en-us.lightning.meta/… – Kris Goncalves Nov 12 '19 at 22:57
  • Thanks @KrisGoncalves The latter sounds more promising; how could that add the community styling? – Keith C Nov 13 '19 at 8:26
  • I was brainstorming more than anything as I haven't done this sort of thing. I was thinking aura component in hopes that you could override the CSS or utilize the doc you mentioned (Standard Design Tokens). – Kris Goncalves Nov 13 '19 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.