enhance(ui): polish colors for the srs buttons

refactor/assets
charlie 2024-09-26 14:18:32 +08:00
parent 54f191c6c6
commit 93685fefac
2 changed files with 6 additions and 2 deletions

View File

@ -89,6 +89,10 @@
&-purple {
--primary: var(--rx-purple-10-hsl);
}
&-logseq {
--primary: 200 97% 37%;;
}
}
}

View File

@ -104,8 +104,8 @@
(defn- btn-with-shortcut [{:keys [shortcut id btn-text due on-click class]}]
(let [bg-class (case id
"card-again" "primary-red"
"card-hard" "primary-yellow"
"card-good" "primary-purple"
"card-hard" "primary-purple"
"card-good" "primary-logseq"
"card-easy" "primary-green"
nil)]
[:div.flex.flex-row.items-center.gap-2