Browse Source

fix: hover text color

Tienson Qin 2 years ago
parent
commit
5ff69286be
2 changed files with 3 additions and 2 deletions
  1. 1 0
      resources/css/shui.css
  2. 2 2
      src/main/frontend/components/cmdk.cljs

+ 1 - 0
resources/css/shui.css

@@ -247,6 +247,7 @@
 
 .shui__button-color-custom:hover, .dark .shui__button-color-custom:hover {
     background: var(--ls-button-background);
+    color: white;
 }
 
 .shui__button-theme-color.shui__button-color-lime    { color: white; background-color: var(--rx-lime-09); &:hover { background-color: var(--rx-lime-10); } &:active { background-color: var(--rx-lime-08); }}

+ 2 - 2
src/main/frontend/components/cmdk.cljs

@@ -68,10 +68,10 @@
 (defn create-items [q]
   (when-not (string/blank? q)
     [{:text "Create page"       :icon "new-page"
-      :icon-theme :color
+      :icon-theme :gray
       :info (str "Create page called '" q "'") :source-create :page}
      {:text "Create whiteboard" :icon "new-whiteboard"
-      :icon-theme :color
+      :icon-theme :gray
       :info (str "Create whiteboard called '" q "'") :source-create :whiteboard}]))
 
 ;; Take the results, decide how many items to show, and order the results appropriately