Browse Source

Use css variables

Shun Miyazawa 1 năm trước cách đây
mục cha
commit
05d4663aa1

+ 2 - 2
apps/app/src/components/SearchPage.module.scss

@@ -2,7 +2,7 @@
 
 
 .search-page :global {
 .search-page :global {
   .danger-style {
   .danger-style {
-    color:bs.$danger;
-    background-color: rgba(bs.$danger, .1);
+    --bs-btn-bg: #{rgba( bs.$danger, .1 )};
+    --bs-btn-hover-bg: #{rgba( bs.$danger, .1 )};
   }
   }
 }
 }