Add Brand Band Component
See original GitHub issue- Add the Brand Band component as it is in SLDS (gray).
- Allow styling it to look similar to the Mobile1 Lightning Blue theme (i.e. blue background). This ensures teams are using consistent color values.
- This is/will be leveraged by Marketing Cloud. Others (i.e. Commerce Cloud, Integration Cloud) will leverage it too but might need to implement this into their system independently of DSR.
Requirements:
- Use the Brand Band as the basis for this work (https://latest-216.lightningdesignsystem.com/components/brand-band/)
Apply the Following CSS Changes to Change Color:
- element.style is the page background color. For the SLDS example it’s the color of the container.
element.style { background-color: rgb(176, 196, 223); }
.slds-brand-band:before { background-image: url(/assets/images/themes/oneSalesforce/banner-brand-default.png), linear-gradient(to top, rgba(175, 197, 222, 0) 0, #1B5F9E); }
.slds-brand-band:after { background-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE); }
End Result:
Image is within SLDS npm modules: /node_modules/@salesforce-ux/design-system/assets/images/themes/oneSalesforce.png
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Brand Band - Lightning Design System
If you need to remove the brand band image from the component, you can simply pass in slds-brand-band_none to only display the page...
Read more >Brand Band - how to make the salesforce default brandband ...
From Setup, enter Themes and Branding in the Quick Find box, then select Themes and Branding. View, preview, and activate an existing theme,...
Read more >Slds brand band not appearing with custom component in ...
The solution is the following: looks like a bug in lightning out. it is overriding the background image for the brand-band with a...
Read more >Navbar - Bootstrap
Navbars come with built-in support for a handful of sub-components. ... Adding images to the .navbar-brand will likely always require custom styles or ......
Read more >Slds-Brand-Band_Large Is Not Working On Force.Com Site ...
The brand band provides theming capability that adds personality and improves information All public supported component props are listed below. In this post...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kwilloughby-sf This will go out in the next release.
@interactivellama UPDATED prop concept: