gitea/web_src/js
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
..
components Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
features Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
modules Make "cancel" buttons have proper type in modal forms (#25618) 2023-07-03 14:04:50 +08:00
render Add custom ansi colors and CSS variables for them (#25546) 2023-06-28 15:38:55 +02:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
test rename tributeValues to mentionValues (#25375) 2023-06-20 03:32:49 +00:00
utils Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
webcomponents Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
bootstrap.js Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
index.js Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
svg.js Support downloading raw task logs (#24451) 2023-06-29 10:58:56 +08:00
svg.test.js Improve <SvgIcon> to make it output svg node and optimize performance (#23570) 2023-03-23 11:24:16 +08:00
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) 2023-06-12 15:44:53 +00:00
utils.test.js Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00