Browse Source

fix(ui): bg color vars for the radix menu content

charlie 1 năm trước cách đây
mục cha
commit
8074b6a989
2 tập tin đã thay đổi với 3 bổ sung6 xóa
  1. 2 5
      resources/css/shui.css
  2. 1 1
      src/main/frontend/components/property.css

+ 2 - 5
resources/css/shui.css

@@ -27,9 +27,7 @@ html[data-theme=dark] {
 }
 
 html {
-  .ui__dropdown-menu-content,
-  .ui__dropdown-menu-sub-content,
-  .ui__context-menu-content,
+  div[data-radix-menu-content],
   .ui__select-content {
     --accent: var(--rx-gray-04-hsl);
     --accent-foreground: var(--rx-gray-12-hsl);
@@ -163,8 +161,7 @@ html[data-theme=dark] {
       }
     }
 
-    .ui__dropdown-menu-content,
-    .ui__context-menu-content,
+    div[data-radix-menu-content],
     .ui__select-content {
       --accent: 190 100% 15%;
       --muted: 192 100% 13%;

+ 1 - 1
src/main/frontend/components/property.css

@@ -313,7 +313,7 @@ a.control-link {
     }
 
     > label {
-      @apply text-xs flex items-center opacity-40;
+      @apply text-xs flex items-center opacity-50;
     }
 
     &.disabled {