1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-13 14:55:50 +00:00
gitea/web_src/js/utils
silverwind 38844e0869
Always pass 6-digit hex color to monaco (#25780)
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
2023-07-09 12:17:22 +02:00
..
color.js Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
color.test.js Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
dom.js Improve "goto issue by number" button (#24577) 2023-05-10 15:50:58 +00:00
match.js rename tributeValues to mentionValues (#25375) 2023-06-20 03:32:49 +00:00
match.test.js Update emoji set to Unicode 15 (#25595) 2023-06-29 16:29:48 +00:00
url.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00
url.test.js Refactor branch/tag selector to Vue SFC (#23421) 2023-03-14 17:51:20 +08:00