supervision icon indicating copy to clipboard operation
supervision copied to clipboard

Allow text_color parameter to accept ColorPalette in core.py

Open SkalskiP opened this issue 1 year ago • 0 comments

Description

Changed the text_color parameter in core.py to accept ColorPalette in addition to Color. Previously, it only accepted input of type Color. Now, it also accepts the type ColorPalette, which increases the flexibility of the text color choice.

Type of change

Please delete options that are not relevant.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] This change requires a documentation update

Docs

  • [x] Docs updated? What were the changes:

SkalskiP avatar Nov 26 '23 19:11 SkalskiP