[pve-devel] applied: [PATCH widget-toolkit v10 1/2] add tag related helpers
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Nov 16 14:48:58 CET 2022
Am 15/11/2022 um 14:02 schrieb Dominik Csapak:
> helpers to
> * generate a color from a string consistently
> * generate a html tag for a tag
> * related css classes
>
> contrast is calculated according to SAPC draft:
> https://github.com/Myndex/SAPC-APCA
>
> which is likely to become a w3c guideline in the future and seems
> to be a better algorithm for this
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
> changes from v9:
> * tags are now 'inline-block' and for boundlists have a line-height
> of 15px (fixes an overflow issue)
> src/Utils.js | 88 ++++++++++++++++++++++++++++++++++++++++++++
> src/css/ext6-pmx.css | 52 ++++++++++++++++++++++++++
> 2 files changed, 140 insertions(+)
>
>
applied, thanks!
More information about the pve-devel
mailing list