Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

Fixed sidebar headings not visible clearly in darkmode.

Sai-Suraj-2725e84d83458a
diff --git a/docs/src/css/custom.scss b/docs/src/css/custom.scss
index 939951b6..c90c0e72 100644
--- a/docs/src/css/custom.scss
+++ b/docs/src/css/custom.scss
@@ -376,7 +376,7 @@ html[data-theme="light"] .sidebar-icon {
}
html[data-theme="dark"] .sidebar-icon {
- color: black;
+ color: white;
font-weight: 500;
}
@@ -434,6 +434,13 @@ html[data-theme="dark"] .menu {
font-size: 15px;
}
+/* Dark mode */
+[data-theme='dark'] .theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible > .menu__link:first-of-type {
+ color: white; // or any high-contrast color
+ font-weight: 600 !important;
+ font-size: 15px;
+}
+
.theme-doc-sidebar-item-category-level-1 {
margin-bottom: 2rem!important;
}