Movatterモバイル変換


[0]ホーム

URL:


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

Commit34f09be

Browse files
authored
Merge branch 'dev' into master
2 parents3653119 +f55bc6e commit34f09be

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

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

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -277,15 +277,15 @@ const TEXT = {
277277
constSTATIC_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
}asconst;
284284

285285
constLABEL={
286286
name:"label",
287287
label:trans("label"),
288-
depTheme:"canvas",
288+
depTheme:"primarySurface",
289289
depType:DEP_TYPE.CONTRAST_TEXT,
290290
transformer:contrastText,
291291
}asconst;
@@ -562,7 +562,7 @@ function replaceAndMergeMultipleStyles(originalArray: any[], styleToReplace: str
562562
}
563563

564564
exportconstButtonStyle=[
565-
getBackground('primary'),
565+
getBackground(),
566566
...STYLING_FIELDS_SEQUENCE
567567
]asconst;
568568

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

13061306
exportconstLinkStyle=[
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
]asconst;
13171310

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp