Skip to content

Commit 3d50a64

Browse files
committed
fix accent color css var
1 parent b4eac96 commit 3d50a64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/renderer/history/views.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
(let [datum (.-nodeDatum props)
5656
active? (.-active datum)
5757
id (uuid (.-id datum))
58-
color (if active? "var(--accent)" (.-color datum))]
58+
color (if active? "var(--color-accent)" (.-color datum))]
5959
(ra/as-element
6060
[:circle.transition-fill
6161
{:class "hover:stroke-accent"

src/renderer/timeline/views.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
[:div.h-px.block.absolute.bottom-0.left-0
155155
{:style {:width (str (* (/ t end) 100) "%")
156156
:background (when-not (or (zero? t) (zero? end) timeline?)
157-
"var(--accent)")}}]))
157+
"var(--color-accent)")}}]))
158158

159159
(defn root
160160
[]

0 commit comments

Comments
 (0)