Skip to content

Commit 0c885df

Browse files
abhizipstackclaude
andcommitted
fix: use antd theme token for log-panel border color
Replaced hardcoded #f0f0f0 border with token.colorBorderSecondary so the log-level dropdown separator renders correctly in both light and dark themes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d281ec8 commit 0c885df

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

frontend/src/ide/editor/no-code-model/no-code-model.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
Space,
99
Table,
1010
Tabs,
11+
theme,
1112
Tooltip,
1213
Typography,
1314
} from "antd";
@@ -157,6 +158,7 @@ const LOG_LEVEL_COLOR = {
157158
};
158159

159160
function NoCodeModel({ nodeData }) {
161+
const { token } = theme.useToken();
160162
const axios = useAxiosPrivate();
161163
const csrfToken = Cookies.get("csrftoken");
162164
const sessionId = Cookies.get("sessionid");
@@ -674,7 +676,7 @@ function NoCodeModel({ nodeData }) {
674676
display: "flex",
675677
justifyContent: "flex-end",
676678
padding: "4px 8px",
677-
borderBottom: "1px solid #f0f0f0",
679+
borderBottom: `1px solid ${token.colorBorderSecondary}`,
678680
}}
679681
>
680682
<Select

0 commit comments

Comments
 (0)