Mercurial > libervia-backend
comparison sat_frontends/jp/output_xmlui.py @ 3045:6af44ca3beac
tools (common): helping method to calculate luminance:
- a new `utils` module has been added for backend and frontends generic utilities
- per_luminance method calculate the perceived luminance of a colour (is it dark or
light?). This is useful to automatically select the suitable colour in a theme.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 01 Oct 2019 22:49:10 +0200 |
parents | fee60f17ebac |
children | 9d0df638c8b4 |
comparison
equal
deleted
inserted
replaced
3044:691283719bb2 | 3045:6af44ca3beac |
---|