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 out secondary 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.
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.