Skip to content

Commit e44417c

Browse files
committed
fix: color
1 parent 0e87f88 commit e44417c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/editor/components/toolbar/selection-toolbar/actions/Color.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function Color() {
135135
<div
136136
className={`absolute top-0 left-0 h-full w-full cursor-pointer rounded-200 border opacity-50 hover:opacity-100`}
137137
style={{
138-
borderColor: activeFontColor === color.color ? 'var(--fill-default)' : undefined,
138+
borderColor: activeFontColor === color.color ? color.color : 'var(--background-tertiary)',
139139
color: renderColor(color.color) || 'var(--text-title)',
140140
opacity: color.color ? undefined : 1,
141141
}}

src/components/editor/components/toolbar/selection-toolbar/actions/ColorHighlight.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function ColorHighlight() {
143143
</>
144144
) : (
145145
<div
146-
className="w-full h-full rounded-200 border border-tertiary"
146+
className="w-full h-full rounded-200 border border-background-tertiary"
147147
style={{
148148
backgroundColor: renderColor(color.color),
149149
}}

0 commit comments

Comments
 (0)