fix: update notes border color, update node and notes code block background (#4617)
* Fixed code block color on notes and node * Changed color of list bullets * Changed selected border color for note node * [autofix.ci] apply automated fixes --------- Co-authored-by: anovazzi1 <otavio2204@gmail.com>
This commit is contained in:
parent
467e546e8e
commit
3391a266a4
6 changed files with 27 additions and 19 deletions
|
|
@ -54,7 +54,7 @@ function NoteNode({
|
|||
setSize({ width: width - 25, height: height - 25 });
|
||||
}}
|
||||
isVisible={selected}
|
||||
lineClassName="border-[3px] border-border"
|
||||
lineClassName="!border !border-muted-foreground"
|
||||
/>
|
||||
<div
|
||||
data-testid="note_node"
|
||||
|
|
@ -86,11 +86,11 @@ function NoteNode({
|
|||
? ""
|
||||
: "dark:!ring-background dark:text-background",
|
||||
)}
|
||||
mdClassName={
|
||||
mdClassName={cn(
|
||||
COLOR_OPTIONS[bgColor] === null
|
||||
? "dark:prose-invert"
|
||||
: "dark:!text-background"
|
||||
}
|
||||
: "dark:!text-background",
|
||||
)}
|
||||
style={{ backgroundColor: COLOR_OPTIONS[bgColor] ?? "#00000000" }}
|
||||
charLimit={2500}
|
||||
nodeId={data.id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue