Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Features
The change will add the feature to use label with styles. With this feature you could possible create the same style among differents widgets. The syles are taken from the PySimpleGui Project
Changes
There are changes in the following files:
init: A new function is added. This function converts the color
strrepresentation used in colorset used in the source librarylabel.py: a New class LabelT is added. This class is a child of label, This could use the theme as a parameter.
styles.py: New file including the colorsets. the idea to create a new file will be to share among different widgets. This could be easily done adding entries to the dictionary.
display_text_label_styles.py: new example
Tests
Expected result of the example is:

Others
See adafruit/Adafruit_CircuitPython_Colorsys#13 for project updates
TEST CODE