فهرست منبع

feat: update button hover style and scrollbar style

Yifei Zhang 2 سال پیش
والد
کامیت
e5c441d530
2فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 3 2
      app/components/button.module.scss
  2. 1 0
      app/globals.scss

+ 3 - 2
app/components/button.module.scss

@@ -18,7 +18,8 @@
 }
 
 .icon-button:hover {
-  filter: brightness(0.9) hue-rotate(0.01turn);
+  filter: brightness(0.9);
+  border-color: var(--primary);
 }
 
 .icon-button-icon {
@@ -35,7 +36,7 @@
   }
 
   .icon-button:hover {
-    filter: brightness(1.2) hue-rotate(0.01turn);
+    filter: brightness(1.2);
   }
 }
 

+ 1 - 0
app/globals.scss

@@ -95,6 +95,7 @@ body {
   background-color: var(--bar-color);
   border-radius: 20px;
   background-clip: content-box;
+  border: 1px solid transparent;
 }
 
 select {