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:
Lucas Oliveira 2024-11-14 16:00:13 -03:00 • committed by GitHub
commit 3391a266a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 27 additions and 19 deletions

View file

@ -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}