Playground: FAB fabSchemeColor code for value SchemeColor.secondary is not generated. #200
Labels
bug
Something isn't working
Themes Playground
V8
This issue concerns version 8 and will be addressed in it
Milestone
When selecting SchemeColor
secondary
for the FAB, the config code for it is not generated.This is remnant from when
secondary
was the default for both M2 and M3 mode, before M3 specs existed. Playground then left outsecondary
selection as it was no need to define it.As a fix we will now only leave it out when no selection has been made (null) and add the selected color regardless of it is same as default color or not in M2 (default = secondary) or M3 (default = primaryContainer) mode. Then we do not have to figure out when it should be left out or not depending on mode.
The text was updated successfully, but these errors were encountered: