mirror of https://github.com/logseq/logseq
fix: adjust arrow and pencil colors
parent
fddaa84597
commit
b1d763e7f5
|
@ -161,7 +161,7 @@ export class LineShape extends TLLineShape<LineShapeProps> {
|
|||
<>
|
||||
<Arrow
|
||||
style={{
|
||||
stroke: getComputedColor(stroke, 'stroke'),
|
||||
stroke: getComputedColor(stroke, 'text'),
|
||||
fill,
|
||||
strokeWidth,
|
||||
strokeType,
|
||||
|
|
|
@ -131,8 +131,8 @@ export class PencilShape extends TLDrawShape<PencilShapeProps> {
|
|||
strokeWidth={strokeWidth / 2}
|
||||
strokeLinejoin="round"
|
||||
strokeLinecap="round"
|
||||
stroke={getComputedColor(stroke, 'stroke')}
|
||||
fill={getComputedColor(stroke, 'stroke')}
|
||||
stroke={getComputedColor(stroke, 'text')}
|
||||
fill={getComputedColor(stroke, 'text')}
|
||||
strokeDasharray={strokeType === 'dashed' ? '12 4' : undefined}
|
||||
/>
|
||||
)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
--ls-wb-stroke-color-purple: var(--color-purple-500, purple);
|
||||
--ls-wb-stroke-color-pink: var(--color-pink-500, pink);
|
||||
--ls-wb-stroke-color-default: var(--ls-secondary-border-color);
|
||||
--ls-wb-text-color-default: var(--ls-secondary-text-color);
|
||||
--ls-wb-text-color-default: var(--ls-primary-text-color);
|
||||
--ls-wb-background-color-default: var(--ls-tertiary-background-color);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue