@gem-sdk/core 1.44.0-staging.67 → 1.44.0-staging.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,14 +29,14 @@ const composeTypographyV2Css = (typography, isImportant)=>{
|
|
|
29
29
|
return `
|
|
30
30
|
${fontFamily ? composeFontFamilyTypographyV2({
|
|
31
31
|
fontFamily
|
|
32
|
-
}) : ''}
|
|
33
|
-
${fontSize?.desktop ? `font-size: ${fontSize?.desktop} ${composeImportant}
|
|
34
|
-
${bold ? `font-weight: bold ${composeImportant}
|
|
35
|
-
${letterSpacing ? `letter-spacing: ${letterSpacing} ${composeImportant}
|
|
36
|
-
${lineHeight?.desktop ? `line-height: ${lineHeight?.desktop} ${composeImportant}
|
|
37
|
-
${italic ? `font-style: italic ${composeImportant}
|
|
38
|
-
${underline ? `text-decoration-line: underline ${composeImportant}
|
|
39
|
-
${transform ? `text-transform: ${transform} ${composeImportant}
|
|
32
|
+
}) : ''};
|
|
33
|
+
${fontSize?.desktop ? `font-size: ${fontSize?.desktop} ${composeImportant}` : ''};
|
|
34
|
+
${bold ? `font-weight: bold ${composeImportant}` : fontWeight ? `font-weight: ${fontWeight} ${composeImportant}` : ''};
|
|
35
|
+
${letterSpacing ? `letter-spacing: ${letterSpacing} ${composeImportant}` : ''};
|
|
36
|
+
${lineHeight?.desktop ? `line-height: ${lineHeight?.desktop} ${composeImportant}` : ''};
|
|
37
|
+
${italic ? `font-style: italic ${composeImportant}` : ''};
|
|
38
|
+
${underline ? `text-decoration-line: underline ${composeImportant}` : ''};
|
|
39
|
+
${transform ? `text-transform: ${transform} ${composeImportant}` : ''};
|
|
40
40
|
`;
|
|
41
41
|
};
|
|
42
42
|
function getCustomCSSByDevice(typography, device) {
|
|
@@ -27,14 +27,14 @@ const composeTypographyV2Css = (typography, isImportant)=>{
|
|
|
27
27
|
return `
|
|
28
28
|
${fontFamily ? composeFontFamilyTypographyV2({
|
|
29
29
|
fontFamily
|
|
30
|
-
}) : ''}
|
|
31
|
-
${fontSize?.desktop ? `font-size: ${fontSize?.desktop} ${composeImportant}
|
|
32
|
-
${bold ? `font-weight: bold ${composeImportant}
|
|
33
|
-
${letterSpacing ? `letter-spacing: ${letterSpacing} ${composeImportant}
|
|
34
|
-
${lineHeight?.desktop ? `line-height: ${lineHeight?.desktop} ${composeImportant}
|
|
35
|
-
${italic ? `font-style: italic ${composeImportant}
|
|
36
|
-
${underline ? `text-decoration-line: underline ${composeImportant}
|
|
37
|
-
${transform ? `text-transform: ${transform} ${composeImportant}
|
|
30
|
+
}) : ''};
|
|
31
|
+
${fontSize?.desktop ? `font-size: ${fontSize?.desktop} ${composeImportant}` : ''};
|
|
32
|
+
${bold ? `font-weight: bold ${composeImportant}` : fontWeight ? `font-weight: ${fontWeight} ${composeImportant}` : ''};
|
|
33
|
+
${letterSpacing ? `letter-spacing: ${letterSpacing} ${composeImportant}` : ''};
|
|
34
|
+
${lineHeight?.desktop ? `line-height: ${lineHeight?.desktop} ${composeImportant}` : ''};
|
|
35
|
+
${italic ? `font-style: italic ${composeImportant}` : ''};
|
|
36
|
+
${underline ? `text-decoration-line: underline ${composeImportant}` : ''};
|
|
37
|
+
${transform ? `text-transform: ${transform} ${composeImportant}` : ''};
|
|
38
38
|
`;
|
|
39
39
|
};
|
|
40
40
|
function getCustomCSSByDevice(typography, device) {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5184,6 +5184,8 @@ type PublishedThemePage$1 = {
|
|
|
5184
5184
|
type: PublishedThemePageType$1;
|
|
5185
5185
|
updatedAt?: Maybe$1<Scalars$2['Time']>;
|
|
5186
5186
|
publishedAt?: Maybe$1<Scalars$2['Time']>;
|
|
5187
|
+
isPlatformDefault?: boolean;
|
|
5188
|
+
platformOriginalTemplateContent?: string;
|
|
5187
5189
|
};
|
|
5188
5190
|
type PublishedThemePageCustomSection$1 = {
|
|
5189
5191
|
id: Scalars$2['ID'];
|