Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(ui): change background color for code block to (--an-pre)

Dinesht04dc47e1a51160
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;