Skip to content

Commit

Permalink
add it for other themes ups
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahgm committed Dec 13, 2022
1 parent 4aeb3c2 commit 7e9f00a
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 2 deletions.
9 changes: 9 additions & 0 deletions themes/theme-core/src/components/Tray.style.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Theme } from '@marigold/components';

export const Tray: Theme['components']['Tray'] = {
base: {
position: 'absolute',
width: '100%',
bottom: 0,
},
};
4 changes: 2 additions & 2 deletions themes/theme-core/src/components/Underlay.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export const Underlay: Theme['components']['Underlay'] = {
base: {},
variant: {
modal: {
bg: 'gray70',
opacity: 0.33,
bg: 'rgba(206, 212, 218, 0.5)',
backdropFilter: 'blur(1px)',
},
},
};
1 change: 1 addition & 0 deletions themes/theme-core/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ export * from './Switch.style';
export * from './Table.style';
export * from './Text.style';
export * from './TextArea.style';
export * from './Tray.style';
export * from './Underlay.style';
9 changes: 9 additions & 0 deletions themes/theme-unicorn/src/components/Tray.style.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Theme } from '@marigold/components';

export const Tray: Theme['components']['Tray'] = {
base: {
position: 'absolute',
width: '100%',
bottom: 0,
},
};
1 change: 1 addition & 0 deletions themes/theme-unicorn/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ export * from './Table.style';
export * from './Text.style';
export * from './TextArea.style';
export * from './Tooltip.style';
export * from './Tray.style';
export * from './Underlay.style';

0 comments on commit 7e9f00a

Please sign in to comment.