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

Update background colors for light and dark themes in AiAssistantManagementKeywordSearch styles

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

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

@@ -25,18 +25,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);
+    .list-group-item {
+      background-color: #{bs.$gray-100};
+        &:hover {
+          background-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);
+      background-color: #{bs.$gray-900};
+      &:hover {
+        background-color: var(--grw-primary-800);
+      }
     }
   }
 }