Skip to content

Commit c3a249e

Browse files
authored
Merge branch 'lowcoder-org:dev' into dev
2 parents 4db4036 + f55bc6e commit c3a249e

File tree

2 files changed

+24
-11
lines changed

2 files changed

+24
-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
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;
284284

285285
const LABEL = {
286286
name: "label",
287287
label: trans("label"),
288-
depTheme: "canvas",
288+
depTheme: "primarySurface",
289289
depType: DEP_TYPE.CONTRAST_TEXT,
290290
transformer: contrastText,
291291
} 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

server/api-service/lowcoder-server/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,26 @@
270270
<configuration>
271271
<outputDirectory>${assembly.lib.directory}</outputDirectory>
272272
<includeScope>runtime</includeScope>
273+
<excludeArtifactIds>rjson</excludeArtifactIds>
274+
</configuration>
275+
</execution>
276+
<execution>
277+
<id>copy-rjson-snapshot</id>
278+
<phase>package</phase>
279+
<goals>
280+
<goal>copy</goal>
281+
</goals>
282+
<configuration>
283+
<artifactItems>
284+
<artifactItem>
285+
<groupId>tv.twelvetone.rjson</groupId>
286+
<artifactId>rjson</artifactId>
287+
<version>LATEST</version>
288+
<overWrite>true</overWrite>
289+
<outputDirectory>${assembly.lib.directory}</outputDirectory>
290+
</artifactItem>
291+
</artifactItems>
292+
<useBaseVersion>false</useBaseVersion>
273293
</configuration>
274294
</execution>
275295
</executions>

0 commit comments

Comments
 (0)