Skip to content

Commit da405bf

Browse files
committed
change default font size to lg
1 parent 18f20a6 commit da405bf

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

packages/eds-core-react/src/components/Typography/BodyText/BodyText.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const meta: Meta<typeof BodyText> = {
99
title: 'Typography/BodyText',
1010
component: BodyText,
1111
args: {
12-
size: 'md',
12+
size: 'lg',
1313
},
1414
argTypes: {
1515
as: {

packages/eds-core-react/src/components/Typography/BodyText/BodyText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const INTER_VERTICAL_OFFSET = 0.002
99
export const BodyText: OverridableComponent<BodyTextProps, HTMLElement> =
1010
forwardRef(function BodyText(
1111
{
12-
size = 'md',
12+
size = 'lg',
1313
lineHeight = 'default',
1414
fontWeight = 'normal',
1515
letterSpacing = 'normal',

packages/eds-core-react/src/components/Typography/Heading/Heading.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const meta: Meta<typeof Heading> = {
88
title: 'Typography/Heading',
99
component: Heading,
1010
args: {
11-
size: 'md',
11+
size: 'lg',
1212
as: 'h2',
1313
},
1414
argTypes: {

packages/eds-core-react/src/components/Typography/Heading/Heading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const EQUINOR_VERTICAL_OFFSET = 0.06
1313
export const Heading: OverridableComponent<HeadingProps, HTMLElement> =
1414
forwardRef(function Heading(
1515
{
16-
size = 'md',
16+
size = 'lg',
1717
lineHeight = 'default',
1818
fontWeight = 'normal',
1919
letterSpacing = 'normal',

packages/eds-core-react/src/components/Typography/UIText/UIText.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ const meta: Meta<typeof UIText> = {
88
title: 'Typography/UIText',
99
component: UIText,
1010
args: {
11-
size: 'md',
11+
size: 'lg',
1212
},
1313
argTypes: {
1414
as: {
15-
options: ['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
15+
options: ['p', 'span', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
1616
control: {
1717
type: 'select',
1818
},

packages/eds-core-react/src/components/Typography/UIText/UIText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type UITextProps = TypographyProps & {
1313
export const UIText: OverridableComponent<UITextProps, HTMLElement> =
1414
forwardRef(function UIText(
1515
{
16-
size = 'md',
16+
size = 'lg',
1717
lineHeight = 'default',
1818
fontWeight = 'normal',
1919
letterSpacing = 'normal',

0 commit comments

Comments
 (0)