Skip to content

Commit 719017c

Browse files
committed
table comp theme style applied
1 parent a0565ab commit 719017c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/packages/lowcoder/src/comps/controls/styleControlConstants.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export function handleToHeadBg(color: string) {
220220
return darkenColor(color, 0.06);
221221
}
222222
if (toHex(color) === "#000000") {
223-
return SECOND_SURFACE_COLOR;
223+
return SURFACE_COLOR;
224224
}
225225
if (isDarkColor(color)) {
226226
return darkenColor(color, 0.06);
@@ -1164,10 +1164,12 @@ export const TableHeaderStyle = [
11641164
FONT_FAMILY,
11651165
FONT_STYLE,
11661166
TEXT,
1167+
getStaticBackground(SURFACE_COLOR),
1168+
getBackground('primarySurface'),
11671169
{
11681170
name: "headerBackground",
11691171
label: trans("style.tableHeaderBackground"),
1170-
depName: "headerBackground",
1172+
depName: "background",
11711173
transformer: handleToHeadBg,
11721174
},
11731175
getStaticBorder(),

0 commit comments

Comments
 (0)