Skip to content

Commit

Permalink
chore[DST-29]: headline styles b2b theme (#3149)
Browse files Browse the repository at this point in the history
* headline styles b2b

* remove log

* .
  • Loading branch information
sarahgm authored Jul 18, 2023
1 parent 94c0a5f commit d83db63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
6 changes: 1 addition & 5 deletions packages/components/src/Headline/Headline.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,5 @@ export default meta;
type Story = StoryObj<typeof meta>;

export const Basic: Story = {
render: args => (
<Headline color="red-300" {...args}>
This is a Headline!!
</Headline>
),
render: args => <Headline {...args}>This is a Headline!!</Headline>,
};
12 changes: 6 additions & 6 deletions themes/theme-b2b/src/components/Headline.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { ThemeComponent, cva } from '@marigold/system';
export const Headline: ThemeComponent<'Headline'> = cva('', {
variants: {
size: {
'level-1': 'text-2xl',
'level-2': 'text-base',
'level-3': 'text-sm',
'level-4': 'text-[1.125rem]',
'level-5': 'text-xs',
'level-6': 'text-xs uppercase',
'level-1': 'mb-6 text-5xl font-black',
'level-2': 'mb-2 mt-8 text-2xl font-black',
'level-3': 'mb-2 mt-4 text-2xl font-black',
'level-4': 'text-lg font-black',
'level-5': 'text-base font-black',
'level-6': 'text-base font-normal uppercase',
},
},
});

2 comments on commit d83db63

@vercel
Copy link

@vercel vercel bot commented on d83db63 Jul 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marigold-storybook – ./

marigold-storybook-git-main-marigold.vercel.app
marigold-storybook-marigold.vercel.app
marigold-latest.vercel.app

@vercel
Copy link

@vercel vercel bot commented on d83db63 Jul 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

marigold-docs – ./

marigold-docs-git-main-marigold.vercel.app
marigold-docs-marigold.vercel.app
marigold-docs.vercel.app

Please sign in to comment.