This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/answer.git
The following commit(s) were added to refs/heads/dev by this push:
new dc47e1a5 fix(ui): change background color for code block to (--an-pre)
dc47e1a5 is described below
commit dc47e1a511600ec3f23e6367d491378bb23369aa
Author: Dinesht04 <[email protected]>
AuthorDate: Fri Oct 10 16:17:37 2025 +0530
fix(ui): change background color for code block to (--an-pre)
---
ui/src/common/color.scss | 2 +-
ui/src/index.scss | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/src/common/color.scss b/ui/src/common/color.scss
index 1ded9c42..36c9a2c1 100644
--- a/ui/src/common/color.scss
+++ b/ui/src/common/color.scss
@@ -22,7 +22,7 @@
--an-toolbar-divider: rgba(0, 0, 0, 0.1);
--an-ced4da: #ced4da;
--an-e9ecef: #e9ecef;
- --an-pre: #161b22;
+ --an-pre: #f8f9fa;
--an-6c757d: #6c757d;
--an-212529: #212529;
--an-gray-300: var(--bs-gray-300);
diff --git a/ui/src/index.scss b/ui/src/index.scss
index fb1e06a7..79ad1be7 100644
--- a/ui/src/index.scss
+++ b/ui/src/index.scss
@@ -281,7 +281,7 @@ img[src=''] {
}
}
pre {
- background-color: var(--bs-gray-100);
+ background-color: var(--an-pre);
border-radius: 0.25rem;
padding: 1rem;
max-height: 38rem;