From 99d7671a5a6bcf8dcd3e7d2079bd790b00e0a00f Mon Sep 17 00:00:00 2001 From: SergejLust Date: Tue, 7 May 2024 12:10:35 +0200 Subject: [PATCH] -changed text and image sizes in foundation pages --- .../src/stories/foundations/BorderRadius.mdx | 12 ++-- .../src/stories/foundations/Color.mdx | 56 ++++++--------- .../src/stories/foundations/Grid.mdx | 4 +- .../src/stories/foundations/Iconography.mdx | 33 ++++----- .../src/stories/foundations/Logo.mdx | 6 +- .../src/stories/foundations/Spacing.mdx | 68 ++++++++----------- .../src/stories/foundations/Typography.mdx | 42 +++++------- 7 files changed, 93 insertions(+), 128 deletions(-) diff --git a/packages/components/src/stories/foundations/BorderRadius.mdx b/packages/components/src/stories/foundations/BorderRadius.mdx index 259aca303f..5e9dde693e 100644 --- a/packages/components/src/stories/foundations/BorderRadius.mdx +++ b/packages/components/src/stories/foundations/BorderRadius.mdx @@ -6,21 +6,19 @@ import { Meta } from '@storybook/addon-docs'; # Border radius -A fundamental aspect of our visual design. -It refers to the curvature applied to the corners of elements, such as buttons, cards, or containers. -It shapes the overall aesthetic and feel of our interfaces, influencing user perception and interaction. +A fundamental aspect of our visual design. It refers to the curvature applied to the corners of elements, such as buttons, cards, or containers. It shapes the overall aesthetic and feel of our interfaces, influencing user perception and interaction. ## 1px Border radius -BorderRadius1px +BorderRadius1px We use a 1px border radius for all rectangular objects in our design system. This includes buttons, text inputs, checkboxes, radio buttons, and other rectangular elements. A 1px border radius creates a slight curve at the corners of these elements, which softens their appearance and helps creating a more friendly and approachable design. -Border Radius 1px +Border Radius 1px ## 9999px Border radius -BorderRadius9999px +BorderRadius9999px In addition to the 1px border radius, we use a 9999px border radius for certain components in our design system. These components include chips, tags, toggles, and filter components. -This style creates a pill shape for these elements, which helps distinguish them from other rectangular elements on the page and makes them more visually appealing. +This style creates a pill shape for these elements, which helps distinguish them from other rectangular elements on the page and makes them more visually appealing. \ No newline at end of file diff --git a/packages/components/src/stories/foundations/Color.mdx b/packages/components/src/stories/foundations/Color.mdx index ac78d5cb43..b6829bc640 100644 --- a/packages/components/src/stories/foundations/Color.mdx +++ b/packages/components/src/stories/foundations/Color.mdx @@ -44,97 +44,81 @@ We use the concept of tokens to apply color in a consistent, reusable, and scala | token | hex | example | |---------------------------------------|---------------|-----------------------------------------------------------| -| $ifxColorBaseBlack | #1D1D1D | Base Black | +| $ifxColorBaseBlack | #1D1D1D | Base Black | | $ifxColorBaseWhite | #FFFFFF | Base White | -| $ifxColorBaseTransparent | transparent | Base Transparent | +| $ifxColorBaseTransparent | transparent | Base Transparent | | $ifxColorEngineering100 | #F7F7F7 | Engineering 100 | -| $ifxColorEngineering200 | #EEEDED | Engineering 200 | +| $ifxColorEngineering200 | #EEEDED | Engineering 200 | | $ifxColorEngineering300 | #BFBBBB | Engineering 300 | -| $ifxColorEngineering400 | #8D8786 | Engineering 400 | +| $ifxColorEngineering400 | #8D8786 | Engineering 400 | | $ifxColorEngineering500 | #575352 | Engineering 500 | -| $ifxColorEngineering600 | #3C3A39 | Engineering 600 | +| $ifxColorEngineering600 | #3C3A39 | Engineering 600 | | $ifxColorOcean100 | #0A8276 | Ocean 100 | -| $ifxColorOcean200 | #B8DEDA | Ocean 200 | +| $ifxColorOcean200 | #B8DEDA | Ocean 200 | | $ifxColorOcean300 | #6CB4AD | Ocean 300 | -| $ifxColorOcean400 | #3B9B91 | Ocean 400 | +| $ifxColorOcean400 | #3B9B91 | Ocean 400 | | $ifxColorOcean500 | #0A8276 | Ocean 500 | -| $ifxColorOcean600 | #08665C | Ocean 600 | -| $ifxColorOcean700 | #06534B | Ocean 700 | | $ifxColorRed500 | #CD002F | Red 500 | +| $ifxColorOcean600 | #08665C | Ocean 600 | +| $ifxColorOcean700 | #06534B | Ocean 700 | +| $ifxColorRed500 | #CD002F | Red 500 | | $ifxColorRed600 | #BF0023 | Red 600 | -| $ifxColorRed700 | #900021 | Red 700 | +| $ifxColorRed700 | #900021 | Red 700 | | $ifxColorOrange500 | #E16B25 | Orange 500 | -| $ifxColorGreen500 | #4CA460 | Green 500 | +| $ifxColorGreen500 | #4CA460 | Green 500 | | $ifxColorLawn400 | #B9D257 | Lawn 400 | -| $ifxColorLawn500 | #9BBA43 | Lawn 500 | +| $ifxColorLawn500 | #9BBA43 | Lawn 500 | | $ifxColorLawn700 | #3C6C0F | Lawn 700 | -| $ifxColorBerry400 | #BE3283 | Berry 400 | +| $ifxColorBerry400 | #BE3283 | Berry 400 | | $ifxColorBerry500 | #9C216E | Berry 500 | -| $ifxColorSun400 | #FF9737 | Sun 400 | +| $ifxColorSun400 | #FF9737 | Sun 400 | | $ifxColorSun500 | #F97414 | Sun 500 | -| $ifxColorSand400 | #FBE273 | Sand 400 | +| $ifxColorSand400 | #FBE273 | Sand 400 | | $ifxColorSand500 | #FCD442 | Sand 500 | -| $ifxColorOverlayDark | #1D1D1D (20%) | Overlay Dark | +| $ifxColorOverlayDark | #1D1D1D (20%) | Overlay Dark | | $ifxColorOverlayLight | #FFFFFF (20%) | Overlay Light | ## Using tokens ### Background colors - Our overall look should be light and bright. To achieve that we use: `$ifxColorBaseWhite`: This is our main background color. - `$ifxColorEngineering-100`: If it is necessary to apply more section-structure. Especially for dashboard designs. - `$ifxColorOcean-500`: This option is only recommended for marketing websites by highlighting messages/sections. ### Typography - - For default text we use `$ifxColorBaseBlack` as main color. On brand or dark colored backgrounds we recommend to use `$ifxColorBaseWhite`. - - For headlines you can use either `$ifxColorBaseBlack` or `$ifxColorOcean500`. For the homepage in the hero section we recommend to use `$ifxColorOcean500` as title/h1. - - For interactive texts like inline-links use `$ifxColorOcean500`. ### Components - We use a set of engineering color variations to build the core fibres of many layouts and components. This core fibres can be: - An engineering outline to shape the form of a toggle, text field etc. - - An engineering divider structuring content - - Engineering backgrounds/borders for tables, rows and columns ### Interactions - We use our brand colors to highlight interactive elements and their interaction states. `$ifxColorOcean500`: Default state - `$ifxColorOcean600`: Hover state - `$ifxColorOcean700`: Pressed state - `$ifxColorEngineering300`: Disabled state ### Signal information - As in many user interfaces we also use signal colors to convey information quickly and effectively to the user. `$ifxColorGreen500`: Used to indicate a successful action. - `$ifxColorOrange500`: To indicate a warning message. - `$ifxColorRed500`: To indicate an error message. The two shades `$ifxColorRed600` and `$ifxColorRed700` are used for destructive button states. ### Interactive infographics - -Sometimes it needs more colors to visualize complex infographics for example on dashboard user interfaces. In these cases we recommend to use these colors: - +Sometimes it needs more colors to visualize complex infographics for example on dashboard user interfaces. In these cases we recommend to use these colors: `$ifxColorOcean100`, `$ifxColorOcean200`, `$ifxColorOcean300`, `$ifxColorOcean400` `$ifxColorBerry400`, `$ifxColorBerry500` `$ifxColorLawn400`, `$ifxColorLawn500`, `$ifxColorLawn600` `$ifxColorSun400`, `$ifxColorSun500` `$ifxColorSand400`, `$ifxColorSand500` -Preferred color should be `$ifxColorOcean100`, `$ifxColorOcean200`, `$ifxColorOcean300`, `$ifxColorOcean400` for example for a 4-clustered pie chart. It is important to note that these colors are not intended for use in user interface components such as buttons, text, and background colors. +Preferred color should be: +`$ifxColorOcean100`, `$ifxColorOcean200`, `$ifxColorOcean300`, `$ifxColorOcean400` for example for a 4-clustered pie chart. It is important to note that these colors are not intended for use in user interface components such as buttons, text, and background colors. ## Accessibility diff --git a/packages/components/src/stories/foundations/Grid.mdx b/packages/components/src/stories/foundations/Grid.mdx index 8a85dee39a..be07344c74 100644 --- a/packages/components/src/stories/foundations/Grid.mdx +++ b/packages/components/src/stories/foundations/Grid.mdx @@ -53,4 +53,6 @@ The Full-Width Grid is designed for content that spans the full width of the scr | m | 1024 px | 1024 px | none | 12 | 16 px | | l | 1200 px | 1200 px | none | 12 | 24 px | -*** Check out the Figma Grid templates: **[Grid](https://www.figma.com/file/ndenZq9IIVHmCjTWS0MUGi/%23NewWeb---Components-%26-Modules?type=design&node-id=16-316&mode=design)** *** \ No newline at end of file +*** +Check out the Figma Grid templates: **[Grid](https://www.figma.com/file/ndenZq9IIVHmCjTWS0MUGi/%23NewWeb---Components-%26-Modules?type=design&node-id=16-316&mode=design)** +*** \ No newline at end of file diff --git a/packages/components/src/stories/foundations/Iconography.mdx b/packages/components/src/stories/foundations/Iconography.mdx index 24d242e6f9..27022555be 100644 --- a/packages/components/src/stories/foundations/Iconography.mdx +++ b/packages/components/src/stories/foundations/Iconography.mdx @@ -14,30 +14,28 @@ import { Meta } from '@storybook/addon-docs'; # Iconography -Icons play a crucial role in our design system, providing visual representation and enhancing user experiences. -We primarily utilize the Nucleo icon library for our icons, ensuring consistency and a wide range of options. +Icons play a crucial role in our design system, providing visual representation and enhancing user experiences. We primarily utilize the Nucleo icon library for our icons, ensuring consistency and a wide range of options. ## Usage ### When to use - - Icons can be used alongside text to aid navigation and improve usability. They can represent different sections, categories, or actions, making it easier for users to identify and interact with them. -- If you want to communicate actions, such as saving, deleting, editing, or sharing. -By utilizing recognizable icons, users can quickly understand the purpose or functionality associated with a specific action. +- If you want to communicate actions, such as saving, deleting, editing, or sharing. By utilizing recognizable icons, users can quickly understand the purpose or functionality associated with a specific action. ### When not to use - If an icon's meaning is unclear or open to interpretation, it is best to use descriptive text instead. Clarity and understanding should always take precedence over aesthetic considerations. - Avoid overcrowding interfaces with too many icons, as this can lead to visual clutter and confusion. Strive for a balanced composition that maintains a clean and intuitive design. -## Size -To ensure consistency and alignment, we utilize a 4px grid size for our icons. -This grid aligns with the overall design system and facilitates seamless integration into our interfaces. We have established four fixed icon sizes: 12×12px, 16×16px, and 24×24px. -Choose the appropriate size based on the context and surrounding elements. > Icons within our DDS components come with the right icon size out of the box! +## Size +To ensure consistency and alignment, we utilize a 4px grid size for our icons. This grid aligns with the overall design system and facilitates seamless integration into our interfaces. We have established four fixed icon sizes: 12×12px, 16×16px, and 24×24px. +Choose the appropriate size based on the context and surrounding elements. +> Icons within our DDS components come with the right icon size out of the box! Icon Sizes -## Structure All our icon sizes include the icon itself and the surrounding area. +## Structure +All our icon sizes include the icon itself and the surrounding area. Icon Structure @@ -51,7 +49,7 @@ The DDS provides two different kinds of icons: outlined and filled. ### Size alignment Try to pair specific typographic styles with corresponding icon sizes. -The body-03 and body-04 typographic style is well-suited for 16px icons, while larger typography, such as the heading-04, works best with 24px icons. +The `$ifxBodyBody03` and `$ifxBodyBody04` typographic style is well-suited for 16px icons, while larger typography, such as the `$ifxHeadingHeading04`, works best with 24px icons. Icon Size Alignment @@ -68,17 +66,20 @@ Icons should be aligned with the text color they accompany. Ensure that icons ad ## Color ### Dark font color -The black font color is the default color for icons. We use this color in most cases on `base-white` or `Cengineering-100` backgrounds. +The `$ifxColorBaseBlack` font color is the default color for icons. We use this color in most cases on `$ifxColorBaseWhite` or `$ifxColorEngineering100` backgrounds. Icon Text Color Dark ### White font color -We use the `base-white` color on dark backgrounds. +We use the `$ifxColorBaseWhite` color on dark backgrounds. Icon Text Color White ### Brand font color -We use our brand color `ocean-500` to highlight the content or actions connected with the icon. Use it on white or `engineering-100` backgrounds. +We use our brand color `$ifxColorOcean500` to highlight the content or actions connected with the icon. Use it on white or `$ifxColorEngineering100` backgrounds. -Icon Text Color Brand -*** Check out the Figma Icon Library: **[Icon Library](https://www.figma.com/file/yWwaLoqsWLWygDxXfvdym9/Infineon-DDS-%7C-Icons?type=design&node-id=6%3A6&mode=design&t=Zc0icFhkq4Jv0xSn-1)** *** \ No newline at end of file +Icon Text Color Brand + +*** +Check out the Figma Icon Library: **[Icon Library](https://www.figma.com/file/yWwaLoqsWLWygDxXfvdym9/Infineon-DDS-%7C-Icons?type=design&node-id=6%3A6&mode=design&t=Zc0icFhkq4Jv0xSn-1)** +*** \ No newline at end of file diff --git a/packages/components/src/stories/foundations/Logo.mdx b/packages/components/src/stories/foundations/Logo.mdx index 1c524105a8..ae574f72b8 100644 --- a/packages/components/src/stories/foundations/Logo.mdx +++ b/packages/components/src/stories/foundations/Logo.mdx @@ -10,7 +10,6 @@ The Logo serves as a visual representation of our brand identity. It is availabl ## Variants ### International - Our default logo variant. Logo Default @@ -19,4 +18,7 @@ The logo variant has two versions: portrait and landscape. These versions are specifically designed to suit different layouts and orientations while maintaining consistency and clarity. Logo Chinese -*** Check out the Figma component: **[Logo](https://www.figma.com/file/zPvPwPgb4EsYFXKC2nhzSG/Infineon-DDS-%7C-Main?type=design&node-id=134-0&mode=design)** *** \ No newline at end of file + +*** +Check out the Figma component: **[Logo](https://www.figma.com/file/zPvPwPgb4EsYFXKC2nhzSG/Infineon-DDS-%7C-Main?type=design&node-id=134-0&mode=design)** +*** \ No newline at end of file diff --git a/packages/components/src/stories/foundations/Spacing.mdx b/packages/components/src/stories/foundations/Spacing.mdx index 28bc06b4a3..a0b9d6e288 100644 --- a/packages/components/src/stories/foundations/Spacing.mdx +++ b/packages/components/src/stories/foundations/Spacing.mdx @@ -36,49 +36,37 @@ Each spacing element is defined as a token, which is a pre-determined value that | token | rem | px | example | |-------|-----|----|---------| -| #12 | 0.0625 | 1 | Spacing 1px | -| #25 | 0.125 | 2 | Spacing 2px | -| #50 | 0.25 | 4 | Spacing 4px | -| #100 |0.5 | 8 | Spacing 8px | -| #150 | 0.75 | 12 | Spacing 12px | -| #200 | 1 | 16 | Spacing 16px | -| #250 | 1.25 | 20 | Spacing 20px | -| #300 | 1.5 | 24 | Spacing 24px | -| #400 | 2 | 32 | Spacing 32px | -| #500 | 2.5 | 40 | Spacing 40px | -| #600 | 3 | 48 | Spacing 48px | -| #700 | 3,5 | 56 | Spacing 56px | -| #800 | 4 | 64 | Spacing 64px | -| #900 | 4,5 | 72 | Spacing 72px | -| #1000 | 5 | 80 | Spacing 80px | -| #1100 | 5.5 | 88 | Spacing 88px | -| #1200 | 6 | 96 | Spacing 96px | -| #1300 | 6,5 | 104 | Spacing 104px | -| #1400 | 7 | 112 | Spacing 112px | -| #1500 | 7,5 | 120 | Spacing 120px | -| #1600 | 8 | 128 | Spacing 128px | -| #2000 | 10 | 160 | Spacing 160px | -| #2500 | 12.5 | 200 | Spacing 200px | +| $ifxSpace12 | 0.0625 | 1 | Spacing 1px | +| $ifxSpace25 | 0.125 | 2 | Spacing 2px | +| $ifxSpace50 | 0.25 | 4 | Spacing 4px | +| $ifxSpace100 |0.5 | 8 | Spacing 8px | +| $ifxSpace150 | 0.75 | 12 | Spacing 12px | +| $ifxSpace200 | 1 | 16 | Spacing 16px | +| $ifxSpace250 | 1.25 | 20 | Spacing 20px | +| $ifxSpace300 | 1.5 | 24 | Spacing 24px | +| $ifxSpace400 | 2 | 32 | Spacing 32px | +| $ifxSpace500 | 2.5 | 40 | Spacing 40px | +| $ifxSpace600 | 3 | 48 | Spacing 48px | +| $ifxSpace700 | 3,5 | 56 | Spacing 56px | +| $ifxSpace800 | 4 | 64 | Spacing 64px | +| $ifxSpace900 | 4.5 | 72 | Spacing 72px | +| $ifxSpace1000 | 5 | 80 | Spacing 80px | +| $ifxSpace1100 | 5.5 | 88 | Spacing 88px | +| $ifxSpace1200 | 6 | 96 | Spacing 96px | +| $ifxSpace1300 | 6.5 | 104 | Spacing 104px | +| $ifxSpace1400 | 7 | 112 | Spacing 112px | +| $ifxSpace1500 | 7.5 | 120 | Spacing 120px | +| $ifxSpace1600 | 8 | 128 | Spacing 128px | +| $ifxSpace2000 | 10 | 160 | Spacing 160px | +| $ifxSpace2500 | 12.5 | 200 | Spacing 200px | ### Usage +When designing layouts, use these spacing tokens to ensure that spacing is consistent across different elements (e.g. paddings, margins, distance). It is recommended to balance the right amount of spacing according to the clear and minimalistic approach of our design principles. Too large distances can result in wasted space and a layout that looks too spread out while too small distances can result in cramped and cluttered layouts. -When designing layouts, use these spacing tokens to ensure that spacing is consistent across different elements (e.g. paddings, margins, distance). - -It is recommended to balance the right amount of spacing according to the clear and minimalistic approach of our design principles. - -Too large distances can result in wasted space and a layout that looks too spread out while too small distances can result in cramped and cluttered layouts. - -## Using space - -### Working with Whitespace +## Using space +### Working with whitespace Whitespace is an essential aspect of good design, and spacing is a key component of whitespace. The effective use of spacing creates a sense of balance and harmony in our designs. -### Creating Relationships - -Spacing plays an important role in creating relationships between different elements in our designs. - -When designing layouts, consider the spacing between elements as an opportunity to create visual relationships. For example, if you want to **group related elements** together, consider reducing the spacing between them. - -Conversely, if you want to create a clear **distinction between elements**, consider increasing the spacing between them. - +### Creating relationships +Spacing plays an important role in creating relationships between different elements in our designs. When designing layouts, consider the spacing between elements as an opportunity to create visual relationships. For example, if you want to **group related elements** together, consider reducing the spacing between them. Conversely, if you want to create a clear **distinction between elements**, consider increasing the spacing between them. \ No newline at end of file diff --git a/packages/components/src/stories/foundations/Typography.mdx b/packages/components/src/stories/foundations/Typography.mdx index 5f2843c71a..1516924e38 100644 --- a/packages/components/src/stories/foundations/Typography.mdx +++ b/packages/components/src/stories/foundations/Typography.mdx @@ -6,33 +6,31 @@ import TypographyFontWeightOverview from '../../../public-storybook/images/typog # Typography -We use our corporate font Source Sans 3 for all interfaces, that are build with the Infineon Digital Design System. Every instance of text should use a type style defined in this component. +We use our corporate font `Source Sans 3` for all interfaces, that are build with the Infineon Digital Design System. Every instance of text should use a type style defined in this component. ## Type scale and use -Set the **font-size to 100%** in the HTML Tag before applying the REM values. By doing so, we can ensure that users have always an optimal view by changing the default font-size in their browsers. +> Set the **font-size to 100%** in the HTML Tag before applying the REM values. By doing so, we can ensure that users have always an optimal view by changing the default font-size in their browsers. ### Display -Displays are the first headline of the website usually placed on a header image. +The `display` style is the first headline of the website usually placed on a header image. ### Heading -Headings are above a paragraph, topic section or picture. The text hierarchy should always be considered. Headings should always be clearly distinguishable from the paragraph. Headings should also be distributed across the page in a logical order and according to priority. To support many viewports all headings are available in large and small style. +The `heading` style is placed above a paragraph, topic section or picture. The text hierarchy should always be considered. Headings should always be clearly distinguishable from the paragraph. Headings should also be distributed across the page in a logical order and according to priority. ### Eyebrow -The eyebrow text style can add emphasis and hierarchy to a user interface. It's typically used for short, important messages that need to grab the user's attention. +The `eyebrow` text style can add emphasis and hierarchy to a user interface. It's typically used for short, important messages that need to grab the user's attention. ### Body -We have different Body styles for different purposes. For paragraphs it is recommended to use the Body 3, for less important text Body 4. To guide and create interest for the eye, we are able to use the font style “paragraph lead” to introduce a topic or “paragraph semibold” emphasize a section. - -For interactive elements such as buttons it is recommended to use Semibold text styles. +We have different `body` styles for different purposes. For paragraphs it is recommended to use the `$ifxBodyBody03`, for less important text `$ifxBodyBody04`. To guide and create interest for the eye, we are able to use the font style `$ifxBodyBody02` to introduce a topic or `$ifxBodyBodySemibold02` emphasize a section. For interactive elements such as buttons it is recommended to use `600` text styles. ## Weights -We utilize the Source Sans 3 typeface in both Regular and SemiBold weights. The Regular weight is ideal for body text and smaller headings, while the SemiBold weight can be used for larger headings or titles. Choosing the right font weight for each element in a user interface is essential for creating a visual hierarchy that guides users through the content. +We utilize the `source sans 3` typeface in both `400` and `600` weights. The `400` weight is ideal for `body` text and smaller headings, while the `600` weight can be used for larger headings or displays. Choosing the right font weight for each element in a user interface is essential for creating a visual hierarchy that guides users through the content. Typography Font Weight Overview @@ -62,14 +60,14 @@ Upper and lower casing in English is following the principle sentence case. This | $ifxEyebrowEyebrow01 | font-family: Source Sans 3
font-size: 1rem
font-weight: 600
line-height: 1.5rem
letter-spacing: -0.01em
| | $ifxEyebrowEyebrow02 | font-family: Source Sans 3
font-size: 0.8125rem
font-weight: 600
line-height: 1.25rem
letter-spacing: -0.01em
| | $ifxEyebrowEyebrow03 | font-family: Source Sans 3
font-size: 0.625rem
font-weight: 600
line-height: 0.8125rem
letter-spacing: -0.01em
| -| $ifxBodyBodyCompact06 | font-family: Source Sans 3
font-size: 1.375rem
font-weight: 400
line-height: 1.875rem
letter-spacing: 0em
| -| $ifxBodyBodyCompact06 | font-family: Source Sans 3
font-size: 1.125rem
font-weight: 400
line-height: 1.875rem
letter-spacing: 0em
| -| $ifxBodyBodyUnderline02 | font-family: Source Sans 3
font-size: 1.125rem
font-weight: 400
line-height: 1.875rem
letter-spacing: 0em text-decoration: underline
| -| $ifxBodyBodySemibold02 | font-family: Source Sans 3
font-size: 1.125rem
font-weight: 600
line-height: 1.875rem
letter-spacing: 0em text-decoration: underline
| -| $ifxBodyBodySemibold02 | font-family: Source Sans 3
font-size: 1rem
font-weight: 400
line-height: 1.5rem
letter-spacing: 0em
| +| $ifxBodyBody01 | font-family: Source Sans 3
font-size: 1.375rem
font-weight: 400
line-height: 1.875rem
letter-spacing: 0em
| +| $ifxBodyBody02 | font-family: Source Sans 3
font-size: 1.125rem
font-weight: 400
line-height: 1.625rem
letter-spacing: 0em
| +| $ifxBodyBodyUnderline02 | font-family: Source Sans 3
font-size: 1.125rem
font-weight: 400
line-height: 1.625rem
letter-spacing: 0em
text-decoration: underline
| +| $ifxBodyBodySemibold02 | font-family: Source Sans 3
font-size: 1.125rem
font-weight: 600
line-height: 1.625rem
letter-spacing: 0em
| +| $ifxBodyBody03 | font-family: Source Sans 3
font-size: 1rem
font-weight: 400
line-height: 1.5rem
letter-spacing: 0em
| | $ifxBodyBodySemibold03 | font-family: Source Sans 3
font-size: 1rem
font-weight: 600
line-height: 1.5rem
letter-spacing: 0em
| -| $ifxBodyBodyUnderline03 | font-family: Source Sans 3
font-size: 1rem
font-weight: 400
line-height: 1.5rem
letter-spacing: 0em text-decoration: underline
| -| $ifxBodyBodySemiboldUnderline03 | font-family: Source Sans 3
font-size: 1rem
font-weight: 600
line-height: 1.5rem
letter-spacing: 0em text-decoration: underline
| +| $ifxBodyBodyUnderline03 | font-family: Source Sans 3
font-size: 1rem
font-weight: 400
line-height: 1.5rem
letter-spacing: 0em
text-decoration: underline
| +| $ifxBodyBodySemiboldUnderline03 | font-family: Source Sans 3
font-size: 1rem
font-weight: 600
line-height: 1.5rem
letter-spacing: 0em
text-decoration: underline
| | $ifxBodyBody04 | font-family: Source Sans 3
font-size: 0.875rem
font-weight: 400
line-height: 1.25rem
letter-spacing: 0em
| | $ifxBodyBodySemibold04 | font-family: Source Sans 3
font-size: 0.875rem
font-weight: 600
line-height: 1.25rem
letter-spacing: 0em
| | $ifxBodyBodyUnderline04 | font-family: Source Sans 3
font-size: 0.875rem
font-weight: 400
line-height: 1.25rem
letter-spacing: 0em
text-decoration: underline | @@ -80,16 +78,8 @@ Upper and lower casing in English is following the principle sentence case. This ## Typestyle Naming Conventions -Typestyles have been updated with generic names (display, heading, eyebrow, body). - -That gives the designer the freedom of choice to find the right font style for his design needs. +Typestyles have been updated with generic names (`display`, `heading`, `eyebrow`, `body`). That gives the designer the freedom of choice to find the right font style for his design needs. ## Typestyle Color -The default text color is `black`. - -For Interactive text elements (e.g. Links) we use `ocean-500`. - -Disabled interactive texts use `engineering-300` except some cases, where text is used on an colored background (Text Field). - -In context of notifications, we use the text color `red-500` for Error messages (e.g. captions beneath Text Fields), `orange-500` for Warnings and `green-500` for success. +The default text color is `black`. For Interactive text elements (e.g. Links) we use `ocean-500`. Disabled interactive texts use `engineering-300` except some cases, where text is used on an colored background (Text Field). In context of notifications, we use the text color `red-500` for error messages (e.g. captions beneath text fields), `orange-500` for warnings and `green-500` for success.