diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-03 14:48:19 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-03 14:48:19 (GMT) |
| commit | 75a1a15f451a07eabdba3a3207f1849a06254410 (patch) | |
| tree | 074b869654fc30ba5dd2a773411e6fc030b9ef5f | |
| parent | 0ab34249fa925c842935dea97b8bbffc62e5c7eb (diff) | |
widgets: Use theme colours for text labels
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
| -rw-r--r-- | wasp/widgets.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wasp/widgets.py b/wasp/widgets.py index dec213e..07bdf0c 100644 --- a/wasp/widgets.py +++ b/wasp/widgets.py @@ -226,6 +226,7 @@ class Checkbox(): draw = wasp.watch.drawable im = self._im if im[2]: + draw.set_color(wasp.system.theme('bright')) draw.set_font(fonts.sans24) draw.string(im[2], im[0], im[1]+6) self.update() @@ -353,6 +354,7 @@ class Spinner(): """Update the spinner value.""" draw = watch.drawable im = self._im + draw.set_color(wasp.system.theme('bright')) draw.set_font(fonts.sans28) s = str(self.value) if len(s) < im[4]: |
