diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeDescription/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeDescription/index.tsx index e95fc0d85..9235a2ca1 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/NodeDescription/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeDescription/index.tsx @@ -149,7 +149,7 @@ export default function NodeDescription({ diff --git a/src/frontend/src/CustomNodes/NoteNode/index.tsx b/src/frontend/src/CustomNodes/NoteNode/index.tsx index 0e39ebf64..0fa8e27d8 100644 --- a/src/frontend/src/CustomNodes/NoteNode/index.tsx +++ b/src/frontend/src/CustomNodes/NoteNode/index.tsx @@ -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" />
{tab.code} diff --git a/src/frontend/src/style/classes.css b/src/frontend/src/style/classes.css index d485f94df..b33254e45 100644 --- a/src/frontend/src/style/classes.css +++ b/src/frontend/src/style/classes.css @@ -249,6 +249,7 @@ pre code { width: 100%; /* Background color */ background-color: hsl(var(--code-background)) !important; + color: hsl(var(--code-foreground)) !important; } pre { @@ -256,6 +257,10 @@ pre { background-color: hsl(var(--code-background)) !important; } +.prose li::marker { + color: inherit !important; +} + [type="search"]:not(:placeholder-shown)::-webkit-search-cancel-button { opacity: 1 !important; } diff --git a/src/frontend/src/style/index.css b/src/frontend/src/style/index.css index 91364596b..27dda94f5 100644 --- a/src/frontend/src/style/index.css +++ b/src/frontend/src/style/index.css @@ -99,7 +99,9 @@ --error-red: 0, 86%, 97%; /*hsla(0, 86%, 97%)*/ --error-red-border: 0, 96%, 89%; /*hsla(0,96%,89%)*/ - --code-background: var(--canvas); + --code-background: 240 6% 10%; + --code-description-background: 240 6% 10%; + --code-foreground: 240 6% 90%; --placeholder: 240 5% 64.9%; --hard-zinc: 240 5.2% 33.9%; --smooth-red: 0 93.3% 94.1%; @@ -240,7 +242,9 @@ --status-green: #4ade80; --status-blue: #2563eb; --connection: #6d6c6c; - --code-background: var(--background); + --code-background: 240 6% 10%; + --code-description-background: 0 0% 0%; + --code-foreground: 240 6% 90%; --beta-background: rgb(37 99 235); --beta-foreground: rgb(219 234 254); diff --git a/src/frontend/tailwind.config.mjs b/src/frontend/tailwind.config.mjs index e7559c41a..acb0a2e62 100644 --- a/src/frontend/tailwind.config.mjs +++ b/src/frontend/tailwind.config.mjs @@ -124,6 +124,9 @@ const config = { "chat-bot-icon": "var(--chat-bot-icon)", "chat-user-icon": "var(--chat-user-icon)", "code-background": "hsl(var(--code-background))", + "code-description-background": + "hsl(var(--code-description-background))", + "code-foreground": "hsl(var(--code-foreground))", canvas: { DEFAULT: "hsl(var(--canvas))", dot: "hsl(var(--canvas-dot))", @@ -272,12 +275,12 @@ const config = { xs: "2px", }, zIndex: { - '60': '60', - '70': '70', - '80': '80', - '90': '90', - '100': '100', - '999': '999', + 60: "60", + 70: "70", + 80: "80", + 90: "90", + 100: "100", + 999: "999", }, }, },