You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/js/utils
silverwind 348a6bf70d
Always pass 6-digit hex color to monaco (#25780) (#25782)
Backport https://github.com/go-gitea/gitea/pull/25780, clean
cherry-pick.

Monaco can not deal with color formats other than 6-digit hex, so we
convert the colors for it via new
[`tinycolor2`](https://github.com/bgrins/TinyColor) dependency (5kB
minzipped).

Also, with the addition of the module, we can replace the existing
`hexToRGBColor` usage, I verified it is compatible with the current
tests before removing the function.

Fixes: https://github.com/go-gitea/gitea/issues/25770
2 years ago
..
color.js Always pass 6-digit hex color to monaco (#25780) (#25782) 2 years ago
color.test.js Always pass 6-digit hex color to monaco (#25780) (#25782) 2 years ago
dom.js Improve "goto issue by number" button (#24577) 2 years ago
match.js Add two eslint plugins (#24776) 2 years ago
match.test.js Improve emoji and mention matching (#24255) 2 years ago
url.js Refactor branch/tag selector to Vue SFC (#23421) 2 years ago
url.test.js Refactor branch/tag selector to Vue SFC (#23421) 2 years ago