fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

SwatchColorPicker: Fluent theme

Open Vitalius1 opened this issue 8 years ago • 5 comments

Vitalius1 avatar Nov 10 '18 03:11 Vitalius1

When reviewing this component could you pay more attention to the border thickness and the white gap in between the border and the color itself when hovered or selected. The toolkit shows 2 sizes but in code we have the ability to have infinite variations. It would make sense to have a breakpoint of some sort saying something like this: if the size provided bigger than X amount of pixels we have these white gap and this border thickness, otherwise have a default to some set numbers. Keep in mind that this issue looks like exists in the default styles which I filed in #7086 , so probably a fix in the default styles should be done instead of modifying the fluent ones.

Vitalius1 avatar Nov 13 '18 18:11 Vitalius1

Sure thing! I'll set up breakpoint info after we ok this.

betrue-final-final avatar Nov 19 '18 16:11 betrue-final-final

Looks good

betrue-final-final avatar Nov 19 '18 16:11 betrue-final-final

Fluent Updates

Diffs between Toolkit (TK) and Live

-Circle Border (acting as focus border) at Rest: Live = #EAEAEA / TK = #A19F9D -Color Swatch border in hover/active/focus states: Live = #EDEBE9 / TK = #F3F2F1

@betrue-final-final please let me know which of these changes are required

maxwellred avatar Jun 18 '19 16:06 maxwellred

@maxwellred it might be that the toolkit is not updated with the latest designs that I got from the designer owning the component. @betrue-final-final do you know if Janet ever ported the SwatchColorPicker specs we discussed into the toolkit?

Vitalius1 avatar Jun 19 '19 00:06 Vitalius1