The default look of the audio player is very basic.
Solution
Add block editor controls to customize the colors of the audio player.
The default should be the theme colors, with the ability to override with a custom selection. They should be global attributes for the player blocks, and used site wide.
Possible issues
The media-chrome library uses custom properties for most customizations. This makes it tricky to use the default blocks supports for color, because they are assigned as background and color styles on the block itself, and we need to assign them to custom properties.
Todo
[ ] Research if there is a filter for block supports color, and if how it applies the colors can be overridden.
Problem
The default look of the audio player is very basic.
Solution
Add block editor controls to customize the colors of the audio player.
The default should be the theme colors, with the ability to override with a custom selection. They should be global attributes for the player blocks, and used site wide.
Possible issues
The
media-chrome
library uses custom properties for most customizations. This makes it tricky to use the default blocks supports for color, because they are assigned asbackground
andcolor
styles on the block itself, and we need to assign them to custom properties.Todo
Relates to #10