From 3f3a56b28285f9f357cad1ea0bfea2358d5e01d4 Mon Sep 17 00:00:00 2001 From: Halvor Haugan Date: Mon, 5 Aug 2024 09:25:25 +0200 Subject: [PATCH] stories adjustments --- .../src/typography/stories/font.stories.tsx | 39 +++++++------------ 1 file changed, 13 insertions(+), 26 deletions(-) diff --git a/@navikt/core/react/src/typography/stories/font.stories.tsx b/@navikt/core/react/src/typography/stories/font.stories.tsx index 61d4f62c78..c8cc4c1669 100644 --- a/@navikt/core/react/src/typography/stories/font.stories.tsx +++ b/@navikt/core/react/src/typography/stories/font.stories.tsx @@ -118,6 +118,9 @@ export const Cyrillic: Story = { cyrillic: true, showDefault: false, }, + parameters: { + chromatic: { disable: true }, + }, }; export const Samisk: Story = { @@ -127,6 +130,9 @@ export const Samisk: Story = { samisk: true, showDefault: false, }, + parameters: { + chromatic: { disable: true }, + }, }; export const Mixed: Story = { @@ -136,15 +142,15 @@ export const Mixed: Story = { showDefault: false, mixed: true, }, + parameters: { + chromatic: { disable: true }, + }, }; export const FontWeight: Story = { render: () => { return ( <> - {fontWeights.map((weight) => ( - - ))} {fontWeights.map((weight) => ( <>

{weight}

@@ -164,29 +170,10 @@ export const FontFamily: Story = { render: (args) => { return ( <> - - - -

Pro

- -

3

- +

Source Sans Pro

+ +

Source Sans 3

+ ); },