Skip to content

Commit

Permalink
docs-menu-styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald committed Jul 23, 2023
1 parent 63d4315 commit 9d274b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/theme/components/Menu.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { ThemeComponent, cva } from '@marigold/system';

export const Menu: ThemeComponent<'Menu'> = {
container: cva([
'overflow-y-auto overflow-x-hidden rounded-sm border border-solid bg-white ',
'border-border overflow-hidden rounded-md border bg-white px-1 py-1.5 text-sm shadow-md',
'sm:max-h-[45vh] md:max-h-[75vh] lg:max-h-[75vh]',
]),
item: cva('hover:bg-bg-hover cursor-pointer px-2 py-1 outline-none'),
item: cva('hover:bg-bg-hover cursor-pointer p-2 outline-none'),
section: cva(''),
};
2 changes: 1 addition & 1 deletion docs/theme/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ export const colors = {
// Border
// ---------------
border: {
DEFAULT: tw.slate[900],
DEFAULT: tw.slate[300],
},
};

0 comments on commit 9d274b7

Please sign in to comment.