0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 15:23:14 -05:00
forgejo/web_src/js/components
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
2023-07-09 13:06:13 +02:00
..
.eslintrc.yaml Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00
ActionRunStatus.vue Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00
ActivityHeatmap.vue Make the color of zero-contribution-squares in the activity heatmap more subtle (#24758) 2023-05-17 10:55:34 +00:00
ContextPopup.vue Always pass 6-digit hex color to monaco (#25780) (#25782) 2023-07-09 13:06:13 +02:00
DashboardRepoList.vue Use flex to align SVG and text (#25163) (#25260) 2023-06-14 13:21:48 -04:00
DiffFileList.vue Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
DiffFileTree.vue Show file tree by default (#25052) 2023-06-02 23:39:01 +08:00
DiffFileTreeItem.vue Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
PullRequestMergeForm.vue Remove more unused Fomantic variants (#25292) (#25323) 2023-06-17 17:14:25 +02:00
RepoActionView.test.js
RepoActionView.vue Several fixes for mobile UI (#25634) (#25689) 2023-07-07 00:34:00 +02:00
RepoActivityTopAuthors.vue
RepoBranchTagSelector.vue Use flex to align SVG and text (#25163) (#25260) 2023-06-14 13:21:48 -04:00
ScopedAccessTokenSelector.vue Change access token UI to select dropdowns (#25109) (#25230) 2023-06-13 12:42:25 +00:00