Skip to content

Commit

Permalink
feat(ui): TooltipBox
Browse files Browse the repository at this point in the history
  • Loading branch information
uonr committed Jan 2, 2025
1 parent 0c522a5 commit c3ef5d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/TooltipBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const TooltipBox = forwardRef<HTMLDivElement, Props>(
ref={ref}
className={
defaultStyle
? 'TooltipBox bg-tooltip-bg text-tooltip-text shadow-tooltip-shadow/50 rounded-sm px-2 py-1 text-sm shadow-[1px_2px_0_0]'
? 'TooltipBox border-tooltip-border bg-tooltip-bg text-tooltip-text shadow-tooltip-shadow/50 rounded-sm border px-2 py-1 text-sm shadow-[3px_4px_0_0]'
: className
}
{...props}
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ const makeTheme = (name: 'dark' | 'light'): Config['theme'] => {
border: $(neutral[500], black),
},
tooltip: {
bg: $(black, neutral[600]),
bg: $(neutral[600], neutral[600]),
border: black,
text: white,
shadow: $(neutral[500], black),
},
Expand Down

0 comments on commit c3ef5d4

Please sign in to comment.