diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/naming-conventions.mdx b/packages/dnb-design-system-portal/src/docs/quickguide-designer/naming-conventions.mdx index 95bd8f29054..789d25450ad 100644 --- a/packages/dnb-design-system-portal/src/docs/quickguide-designer/naming-conventions.mdx +++ b/packages/dnb-design-system-portal/src/docs/quickguide-designer/naming-conventions.mdx @@ -36,7 +36,7 @@ The same can apply to components such as cards, form rows, etc. Responsive break Eufemia for the web uses a simple naming system: -
Color name + percentage
+Color name + percentage Depending on where the color will be used, its name formation will be different. For example, in Figma (and other design tools), the name is constructed thus: @@ -44,11 +44,11 @@ The color name is written with spaces between words. The first word starts with Example: -
Fire red 8%
+Fire red 8% Whereas in CSS as a custom property this is written: -
--color-fire-red-8
+--color-fire-red-8 Colors have a naming convention across all platforms and formats. Please refer to the table in [colors section](/quickguide-designer/colors). @@ -62,16 +62,16 @@ However, to maintain consistency, in Figma we name Pages and Frames (canvases) w Example of a Figma Page name: -
04 Spacing & Common components
+04 Spacing & Common components Example of a Figma Frame name: -
02 Spacing components - horizontal
+02 Spacing components - horizontal Actual components are written with all small letters. Example of a Figma component name: -
date picker
+date picker If in doubt, look at the main Eufemia file - [Eufemia - Web](https://www.figma.com/file/cdtwQD8IJ7pTeE45U148r1/Eufemia-Web?node-id=530%3A49). diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-families.mdx b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-families.mdx index 5218a9826bb..7f23a6795aa 100644 --- a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-families.mdx +++ b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-families.mdx @@ -1,4 +1,4 @@ -import { H2, H3 } from '@dnb/eufemia/src' +import { H3 } from '@dnb/eufemia/src' ## Font Families @@ -60,13 +60,13 @@ The default font family for all web applications is `Roboto`, however for headli ### Maison Neue -
+

This is a headline in Maison Neue

-
+ ### Roboto regular -
+

Here is a paragraph with some nonsense lipsum text. Contrary to popular belief, Lorem Ipsum passage, and going through the cites of the word in @@ -74,11 +74,11 @@ The default font family for all web applications is `Roboto`, however for headli comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC.

-
+ ### Roboto bold -
+

Here is a paragraph with some nonsense lipsum text. Contrary to popular belief, Lorem Ipsum passage, and going through the cites of the word in @@ -86,6 +86,6 @@ The default font family for all web applications is `Roboto`, however for headli comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC.

-
+
diff --git a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-weights.mdx b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-weights.mdx index fe510d58a6b..656e1eca38e 100644 --- a/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-weights.mdx +++ b/packages/dnb-design-system-portal/src/docs/quickguide-designer/typography/font-weights.mdx @@ -7,7 +7,7 @@ Achieved with HTML classes: `.dnb-typo-regular`,