@envive-ai/react-toolkit-v3 0.3.31 → 0.3.33
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.
- package/dist/AnimatedText/AnimatedText.d.cts +3 -3
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.cjs +165 -60
- package/dist/CSSVariablesEditor/hooks/useGetDefaultCssVariables.js +165 -60
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.cjs +30 -15
- package/dist/CSSVariablesEditor/hooks/useHandleUpdateCssVars.js +30 -15
- package/dist/Carousel/Carousel.cjs +1 -1
- package/dist/Carousel/Carousel.d.cts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/Carousel/Carousel.js +1 -1
- package/dist/Carousel/components/Container.cjs +2 -2
- package/dist/Carousel/components/Container.js +2 -2
- package/dist/ChatFooter/ChatFooter.cjs +1 -1
- package/dist/ChatFooter/ChatFooter.d.cts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.js +1 -1
- package/dist/ChatFooter/components/Layout.cjs +2 -2
- package/dist/ChatFooter/components/Layout.js +2 -2
- package/dist/ChatFooter/components/index.d.cts +5 -5
- package/dist/ChatFooter/components/index.d.ts +5 -5
- package/dist/ChatHeader/ChatHeader.d.cts +2 -2
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatHeader/components/Handle.cjs +2 -2
- package/dist/ChatHeader/components/Handle.js +2 -2
- package/dist/ChatHeader/components/Toggle.cjs +3 -3
- package/dist/ChatHeader/components/Toggle.js +3 -3
- package/dist/ChatPreview/ChatPreview.cjs +1 -1
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreview/ChatPreview.js +1 -1
- package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +1 -1
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.js +1 -1
- package/dist/ChatPreviewComparison/components/Headline.cjs +2 -2
- package/dist/ChatPreviewComparison/components/Headline.js +2 -2
- package/dist/ChatPreviewComparison/components/Layout.cjs +4 -4
- package/dist/ChatPreviewComparison/components/Layout.js +4 -4
- package/dist/ChatPreviewComparison/components/Message.cjs +2 -2
- package/dist/ChatPreviewComparison/components/Message.js +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +175 -175
- package/dist/Container/Container.d.ts +175 -175
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/DesignTokens/components/FontWeight.cjs +4 -3
- package/dist/DesignTokens/components/FontWeight.js +4 -3
- package/dist/DesignTokens/components/LetterSpacing.cjs +15 -1
- package/dist/DesignTokens/components/LetterSpacing.js +15 -1
- package/dist/DesignTokens/components/LineHeight.cjs +13 -8
- package/dist/DesignTokens/components/LineHeight.js +13 -8
- package/dist/Disclaimer/components/Container.cjs +2 -2
- package/dist/Disclaimer/components/Container.js +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/DocumentRetrievalCard/components/Layout.cjs +2 -2
- package/dist/DocumentRetrievalCard/components/Layout.js +2 -2
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
- package/dist/FloatingButton/FloatingButton.d.cts +2 -2
- package/dist/FloatingButton/FloatingButton.d.ts +2 -2
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
- package/dist/FloatingChat/components/ChatMessages.js +1 -1
- package/dist/FloatingChat/components/Layout.cjs +3 -3
- package/dist/FloatingChat/components/Layout.js +3 -3
- package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
- package/dist/FloatingChat/components/ResultsGridView.js +1 -1
- package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +4 -4
- package/dist/FloatingChat/components/SalesAgentBadgeContent.js +4 -4
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.cjs +6 -3
- package/dist/FloatingChat/components/SalesAgentProductCardsCarousel.js +6 -3
- package/dist/FloatingChat/utils/functions.cjs +2 -1
- package/dist/FloatingChat/utils/functions.js +2 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +1 -1
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/ImageGallery/ImageGallery.d.cts +2 -2
- package/dist/ImageGallery/ImageGallery.d.ts +2 -2
- package/dist/ImageGallery/components/Layout.cjs +1 -1
- package/dist/ImageGallery/components/Layout.js +1 -1
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
- package/dist/Message/components/LinkButton.cjs +1 -1
- package/dist/Message/components/LinkButton.js +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
- package/dist/ProductCard/ProductCard.cjs +15 -9
- package/dist/ProductCard/ProductCard.d.cts +3 -2
- package/dist/ProductCard/ProductCard.d.ts +3 -2
- package/dist/ProductCard/ProductCard.js +11 -5
- package/dist/ProductCard/components/Header.cjs +7 -5
- package/dist/ProductCard/components/Header.js +7 -5
- package/dist/ProductCard/components/Poster.cjs +3 -2
- package/dist/ProductCard/components/Poster.js +3 -2
- package/dist/ProductCard/hooks/useGetPosterProperties.cjs +5 -3
- package/dist/ProductCard/hooks/useGetPosterProperties.js +6 -3
- package/dist/ProductCard/index.cjs +3 -1
- package/dist/ProductCard/index.d.cts +2 -2
- package/dist/ProductCard/index.d.ts +2 -2
- package/dist/ProductCard/index.js +2 -1
- package/dist/ProductCard/types/index.cjs +10 -0
- package/dist/ProductCard/types/index.d.cts +13 -3
- package/dist/ProductCard/types/index.d.ts +13 -3
- package/dist/ProductCard/types/index.js +9 -0
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +1 -1
- package/dist/PromptCarousel/PromptCarousel.cjs +3 -3
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.js +3 -3
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/Container.cjs +2 -2
- package/dist/ReviewCard/components/Container.js +2 -2
- package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
- package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
- package/dist/ReviewCard/components/index.d.cts +6 -6
- package/dist/ReviewCard/components/index.d.ts +6 -6
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
- package/dist/SalesAgentProductCard/components/Container.cjs +2 -2
- package/dist/SalesAgentProductCard/components/Container.js +2 -2
- package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.cjs +1 -1
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/SocialProof.js +1 -1
- package/dist/SocialProof/components/Headline.cjs +3 -3
- package/dist/SocialProof/components/Headline.js +3 -3
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
- package/dist/SocialProof/components/Subheadline.cjs +1 -1
- package/dist/SocialProof/components/Subheadline.js +1 -1
- package/dist/SocialProof/hooks/useSocialProofCount.cjs +2 -1
- package/dist/SocialProof/hooks/useSocialProofCount.js +2 -1
- package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
- package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
- package/dist/Stack/Stack.d.cts +2 -2
- package/dist/Stack/Stack.d.ts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
- package/dist/Tokens/index.cjs +1 -1
- package/dist/Tokens/index.js +1 -1
- package/dist/TypingAnimation/TypingAnimation.cjs +1 -1
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.js +1 -1
- package/dist/TypingAnimation/hooks/useGetTypographyVariant.cjs +1 -1
- package/dist/TypingAnimation/hooks/useGetTypographyVariant.js +1 -1
- package/dist/Typography/Typography.d.cts +4 -4
- package/dist/Typography/Typography.d.ts +4 -4
- package/dist/WelcomeMessage/components/Container.cjs +2 -2
- package/dist/WelcomeMessage/components/Container.js +2 -2
- package/dist/WidgetTextField/WidgetTextField.cjs +5 -4
- package/dist/WidgetTextField/WidgetTextField.d.cts +3 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +3 -2
- package/dist/WidgetTextField/WidgetTextField.js +3 -2
- package/dist/WidgetTextField/components/Container.cjs +5 -4
- package/dist/WidgetTextField/components/Container.js +5 -4
- package/dist/WidgetTextField/components/Icon.cjs +1 -1
- package/dist/WidgetTextField/components/Icon.js +1 -1
- package/dist/WidgetTextField/hooks/useGetContainerProperties.cjs +7 -3
- package/dist/WidgetTextField/hooks/useGetContainerProperties.js +7 -3
- package/dist/WidgetTextField/types/types.d.cts +2 -0
- package/dist/WidgetTextField/types/types.d.ts +2 -0
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/dist/packages/components-v3/tokens/typography/fontWeight.cjs +12 -9
- package/dist/packages/components-v3/tokens/typography/fontWeight.d.ts +4 -3
- package/dist/packages/components-v3/tokens/typography/fontWeight.js +12 -9
- package/dist/packages/components-v3/tokens/typography/letterSpacing.cjs +39 -6
- package/dist/packages/components-v3/tokens/typography/letterSpacing.d.ts +13 -2
- package/dist/packages/components-v3/tokens/typography/letterSpacing.js +39 -6
- package/dist/packages/components-v3/tokens/typography/lineHeight.cjs +39 -30
- package/dist/packages/components-v3/tokens/typography/lineHeight.d.ts +15 -12
- package/dist/packages/components-v3/tokens/typography/lineHeight.js +39 -30
- package/dist/packages/components-v3/tokens/typography/typography.cjs +63 -63
- package/dist/packages/components-v3/tokens/typography/typography.js +63 -63
- package/dist/styles.css +1 -1
- package/dist/tokens/typography/fontWeight.d.cts +4 -3
- package/dist/tokens/typography/letterSpacing.d.cts +13 -2
- package/dist/tokens/typography/lineHeight.d.cts +15 -12
- package/package.json +1 -1
- package/src/components/CSSVariablesEditor/hooks/useGetDefaultCssVariables.ts +165 -60
- package/src/components/CSSVariablesEditor/hooks/useHandleUpdateCssVars.ts +30 -15
- package/src/components/DesignTokens/components/FontWeight.tsx +4 -3
- package/src/components/DesignTokens/components/LetterSpacing.tsx +13 -1
- package/src/components/DesignTokens/components/LineHeight.tsx +13 -8
- package/src/components/FloatingChat/components/SalesAgentBadgeContent.tsx +8 -2
- package/src/components/FloatingChat/components/SalesAgentProductCardsCarousel.tsx +5 -2
- package/src/components/FloatingChat/utils/functions.ts +2 -3
- package/src/components/ProductCard/ProductCard.tsx +8 -4
- package/src/components/ProductCard/components/Header.tsx +11 -5
- package/src/components/ProductCard/components/Poster.tsx +12 -3
- package/src/components/ProductCard/hooks/useGetPosterProperties.ts +15 -3
- package/src/components/ProductCard/index.ts +1 -0
- package/src/components/ProductCard/types/index.ts +13 -1
- package/src/components/SocialProof/components/Headline.tsx +1 -1
- package/src/components/SocialProof/hooks/useSocialProofCount.ts +5 -2
- package/src/components/WidgetTextField/WidgetTextField.tsx +2 -0
- package/src/components/WidgetTextField/components/Container.tsx +3 -0
- package/src/components/WidgetTextField/hooks/useGetContainerProperties.ts +8 -2
- package/src/components/WidgetTextField/types/types.ts +2 -0
|
@@ -2,41 +2,50 @@ const require_utils = require('../utils.cjs');
|
|
|
2
2
|
|
|
3
3
|
//#region tokens/typography/lineHeight.ts
|
|
4
4
|
let LineHeightCSSVar = /* @__PURE__ */ function(LineHeightCSSVar$1) {
|
|
5
|
-
LineHeightCSSVar$1["
|
|
6
|
-
LineHeightCSSVar$1["
|
|
7
|
-
LineHeightCSSVar$1["
|
|
8
|
-
LineHeightCSSVar$1["
|
|
9
|
-
LineHeightCSSVar$1["
|
|
10
|
-
LineHeightCSSVar$1["
|
|
11
|
-
LineHeightCSSVar$1["
|
|
12
|
-
LineHeightCSSVar$1["
|
|
13
|
-
LineHeightCSSVar$1["
|
|
14
|
-
LineHeightCSSVar$1["
|
|
5
|
+
LineHeightCSSVar$1["T1"] = "envive-typography-line-height-t1";
|
|
6
|
+
LineHeightCSSVar$1["T2"] = "envive-typography-line-height-t2";
|
|
7
|
+
LineHeightCSSVar$1["T3"] = "envive-typography-line-height-t3";
|
|
8
|
+
LineHeightCSSVar$1["H1"] = "envive-typography-line-height-h1";
|
|
9
|
+
LineHeightCSSVar$1["H2"] = "envive-typography-line-height-h2";
|
|
10
|
+
LineHeightCSSVar$1["H3"] = "envive-typography-line-height-h3";
|
|
11
|
+
LineHeightCSSVar$1["B1"] = "envive-typography-line-height-b1";
|
|
12
|
+
LineHeightCSSVar$1["B2"] = "envive-typography-line-height-b2";
|
|
13
|
+
LineHeightCSSVar$1["B3"] = "envive-typography-line-height-b3";
|
|
14
|
+
LineHeightCSSVar$1["B4"] = "envive-typography-line-height-b4";
|
|
15
|
+
LineHeightCSSVar$1["B5"] = "envive-typography-line-height-b5";
|
|
16
|
+
LineHeightCSSVar$1["L1"] = "envive-typography-line-height-l1";
|
|
17
|
+
LineHeightCSSVar$1["L2"] = "envive-typography-line-height-l2";
|
|
15
18
|
return LineHeightCSSVar$1;
|
|
16
19
|
}({});
|
|
17
20
|
const lineHeight = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
t1: 1.24,
|
|
22
|
+
t2: 1.14,
|
|
23
|
+
t3: 1.18,
|
|
24
|
+
h1: 1.2,
|
|
25
|
+
h2: 1.24,
|
|
26
|
+
h3: 1.16,
|
|
27
|
+
b1: 1.2,
|
|
28
|
+
b2: 1.48,
|
|
29
|
+
b3: 1.4,
|
|
30
|
+
b4: 1.3,
|
|
31
|
+
b5: 1.3,
|
|
32
|
+
l1: 1.28,
|
|
33
|
+
l2: 1.33
|
|
28
34
|
};
|
|
29
35
|
const lineHeightVariables = {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
t1: require_utils.addVar(LineHeightCSSVar.T1),
|
|
37
|
+
t2: require_utils.addVar(LineHeightCSSVar.T2),
|
|
38
|
+
t3: require_utils.addVar(LineHeightCSSVar.T3),
|
|
39
|
+
h1: require_utils.addVar(LineHeightCSSVar.H1),
|
|
40
|
+
h2: require_utils.addVar(LineHeightCSSVar.H2),
|
|
41
|
+
h3: require_utils.addVar(LineHeightCSSVar.H3),
|
|
42
|
+
b1: require_utils.addVar(LineHeightCSSVar.B1),
|
|
43
|
+
b2: require_utils.addVar(LineHeightCSSVar.B2),
|
|
44
|
+
b3: require_utils.addVar(LineHeightCSSVar.B3),
|
|
45
|
+
b4: require_utils.addVar(LineHeightCSSVar.B4),
|
|
46
|
+
b5: require_utils.addVar(LineHeightCSSVar.B5),
|
|
47
|
+
l1: require_utils.addVar(LineHeightCSSVar.L1),
|
|
48
|
+
l2: require_utils.addVar(LineHeightCSSVar.L2)
|
|
40
49
|
};
|
|
41
50
|
const convertLineHeightToPercentage = (lineHeightNumber) => {
|
|
42
51
|
return `${Math.round(lineHeightNumber * 100)}%`;
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
//#region tokens/typography/lineHeight.d.ts
|
|
2
2
|
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
type LineHeightVariablesType = {
|
|
4
|
+
t1: string;
|
|
5
|
+
t2: string;
|
|
6
|
+
t3: string;
|
|
7
|
+
h1: string;
|
|
8
|
+
h2: string;
|
|
9
|
+
h3: string;
|
|
10
|
+
b1: string;
|
|
11
|
+
b2: string;
|
|
12
|
+
b3: string;
|
|
13
|
+
b4: string;
|
|
14
|
+
b5: string;
|
|
15
|
+
l1: string;
|
|
16
|
+
l2: string;
|
|
14
17
|
};
|
|
15
|
-
declare const lineHeightVariables:
|
|
18
|
+
declare const lineHeightVariables: LineHeightVariablesType;
|
|
16
19
|
//#endregion
|
|
17
20
|
export { lineHeightVariables };
|
|
@@ -2,41 +2,50 @@ import { addVar } from "../utils.js";
|
|
|
2
2
|
|
|
3
3
|
//#region tokens/typography/lineHeight.ts
|
|
4
4
|
let LineHeightCSSVar = /* @__PURE__ */ function(LineHeightCSSVar$1) {
|
|
5
|
-
LineHeightCSSVar$1["
|
|
6
|
-
LineHeightCSSVar$1["
|
|
7
|
-
LineHeightCSSVar$1["
|
|
8
|
-
LineHeightCSSVar$1["
|
|
9
|
-
LineHeightCSSVar$1["
|
|
10
|
-
LineHeightCSSVar$1["
|
|
11
|
-
LineHeightCSSVar$1["
|
|
12
|
-
LineHeightCSSVar$1["
|
|
13
|
-
LineHeightCSSVar$1["
|
|
14
|
-
LineHeightCSSVar$1["
|
|
5
|
+
LineHeightCSSVar$1["T1"] = "envive-typography-line-height-t1";
|
|
6
|
+
LineHeightCSSVar$1["T2"] = "envive-typography-line-height-t2";
|
|
7
|
+
LineHeightCSSVar$1["T3"] = "envive-typography-line-height-t3";
|
|
8
|
+
LineHeightCSSVar$1["H1"] = "envive-typography-line-height-h1";
|
|
9
|
+
LineHeightCSSVar$1["H2"] = "envive-typography-line-height-h2";
|
|
10
|
+
LineHeightCSSVar$1["H3"] = "envive-typography-line-height-h3";
|
|
11
|
+
LineHeightCSSVar$1["B1"] = "envive-typography-line-height-b1";
|
|
12
|
+
LineHeightCSSVar$1["B2"] = "envive-typography-line-height-b2";
|
|
13
|
+
LineHeightCSSVar$1["B3"] = "envive-typography-line-height-b3";
|
|
14
|
+
LineHeightCSSVar$1["B4"] = "envive-typography-line-height-b4";
|
|
15
|
+
LineHeightCSSVar$1["B5"] = "envive-typography-line-height-b5";
|
|
16
|
+
LineHeightCSSVar$1["L1"] = "envive-typography-line-height-l1";
|
|
17
|
+
LineHeightCSSVar$1["L2"] = "envive-typography-line-height-l2";
|
|
15
18
|
return LineHeightCSSVar$1;
|
|
16
19
|
}({});
|
|
17
20
|
const lineHeight = {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
t1: 1.24,
|
|
22
|
+
t2: 1.14,
|
|
23
|
+
t3: 1.18,
|
|
24
|
+
h1: 1.2,
|
|
25
|
+
h2: 1.24,
|
|
26
|
+
h3: 1.16,
|
|
27
|
+
b1: 1.2,
|
|
28
|
+
b2: 1.48,
|
|
29
|
+
b3: 1.4,
|
|
30
|
+
b4: 1.3,
|
|
31
|
+
b5: 1.3,
|
|
32
|
+
l1: 1.28,
|
|
33
|
+
l2: 1.33
|
|
28
34
|
};
|
|
29
35
|
const lineHeightVariables = {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
t1: addVar(LineHeightCSSVar.T1),
|
|
37
|
+
t2: addVar(LineHeightCSSVar.T2),
|
|
38
|
+
t3: addVar(LineHeightCSSVar.T3),
|
|
39
|
+
h1: addVar(LineHeightCSSVar.H1),
|
|
40
|
+
h2: addVar(LineHeightCSSVar.H2),
|
|
41
|
+
h3: addVar(LineHeightCSSVar.H3),
|
|
42
|
+
b1: addVar(LineHeightCSSVar.B1),
|
|
43
|
+
b2: addVar(LineHeightCSSVar.B2),
|
|
44
|
+
b3: addVar(LineHeightCSSVar.B3),
|
|
45
|
+
b4: addVar(LineHeightCSSVar.B4),
|
|
46
|
+
b5: addVar(LineHeightCSSVar.B5),
|
|
47
|
+
l1: addVar(LineHeightCSSVar.L1),
|
|
48
|
+
l2: addVar(LineHeightCSSVar.L2)
|
|
40
49
|
};
|
|
41
50
|
const convertLineHeightToPercentage = (lineHeightNumber) => {
|
|
42
51
|
return `${Math.round(lineHeightNumber * 100)}%`;
|
|
@@ -9,150 +9,150 @@ const createTypographyComponents = ({ addComponents, theme }) => {
|
|
|
9
9
|
addComponents({
|
|
10
10
|
".text-t1-md": {
|
|
11
11
|
fontSize: theme("fontSize.t1"),
|
|
12
|
-
fontWeight: theme("fontWeight.
|
|
13
|
-
lineHeight: theme("lineHeight.
|
|
12
|
+
fontWeight: theme("fontWeight.title"),
|
|
13
|
+
lineHeight: theme("lineHeight.t1"),
|
|
14
14
|
fontFamily: theme("fontFamily.title"),
|
|
15
|
-
letterSpacing: theme("letterSpacing.
|
|
15
|
+
letterSpacing: theme("letterSpacing.t1")
|
|
16
16
|
},
|
|
17
17
|
".text-t2-md": {
|
|
18
18
|
fontSize: theme("fontSize.t2"),
|
|
19
|
-
fontWeight: theme("fontWeight.
|
|
20
|
-
lineHeight: theme("lineHeight.
|
|
19
|
+
fontWeight: theme("fontWeight.title"),
|
|
20
|
+
lineHeight: theme("lineHeight.t2"),
|
|
21
21
|
fontFamily: theme("fontFamily.title"),
|
|
22
|
-
letterSpacing: theme("letterSpacing.
|
|
22
|
+
letterSpacing: theme("letterSpacing.t2")
|
|
23
23
|
},
|
|
24
24
|
".text-t3-md": {
|
|
25
25
|
fontSize: theme("fontSize.t3"),
|
|
26
|
-
fontWeight: theme("fontWeight.
|
|
27
|
-
lineHeight: theme("lineHeight.
|
|
26
|
+
fontWeight: theme("fontWeight.title"),
|
|
27
|
+
lineHeight: theme("lineHeight.t3"),
|
|
28
28
|
fontFamily: theme("fontFamily.title"),
|
|
29
|
-
letterSpacing: theme("letterSpacing.
|
|
29
|
+
letterSpacing: theme("letterSpacing.t3")
|
|
30
30
|
},
|
|
31
31
|
".text-h1-sb": {
|
|
32
32
|
fontSize: theme("fontSize.h1"),
|
|
33
|
-
fontWeight: theme("fontWeight.
|
|
34
|
-
lineHeight: theme("lineHeight.
|
|
33
|
+
fontWeight: theme("fontWeight.header"),
|
|
34
|
+
lineHeight: theme("lineHeight.h1"),
|
|
35
35
|
fontFamily: theme("fontFamily.header"),
|
|
36
|
-
letterSpacing: theme("letterSpacing.
|
|
36
|
+
letterSpacing: theme("letterSpacing.h1")
|
|
37
37
|
},
|
|
38
38
|
".text-h1-md": {
|
|
39
39
|
fontSize: theme("fontSize.h1"),
|
|
40
|
-
fontWeight: theme("fontWeight.
|
|
41
|
-
lineHeight: theme("lineHeight.
|
|
40
|
+
fontWeight: theme("fontWeight.header"),
|
|
41
|
+
lineHeight: theme("lineHeight.h1"),
|
|
42
42
|
fontFamily: theme("fontFamily.header"),
|
|
43
|
-
letterSpacing: theme("letterSpacing.
|
|
43
|
+
letterSpacing: theme("letterSpacing.h1")
|
|
44
44
|
},
|
|
45
45
|
".text-h2-sb": {
|
|
46
46
|
fontSize: theme("fontSize.h2"),
|
|
47
|
-
fontWeight: theme("fontWeight.
|
|
48
|
-
lineHeight: theme("lineHeight.
|
|
47
|
+
fontWeight: theme("fontWeight.header"),
|
|
48
|
+
lineHeight: theme("lineHeight.h2"),
|
|
49
49
|
fontFamily: theme("fontFamily.header"),
|
|
50
|
-
letterSpacing: theme("letterSpacing.
|
|
50
|
+
letterSpacing: theme("letterSpacing.h2")
|
|
51
51
|
},
|
|
52
52
|
".text-h2-md": {
|
|
53
53
|
fontSize: theme("fontSize.h2"),
|
|
54
|
-
fontWeight: theme("fontWeight.
|
|
55
|
-
lineHeight: theme("lineHeight.
|
|
54
|
+
fontWeight: theme("fontWeight.header"),
|
|
55
|
+
lineHeight: theme("lineHeight.h2"),
|
|
56
56
|
fontFamily: theme("fontFamily.header"),
|
|
57
|
-
letterSpacing: theme("letterSpacing.
|
|
57
|
+
letterSpacing: theme("letterSpacing.h2")
|
|
58
58
|
},
|
|
59
59
|
".text-h3-sb": {
|
|
60
60
|
fontSize: theme("fontSize.h3"),
|
|
61
|
-
fontWeight: theme("fontWeight.
|
|
62
|
-
lineHeight: theme("lineHeight.
|
|
61
|
+
fontWeight: theme("fontWeight.header"),
|
|
62
|
+
lineHeight: theme("lineHeight.h3"),
|
|
63
63
|
fontFamily: theme("fontFamily.header"),
|
|
64
|
-
letterSpacing: theme("letterSpacing.
|
|
64
|
+
letterSpacing: theme("letterSpacing.h3")
|
|
65
65
|
},
|
|
66
66
|
".text-h3-md": {
|
|
67
67
|
fontSize: theme("fontSize.h3"),
|
|
68
|
-
fontWeight: theme("fontWeight.
|
|
69
|
-
lineHeight: theme("lineHeight.
|
|
68
|
+
fontWeight: theme("fontWeight.header"),
|
|
69
|
+
lineHeight: theme("lineHeight.h3"),
|
|
70
70
|
fontFamily: theme("fontFamily.header"),
|
|
71
|
-
letterSpacing: theme("letterSpacing.
|
|
71
|
+
letterSpacing: theme("letterSpacing.h3")
|
|
72
72
|
},
|
|
73
73
|
".text-b1-rg": {
|
|
74
74
|
fontSize: theme("fontSize.b1"),
|
|
75
|
-
fontWeight: theme("fontWeight.
|
|
76
|
-
lineHeight: theme("lineHeight.
|
|
75
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
76
|
+
lineHeight: theme("lineHeight.b1"),
|
|
77
77
|
fontFamily: theme("fontFamily.body"),
|
|
78
|
-
letterSpacing: theme("letterSpacing.
|
|
78
|
+
letterSpacing: theme("letterSpacing.b1")
|
|
79
79
|
},
|
|
80
80
|
".text-b1-md": {
|
|
81
81
|
fontSize: theme("fontSize.b1"),
|
|
82
|
-
fontWeight: theme("fontWeight.
|
|
83
|
-
lineHeight: theme("lineHeight.
|
|
82
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
83
|
+
lineHeight: theme("lineHeight.b1"),
|
|
84
84
|
fontFamily: theme("fontFamily.body"),
|
|
85
|
-
letterSpacing: theme("letterSpacing.
|
|
85
|
+
letterSpacing: theme("letterSpacing.b1")
|
|
86
86
|
},
|
|
87
87
|
".text-b2-rg": {
|
|
88
88
|
fontSize: theme("fontSize.b2"),
|
|
89
|
-
fontWeight: theme("fontWeight.
|
|
90
|
-
lineHeight: theme("lineHeight.
|
|
89
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
90
|
+
lineHeight: theme("lineHeight.b2"),
|
|
91
91
|
fontFamily: theme("fontFamily.body"),
|
|
92
|
-
letterSpacing: theme("letterSpacing.
|
|
92
|
+
letterSpacing: theme("letterSpacing.b2")
|
|
93
93
|
},
|
|
94
94
|
".text-b2-md": {
|
|
95
95
|
fontSize: theme("fontSize.b2"),
|
|
96
|
-
fontWeight: theme("fontWeight.
|
|
97
|
-
lineHeight: theme("lineHeight.
|
|
96
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
97
|
+
lineHeight: theme("lineHeight.b2"),
|
|
98
98
|
fontFamily: theme("fontFamily.body"),
|
|
99
|
-
letterSpacing: theme("letterSpacing.
|
|
99
|
+
letterSpacing: theme("letterSpacing.b2")
|
|
100
100
|
},
|
|
101
101
|
".text-b3-rg": {
|
|
102
102
|
fontSize: theme("fontSize.b3"),
|
|
103
|
-
fontWeight: theme("fontWeight.
|
|
104
|
-
lineHeight: theme("lineHeight.
|
|
103
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
104
|
+
lineHeight: theme("lineHeight.b3"),
|
|
105
105
|
fontFamily: theme("fontFamily.body"),
|
|
106
|
-
letterSpacing: theme("letterSpacing.
|
|
106
|
+
letterSpacing: theme("letterSpacing.b3")
|
|
107
107
|
},
|
|
108
108
|
".text-b3-md": {
|
|
109
109
|
fontSize: theme("fontSize.b3"),
|
|
110
|
-
fontWeight: theme("fontWeight.
|
|
111
|
-
lineHeight: theme("lineHeight.
|
|
110
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
111
|
+
lineHeight: theme("lineHeight.b3"),
|
|
112
112
|
fontFamily: theme("fontFamily.body"),
|
|
113
|
-
letterSpacing: theme("letterSpacing.
|
|
113
|
+
letterSpacing: theme("letterSpacing.b3")
|
|
114
114
|
},
|
|
115
115
|
".text-b4-rg": {
|
|
116
116
|
fontSize: theme("fontSize.b4"),
|
|
117
|
-
fontWeight: theme("fontWeight.
|
|
118
|
-
lineHeight: theme("lineHeight.
|
|
117
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
118
|
+
lineHeight: theme("lineHeight.b4"),
|
|
119
119
|
fontFamily: theme("fontFamily.body"),
|
|
120
|
-
letterSpacing: theme("letterSpacing.
|
|
120
|
+
letterSpacing: theme("letterSpacing.b4")
|
|
121
121
|
},
|
|
122
122
|
".text-b4-md": {
|
|
123
123
|
fontSize: theme("fontSize.b4"),
|
|
124
|
-
fontWeight: theme("fontWeight.
|
|
125
|
-
lineHeight: theme("lineHeight.
|
|
124
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
125
|
+
lineHeight: theme("lineHeight.b4"),
|
|
126
126
|
fontFamily: theme("fontFamily.body"),
|
|
127
|
-
letterSpacing: theme("letterSpacing.
|
|
127
|
+
letterSpacing: theme("letterSpacing.b4")
|
|
128
128
|
},
|
|
129
129
|
".text-b5-rg": {
|
|
130
130
|
fontSize: theme("fontSize.b5"),
|
|
131
|
-
fontWeight: theme("fontWeight.
|
|
132
|
-
lineHeight: theme("lineHeight.
|
|
131
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
132
|
+
lineHeight: theme("lineHeight.b5"),
|
|
133
133
|
fontFamily: theme("fontFamily.body"),
|
|
134
|
-
letterSpacing: theme("letterSpacing.
|
|
134
|
+
letterSpacing: theme("letterSpacing.b5")
|
|
135
135
|
},
|
|
136
136
|
".text-b5-md": {
|
|
137
137
|
fontSize: theme("fontSize.b5"),
|
|
138
|
-
fontWeight: theme("fontWeight.
|
|
139
|
-
lineHeight: theme("lineHeight.
|
|
138
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
139
|
+
lineHeight: theme("lineHeight.b5"),
|
|
140
140
|
fontFamily: theme("fontFamily.body"),
|
|
141
|
-
letterSpacing: theme("letterSpacing.
|
|
141
|
+
letterSpacing: theme("letterSpacing.b5")
|
|
142
142
|
},
|
|
143
143
|
".text-l1-sb": {
|
|
144
144
|
fontSize: theme("fontSize.l1"),
|
|
145
|
-
fontWeight: theme("fontWeight.
|
|
146
|
-
lineHeight: theme("lineHeight.
|
|
145
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
146
|
+
lineHeight: theme("lineHeight.l1"),
|
|
147
147
|
fontFamily: theme("fontFamily.body"),
|
|
148
|
-
letterSpacing: theme("letterSpacing.
|
|
148
|
+
letterSpacing: theme("letterSpacing.l1")
|
|
149
149
|
},
|
|
150
150
|
".text-l2-sb": {
|
|
151
151
|
fontSize: theme("fontSize.l2"),
|
|
152
|
-
fontWeight: theme("fontWeight.
|
|
153
|
-
lineHeight: theme("lineHeight.
|
|
152
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
153
|
+
lineHeight: theme("lineHeight.l2"),
|
|
154
154
|
fontFamily: theme("fontFamily.body"),
|
|
155
|
-
letterSpacing: theme("letterSpacing.
|
|
155
|
+
letterSpacing: theme("letterSpacing.l2")
|
|
156
156
|
}
|
|
157
157
|
});
|
|
158
158
|
};
|
|
@@ -9,150 +9,150 @@ const createTypographyComponents = ({ addComponents, theme }) => {
|
|
|
9
9
|
addComponents({
|
|
10
10
|
".text-t1-md": {
|
|
11
11
|
fontSize: theme("fontSize.t1"),
|
|
12
|
-
fontWeight: theme("fontWeight.
|
|
13
|
-
lineHeight: theme("lineHeight.
|
|
12
|
+
fontWeight: theme("fontWeight.title"),
|
|
13
|
+
lineHeight: theme("lineHeight.t1"),
|
|
14
14
|
fontFamily: theme("fontFamily.title"),
|
|
15
|
-
letterSpacing: theme("letterSpacing.
|
|
15
|
+
letterSpacing: theme("letterSpacing.t1")
|
|
16
16
|
},
|
|
17
17
|
".text-t2-md": {
|
|
18
18
|
fontSize: theme("fontSize.t2"),
|
|
19
|
-
fontWeight: theme("fontWeight.
|
|
20
|
-
lineHeight: theme("lineHeight.
|
|
19
|
+
fontWeight: theme("fontWeight.title"),
|
|
20
|
+
lineHeight: theme("lineHeight.t2"),
|
|
21
21
|
fontFamily: theme("fontFamily.title"),
|
|
22
|
-
letterSpacing: theme("letterSpacing.
|
|
22
|
+
letterSpacing: theme("letterSpacing.t2")
|
|
23
23
|
},
|
|
24
24
|
".text-t3-md": {
|
|
25
25
|
fontSize: theme("fontSize.t3"),
|
|
26
|
-
fontWeight: theme("fontWeight.
|
|
27
|
-
lineHeight: theme("lineHeight.
|
|
26
|
+
fontWeight: theme("fontWeight.title"),
|
|
27
|
+
lineHeight: theme("lineHeight.t3"),
|
|
28
28
|
fontFamily: theme("fontFamily.title"),
|
|
29
|
-
letterSpacing: theme("letterSpacing.
|
|
29
|
+
letterSpacing: theme("letterSpacing.t3")
|
|
30
30
|
},
|
|
31
31
|
".text-h1-sb": {
|
|
32
32
|
fontSize: theme("fontSize.h1"),
|
|
33
|
-
fontWeight: theme("fontWeight.
|
|
34
|
-
lineHeight: theme("lineHeight.
|
|
33
|
+
fontWeight: theme("fontWeight.header"),
|
|
34
|
+
lineHeight: theme("lineHeight.h1"),
|
|
35
35
|
fontFamily: theme("fontFamily.header"),
|
|
36
|
-
letterSpacing: theme("letterSpacing.
|
|
36
|
+
letterSpacing: theme("letterSpacing.h1")
|
|
37
37
|
},
|
|
38
38
|
".text-h1-md": {
|
|
39
39
|
fontSize: theme("fontSize.h1"),
|
|
40
|
-
fontWeight: theme("fontWeight.
|
|
41
|
-
lineHeight: theme("lineHeight.
|
|
40
|
+
fontWeight: theme("fontWeight.header"),
|
|
41
|
+
lineHeight: theme("lineHeight.h1"),
|
|
42
42
|
fontFamily: theme("fontFamily.header"),
|
|
43
|
-
letterSpacing: theme("letterSpacing.
|
|
43
|
+
letterSpacing: theme("letterSpacing.h1")
|
|
44
44
|
},
|
|
45
45
|
".text-h2-sb": {
|
|
46
46
|
fontSize: theme("fontSize.h2"),
|
|
47
|
-
fontWeight: theme("fontWeight.
|
|
48
|
-
lineHeight: theme("lineHeight.
|
|
47
|
+
fontWeight: theme("fontWeight.header"),
|
|
48
|
+
lineHeight: theme("lineHeight.h2"),
|
|
49
49
|
fontFamily: theme("fontFamily.header"),
|
|
50
|
-
letterSpacing: theme("letterSpacing.
|
|
50
|
+
letterSpacing: theme("letterSpacing.h2")
|
|
51
51
|
},
|
|
52
52
|
".text-h2-md": {
|
|
53
53
|
fontSize: theme("fontSize.h2"),
|
|
54
|
-
fontWeight: theme("fontWeight.
|
|
55
|
-
lineHeight: theme("lineHeight.
|
|
54
|
+
fontWeight: theme("fontWeight.header"),
|
|
55
|
+
lineHeight: theme("lineHeight.h2"),
|
|
56
56
|
fontFamily: theme("fontFamily.header"),
|
|
57
|
-
letterSpacing: theme("letterSpacing.
|
|
57
|
+
letterSpacing: theme("letterSpacing.h2")
|
|
58
58
|
},
|
|
59
59
|
".text-h3-sb": {
|
|
60
60
|
fontSize: theme("fontSize.h3"),
|
|
61
|
-
fontWeight: theme("fontWeight.
|
|
62
|
-
lineHeight: theme("lineHeight.
|
|
61
|
+
fontWeight: theme("fontWeight.header"),
|
|
62
|
+
lineHeight: theme("lineHeight.h3"),
|
|
63
63
|
fontFamily: theme("fontFamily.header"),
|
|
64
|
-
letterSpacing: theme("letterSpacing.
|
|
64
|
+
letterSpacing: theme("letterSpacing.h3")
|
|
65
65
|
},
|
|
66
66
|
".text-h3-md": {
|
|
67
67
|
fontSize: theme("fontSize.h3"),
|
|
68
|
-
fontWeight: theme("fontWeight.
|
|
69
|
-
lineHeight: theme("lineHeight.
|
|
68
|
+
fontWeight: theme("fontWeight.header"),
|
|
69
|
+
lineHeight: theme("lineHeight.h3"),
|
|
70
70
|
fontFamily: theme("fontFamily.header"),
|
|
71
|
-
letterSpacing: theme("letterSpacing.
|
|
71
|
+
letterSpacing: theme("letterSpacing.h3")
|
|
72
72
|
},
|
|
73
73
|
".text-b1-rg": {
|
|
74
74
|
fontSize: theme("fontSize.b1"),
|
|
75
|
-
fontWeight: theme("fontWeight.
|
|
76
|
-
lineHeight: theme("lineHeight.
|
|
75
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
76
|
+
lineHeight: theme("lineHeight.b1"),
|
|
77
77
|
fontFamily: theme("fontFamily.body"),
|
|
78
|
-
letterSpacing: theme("letterSpacing.
|
|
78
|
+
letterSpacing: theme("letterSpacing.b1")
|
|
79
79
|
},
|
|
80
80
|
".text-b1-md": {
|
|
81
81
|
fontSize: theme("fontSize.b1"),
|
|
82
|
-
fontWeight: theme("fontWeight.
|
|
83
|
-
lineHeight: theme("lineHeight.
|
|
82
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
83
|
+
lineHeight: theme("lineHeight.b1"),
|
|
84
84
|
fontFamily: theme("fontFamily.body"),
|
|
85
|
-
letterSpacing: theme("letterSpacing.
|
|
85
|
+
letterSpacing: theme("letterSpacing.b1")
|
|
86
86
|
},
|
|
87
87
|
".text-b2-rg": {
|
|
88
88
|
fontSize: theme("fontSize.b2"),
|
|
89
|
-
fontWeight: theme("fontWeight.
|
|
90
|
-
lineHeight: theme("lineHeight.
|
|
89
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
90
|
+
lineHeight: theme("lineHeight.b2"),
|
|
91
91
|
fontFamily: theme("fontFamily.body"),
|
|
92
|
-
letterSpacing: theme("letterSpacing.
|
|
92
|
+
letterSpacing: theme("letterSpacing.b2")
|
|
93
93
|
},
|
|
94
94
|
".text-b2-md": {
|
|
95
95
|
fontSize: theme("fontSize.b2"),
|
|
96
|
-
fontWeight: theme("fontWeight.
|
|
97
|
-
lineHeight: theme("lineHeight.
|
|
96
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
97
|
+
lineHeight: theme("lineHeight.b2"),
|
|
98
98
|
fontFamily: theme("fontFamily.body"),
|
|
99
|
-
letterSpacing: theme("letterSpacing.
|
|
99
|
+
letterSpacing: theme("letterSpacing.b2")
|
|
100
100
|
},
|
|
101
101
|
".text-b3-rg": {
|
|
102
102
|
fontSize: theme("fontSize.b3"),
|
|
103
|
-
fontWeight: theme("fontWeight.
|
|
104
|
-
lineHeight: theme("lineHeight.
|
|
103
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
104
|
+
lineHeight: theme("lineHeight.b3"),
|
|
105
105
|
fontFamily: theme("fontFamily.body"),
|
|
106
|
-
letterSpacing: theme("letterSpacing.
|
|
106
|
+
letterSpacing: theme("letterSpacing.b3")
|
|
107
107
|
},
|
|
108
108
|
".text-b3-md": {
|
|
109
109
|
fontSize: theme("fontSize.b3"),
|
|
110
|
-
fontWeight: theme("fontWeight.
|
|
111
|
-
lineHeight: theme("lineHeight.
|
|
110
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
111
|
+
lineHeight: theme("lineHeight.b3"),
|
|
112
112
|
fontFamily: theme("fontFamily.body"),
|
|
113
|
-
letterSpacing: theme("letterSpacing.
|
|
113
|
+
letterSpacing: theme("letterSpacing.b3")
|
|
114
114
|
},
|
|
115
115
|
".text-b4-rg": {
|
|
116
116
|
fontSize: theme("fontSize.b4"),
|
|
117
|
-
fontWeight: theme("fontWeight.
|
|
118
|
-
lineHeight: theme("lineHeight.
|
|
117
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
118
|
+
lineHeight: theme("lineHeight.b4"),
|
|
119
119
|
fontFamily: theme("fontFamily.body"),
|
|
120
|
-
letterSpacing: theme("letterSpacing.
|
|
120
|
+
letterSpacing: theme("letterSpacing.b4")
|
|
121
121
|
},
|
|
122
122
|
".text-b4-md": {
|
|
123
123
|
fontSize: theme("fontSize.b4"),
|
|
124
|
-
fontWeight: theme("fontWeight.
|
|
125
|
-
lineHeight: theme("lineHeight.
|
|
124
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
125
|
+
lineHeight: theme("lineHeight.b4"),
|
|
126
126
|
fontFamily: theme("fontFamily.body"),
|
|
127
|
-
letterSpacing: theme("letterSpacing.
|
|
127
|
+
letterSpacing: theme("letterSpacing.b4")
|
|
128
128
|
},
|
|
129
129
|
".text-b5-rg": {
|
|
130
130
|
fontSize: theme("fontSize.b5"),
|
|
131
|
-
fontWeight: theme("fontWeight.
|
|
132
|
-
lineHeight: theme("lineHeight.
|
|
131
|
+
fontWeight: theme("fontWeight.body_standard"),
|
|
132
|
+
lineHeight: theme("lineHeight.b5"),
|
|
133
133
|
fontFamily: theme("fontFamily.body"),
|
|
134
|
-
letterSpacing: theme("letterSpacing.
|
|
134
|
+
letterSpacing: theme("letterSpacing.b5")
|
|
135
135
|
},
|
|
136
136
|
".text-b5-md": {
|
|
137
137
|
fontSize: theme("fontSize.b5"),
|
|
138
|
-
fontWeight: theme("fontWeight.
|
|
139
|
-
lineHeight: theme("lineHeight.
|
|
138
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
139
|
+
lineHeight: theme("lineHeight.b5"),
|
|
140
140
|
fontFamily: theme("fontFamily.body"),
|
|
141
|
-
letterSpacing: theme("letterSpacing.
|
|
141
|
+
letterSpacing: theme("letterSpacing.b5")
|
|
142
142
|
},
|
|
143
143
|
".text-l1-sb": {
|
|
144
144
|
fontSize: theme("fontSize.l1"),
|
|
145
|
-
fontWeight: theme("fontWeight.
|
|
146
|
-
lineHeight: theme("lineHeight.
|
|
145
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
146
|
+
lineHeight: theme("lineHeight.l1"),
|
|
147
147
|
fontFamily: theme("fontFamily.body"),
|
|
148
|
-
letterSpacing: theme("letterSpacing.
|
|
148
|
+
letterSpacing: theme("letterSpacing.l1")
|
|
149
149
|
},
|
|
150
150
|
".text-l2-sb": {
|
|
151
151
|
fontSize: theme("fontSize.l2"),
|
|
152
|
-
fontWeight: theme("fontWeight.
|
|
153
|
-
lineHeight: theme("lineHeight.
|
|
152
|
+
fontWeight: theme("fontWeight.body_emphasis"),
|
|
153
|
+
lineHeight: theme("lineHeight.l2"),
|
|
154
154
|
fontFamily: theme("fontFamily.body"),
|
|
155
|
-
letterSpacing: theme("letterSpacing.
|
|
155
|
+
letterSpacing: theme("letterSpacing.l2")
|
|
156
156
|
}
|
|
157
157
|
});
|
|
158
158
|
};
|