Skip to content

Commit

Permalink
fix: add forgotten Divider new styling to docs theme (#2028)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti10le authored Apr 25, 2022
1 parent 4999b1e commit 37d3cf4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 10 deletions.
10 changes: 0 additions & 10 deletions docs/src/theme/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,6 @@ export const component = {
...button.select,
},
},
divider: {
do: {
height: '8px',
bg: 'green60',
},
dont: {
height: '8px',
bg: 'red60',
},
},
navigation: {
wrapper: {
fontFamily: 'body',
Expand Down
22 changes: 22 additions & 0 deletions docs/src/theme/components/Divider.style.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { Theme } from '@marigold/components';

export const Divider: Theme['components']['Divider'] = {
base: {
width: '100%',
height: '1px',
bg: 'text',
},
variant: {
bold: {
height: '2px',
},
do: {
height: '8px',
bg: 'green60',
},
dont: {
height: '8px',
bg: 'red60',
},
},
};
1 change: 1 addition & 0 deletions docs/src/theme/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './Button.style';
export * from './Card.style';
export * from './Divider.style';
export * from './Headline.style';
export * from './Link.style';
export * from './Text.style';

0 comments on commit 37d3cf4

Please sign in to comment.