Browse Source

enhance: remove flashcards button text color

Tienson Qin 1 year ago
parent
commit
02aedbc30a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/extensions/fsrs.cljs

+ 2 - 2
src/main/frontend/extensions/fsrs.cljs

@@ -116,13 +116,13 @@
        :size :sm
        :id id
        :class (str id " " class " !px-2 !py-1 bg-primary/5 hover:bg-primary/10
-        text-primary border-primary hover:text-primary opacity-90 hover:opacity-100 " bg-class)
+        border-primary opacity-90 hover:opacity-100 " bg-class)
        :on-pointer-down (fn [e] (util/stop-propagation e))
        :on-click (fn [_e] (js/setTimeout #(on-click) 10))}
       [:div.flex.flex-row.items-center.gap-1
        [:span btn-text]
        (when-not (util/sm-breakpoint?)
-         [:span.opacity-80.scale-90 (shui/shortcut shortcut)])])
+         [:span.scale-90 (shui/shortcut shortcut)])])
      (when due [:div.text-sm.opacity-50 (util/human-time due {:ago? false})])]))
 
 (defn- has-cloze?