浏览代码

enhance(ui): polish accent colors

charlie 1 年之前
父节点
当前提交
e7b9d58bd9
共有 3 个文件被更改,包括 6 次插入2 次删除
  1. 4 0
      resources/css/shui.css
  2. 1 1
      src/main/frontend/common.css
  3. 1 1
      src/main/frontend/ui.css

+ 4 - 0
resources/css/shui.css

@@ -108,6 +108,10 @@ html[data-theme=dark] {
       --muted: 192 100% 13%;
     }
 
+    .menu-separator {
+      @apply opacity-20;
+    }
+
     .ui__calendar {
       --accent: 196 100% 15%;
     }

+ 1 - 1
src/main/frontend/common.css

@@ -397,7 +397,7 @@ button.menu:focus {
 
 .menu-links-wrapper,
 .menu-links-outer {
-  @apply py-2 rounded-lg shadow-lg overflow-y-auto border bg-popovelx min-w-[12rem];
+  @apply py-2 rounded-md shadow-lg overflow-y-auto border bg-popovelx min-w-[12rem];
 
   max-height: calc(100vh - 100px) !important;
 }

+ 1 - 1
src/main/frontend/ui.css

@@ -277,7 +277,7 @@ html.is-mobile {
 }
 
 .dropdown-wrapper {
-  @apply border min-w-[12rem] rounded-lg bg-popovelx overflow-hidden;
+  @apply border min-w-[12rem] rounded-md bg-popovelx overflow-hidden;
 
   .menu-links-wrapper {
     @apply border-0;