Просмотр исходного кода

Add color mode styles for light and dark themes in AiAssistantManagementKeywordSearch

Shun Miyazawa 8 месяцев назад
Родитель
Сommit
4bc08453a6

+ 19 - 0
apps/app/src/features/openai/client/components/AiAssistant/AiAssistantManagementModal/AiAssistantManagementKeywordSearch.module.scss

@@ -21,3 +21,22 @@
     }
   }
 }
+
+// == Colors
+@include bs.color-mode(light) {
+  .grw-ai-assistant-keyword-search :global {
+      .list-group-item {
+        --item-bg-color: #{bs.$gray-100};
+        --item-hover-bg-color: var(--grw-primary-100);
+      }
+  }
+}
+
+@include bs.color-mode(dark) {
+  .grw-ai-assistant-keyword-search :global {
+    .list-group-item {
+      --item-bg-color: #{bs.$gray-800};
+      --item-hover-bg-color: var(--grw-primary-800);
+    }
+  }
+}