mirror of https://github.com/logseq/logseq
enhance: checkbox color
parent
484c4305ef
commit
d132522590
|
@ -132,7 +132,7 @@
|
|||
[& prop-and-children]
|
||||
(let [[prop children] (get-prop-and-children prop-and-children)]
|
||||
[:div.flex.relative prop
|
||||
[:div {:class (str "flex py-1 align-middle border-r w-full overflow-x-clip items-center"
|
||||
[:div {:class (str "flex align-middle border-r w-full overflow-x-clip items-center"
|
||||
(if (:select? prop)
|
||||
" px-0"
|
||||
" px-4"))}
|
||||
|
|
|
@ -665,3 +665,11 @@ html.is-mobile {
|
|||
@apply inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
button[role="checkbox"][data-state=unchecked] {
|
||||
border-color: var(--lx-gray-12, var(--ls-primary-text-color, hsl(var(--foreground))));
|
||||
}
|
||||
|
||||
.dark-theme button[role="checkbox"][data-state=unchecked] {
|
||||
border-color: var(--lx-gray-11, var(--ls-primary-text-color, hsl(var(--foreground))));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue