From 0bb4c1cde24052b535de5770e1db3d3279afe32b Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 15 Jul 2024 01:22:48 +0200 Subject: [PATCH] Code editor theme enhancements (#31629) 1. Fixed border-radius 2. Monaco ignores the alpha channel on the shadow color, introduce `color-shadow-opaque` 3. Remove scrollbar color which follows https://github.com/go-gitea/gitea/pull/29800 Before: Screenshot 2024-07-13 at 15 38 18 Screenshot 2024-07-13 at 15 38 31 After: Screenshot 2024-07-13 at 15 38 06 Screenshot 2024-07-13 at 21 16 56 --- templates/repo/editor/edit.tmpl | 2 +- web_src/css/features/codeeditor.css | 13 +------------ web_src/css/themes/theme-gitea-dark.css | 1 + web_src/css/themes/theme-gitea-light.css | 1 + web_src/js/features/codeeditor.ts | 2 +- 5 files changed, 5 insertions(+), 14 deletions(-) diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl index e990177d8a..c556826827 100644 --- a/templates/repo/editor/edit.tmpl +++ b/templates/repo/editor/edit.tmpl @@ -36,7 +36,7 @@
-
+