fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

support for color '#6BB700' in semantic slots

Open shivasai09 opened this issue 7 years ago • 6 comments

currently in fabric 6.186.1, there is no semantic slots for the color '#6BB700'.

The above mentioned color can be useful many place, one such scenario is posted below image

Actual behavior currently there is no semantic slot in theme for above mentioned color

Expected behavior There should be semantic slot for the above mentioned color(#6BB700) in the theme

shivasai09 avatar Aug 22 '19 09:08 shivasai09

Hey @Jahnp - do we want to add this in semantic slot color? If so, what would this be called?

kenotron avatar Aug 22 '19 17:08 kenotron

@phkuo - ping if you have some opinion about this

kenotron avatar Aug 22 '19 20:08 kenotron

I'd recommend: https://github.com/OfficeDev/office-ui-fabric-react/blob/master/packages/styling/src/interfaces/ISemanticColors.ts#L159 (which is partially transparent)

Or: https://github.com/OfficeDev/office-ui-fabric-react/blob/master/packages/styling/src/interfaces/IPalette.ts#L250 But then you'd have problems finding the appropriate slot to use as text on top of it.

phkuo avatar Aug 22 '19 21:08 phkuo

So I would also caution, you should not approach this with the attitude "I need to find a slot whose hex value is exactly #6BB700" but instead "what already exists that fulfills the same intention as this?" We seek coherence, so when you have a new color that isn't used anywhere else, you should try to align with what already exists, instead of adding a yet another new option to the existing options.

phkuo avatar Aug 22 '19 21:08 phkuo

I agree with @phkuo as well here. We're unlikely to add a brand new semantic color here. I'm marking this resolution: by design. Please close this at your earliest convenience.

kenotron avatar Aug 22 '19 21:08 kenotron

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fabric React!

msft-github-bot avatar Aug 26 '19 22:08 msft-github-bot