mirror of
1
Fork 0
forgejo/web_src
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
..
css Tweak repo topics bar (#25769) 2023-07-08 18:12:30 +00:00
fomantic Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
js Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
svg Use inline SVG for built-in OAuth providers (#25171) 2023-06-13 10:51:02 +00:00