Allow "cloud tertiary colors" to be set by prop
It doesn't appear to be in the CSS.
I'm also wondering if marketing-cloud styles will be removed at some point.
@donnieberg What are your alls globalNav styles? Can you send me a screenshot when you have moment. #noHurry
@interactivellama we have an open ticket to update the accent color for the Marketing Cloud. Is the recommendation for the application to be responsible for the color? Is this the longterm approach? or will a token be provided in the future?
For reference: https://jira.exacttarget.com:8443/browse/MCGLOBALNV-631 https://jira.exacttarget.com:8443/browse/MCGLOBALNV-642
cc @mbeard
From what I can tell, there is only a default and marketing cloud theme present in SLDS now (there used to be more. I'm guessing they don't want to manage it going forward.
I was hesitant to add this feature since the color was in a few different places and we need to decided if we are doing a CSS stylesheet solution or an inline style solution.
The step is to get clear direction from SLDS and what their domain is.
@tweettypography Do you have an opinion for the path forward?
@interactivellama I'll slack you the screenshot now. Not sure I can post that type of stuff on github :)
@swilliamset IoT cloud's path forward is overwriting the default CSS.
I would recommend Marketing Cloud take the same approach and re-use SLDS's CSS/SCSS:
$color-background-context-bar: rgb(255, 255, 255) !default;
$color-background-context-bar-brand-accent: rgb(0, 161, 223) !default;
$color-background-context-bar-item-hover: rgb(247, 249, 251) !default;
$color-background-context-bar-item-active: rgb(247, 249, 251) !default;
$color-background-context-tab-bar-item: rgb(255, 255, 255) !default;
$color-background-context-bar-inverse-item-hover: rgba(255, 255, 255, 0.2) !default;
$color-background-context-bar-inverse-item-active: rgba(255, 255, 255, 0.4) !default;
$color-background-context-bar-shadow: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0, rgba(0, 0, 0, 0) 100%) !default;
$color-background-context-bar-action-highlight: rgba(255, 255, 255, 0.2) !default;
in conjunction with the components/global-nav SCSS rules.
@donnieberg You don't by any chance have something like this we could see or share?
@interactivellama no, in IoT, we just overrode the css:
.slds-context-bar { border-bottom: 3px solid #6969df; }
.slds-context-bar__item.slds-is-active:after, .slds-context-bar__item.slds-is-active:before {
background: #6969df;
}
Closing as outside the scope of SLDS. Created #669 to deprecate and create checkprops to tell folks.