mirror of https://github.com/logseq/logseq
fix: listitem hardcode css variable
parent
80703328b0
commit
eaadd462ff
|
@ -41,7 +41,7 @@
|
|||
(map (fn [[type value]]
|
||||
(if (= type :text)
|
||||
[:span value]
|
||||
[:span {:style {:background "var(--lx-accent-09)"}} value])))
|
||||
[:span {:class "shui__list-item-highlighted-span"} value])))
|
||||
(into [:span]))
|
||||
(->> result
|
||||
(mapcat (fn [[type value]]
|
||||
|
|
|
@ -612,8 +612,6 @@
|
|||
(rum/use-effect! (fn []
|
||||
(js/setTimeout #(when (some-> input-ref deref) (.focus @input-ref)) 0))
|
||||
[])
|
||||
; [:div {:style {:background "var(--lx-gray-02)"
|
||||
; :border-bottom "1px solid var(--lx-gray-07)"}}]
|
||||
[:div {:class "bg-gray-02 border-b border-1 border-gray-07"}
|
||||
[:input#search
|
||||
{:class "text-xl bg-transparent border-none w-full outline-none px-3 py-3"
|
||||
|
|
|
@ -168,12 +168,12 @@
|
|||
}
|
||||
|
||||
&:hover {
|
||||
background-color: or(--ls-left-sidebar-hover-background, --lx-gray-04, --ls-tertiary-background-color);
|
||||
background-color: or(--ls-left-sidebar-hover-background, --lx-gray-04, --ls-primary-background-color);
|
||||
color: or(--ls-left-sidebar-text-color-hover, --lx-gray-12);
|
||||
}
|
||||
|
||||
&.active, &:active {
|
||||
background-color: or(--ls-left-sidebar-active-background, --lx-gray-04, --ls-quaternary-background-color);
|
||||
background-color: or(--ls-left-sidebar-active-background, --lx-gray-04, --ls-primary-background-color);
|
||||
color: or(--ls-left-sidebar-active-text-color, --lx-gray-12);
|
||||
.ui__icon {
|
||||
opacity: .9;
|
||||
|
|
Loading…
Reference in New Issue