From e9713e771f20e12e7d1cea4380ae4f8ffba2c977 Mon Sep 17 00:00:00 2001 From: Moshe Zemah Date: Thu, 13 May 2021 15:36:36 +0300 Subject: [PATCH] Fix typpography storybook --- package.json | 2 +- .../typography/typography.stories.mdx | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 4cbfafa1e5..f4c00d8e9f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "monday-ui-react-core", - "version": "0.3.26", + "version": "0.3.27", "description": "Official monday.com UI resources for application development in React.js", "main": "dist/main.js", "scripts": { diff --git a/src/general-stories/typography/typography.stories.mdx b/src/general-stories/typography/typography.stories.mdx index 40dc7e5d6e..f4e8d32c60 100644 --- a/src/general-stories/typography/typography.stories.mdx +++ b/src/general-stories/typography/typography.stories.mdx @@ -17,22 +17,22 @@ import "./typography.scss"; -

Typography

+

Typography

Like in other ui in mondays interface typography work by principle of accessibility before aesthetics therefore the text should be readable and help the user understand what important by well contrasted size and colors hierarchy. Don’t use a text under 12 px, text should be easy to read.




-

{"

Main heading (Roboto 32px bold)"}

-

{"

Secondary heading (Roboto 24px bold)"}

-

{"

Tertiary heading (Roboto 24px light)"}

-

{"

Fourth heading (Roboto 18px bold)"}

-
{"
Paragraph bold (Roboto 16px bold)"}
-
{"
UI labels / General text (Roboto 14px normal)"}
-

{"

Paragraph text (Roboto 16px normal)"}

- {" Caption/Subtext (Roboto 14px normal)"} +

{"

Main heading (Roboto 32px bold)"}

+

{"

Secondary heading (Roboto 24px bold)"}

+

{"

Tertiary heading (Roboto 24px light)"}

+

{"

Fourth heading (Roboto 18px bold)"}

+
{"
Paragraph bold (Roboto 16px bold)"}
+
{"
UI labels / General text (Roboto 14px normal)"}
+

{"

Paragraph text (Roboto 16px normal)"}

+ {" Caption/Subtext (Roboto 14px normal)"}
{" Link text (Roboto 14px normal)"}
-

Text Colors we use for text

+

Text Colors we use for text

{buildColorsStory(textColors)}