Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f55bc6e

Browse files
MenamAfzalludomikula
authored andcommitted
other component styling adjusted
1 parent 7093a6e commit f55bc6e

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

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

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ const TEXT = {
277277
const STATIC_TEXT = {
278278
name: "staticText",
279279
label: trans("style.staticText"),
280-
depTheme: "canvas",
280+
depTheme: "primarySurface",
281281
depType: DEP_TYPE.CONTRAST_TEXT,
282282
transformer: contrastText,
283283
} as const;
@@ -562,7 +562,7 @@ function replaceAndMergeMultipleStyles(originalArray: any[], styleToReplace: str
562562
}
563563

564564
export const ButtonStyle = [
565-
getBackground('primary'),
565+
getBackground(),
566566
...STYLING_FIELDS_SEQUENCE
567567
] as const;
568568

@@ -1304,14 +1304,7 @@ function handleToHoverLink(color: string) {
13041304
}
13051305

13061306
export const LinkStyle = [
1307-
1308-
{
1309-
name: "background",
1310-
label: trans("style.background"),
1311-
depTheme: "canvas",
1312-
depType: DEP_TYPE.SELF,
1313-
transformer: toSelf,
1314-
},
1307+
getBackground(),
13151308
...replaceAndMergeMultipleStyles(STYLING_FIELDS_SEQUENCE, 'text', [...LinkTextStyle])
13161309
] as const;
13171310

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /