mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
The Font popup now has a color wheel for the text color and one for the text background color, each with an Unset button to go back to default. Values are free choices (native <input type=color>), validated server-side as #rrggbb hex (models/lib/uiFonts isHexColor6) so only a strict hex ever reaches a CSS value — no injection surface. An unset/invalid value clears that color. - profile.uiTextColor / profile.uiTextBgColor schema (hex-validated) + getters; setUiColors(textColor, bgColor) method ($set valid hex, $unset otherwise). - changeFontPopup: two color wheels + reset buttons; live preview reflects font, size, text color and background color. - Applied UI-wide via --wekan-ui-text-color / --wekan-ui-bg-color CSS variables + has-ui-text-color / has-ui-bg-color body classes (uiFont.js + uiFont.css). - i18n text-color / text-background-color; tests extended (hex + negatives + source guards). Part of #4759.