diff --git a/packages/app/src/components/headers/header-toggle-button.tsx b/packages/app/src/components/headers/header-toggle-button.tsx index 764e0de2e..cf07a2fe0 100644 --- a/packages/app/src/components/headers/header-toggle-button.tsx +++ b/packages/app/src/components/headers/header-toggle-button.tsx @@ -45,7 +45,7 @@ export function HeaderToggleButton({ {tooltipLabel} - + @@ -73,7 +73,4 @@ const styles = StyleSheet.create((theme) => ({ backgroundColor: theme.colors.surface3, borderColor: theme.colors.borderAccent, }, - shortcutText: { - color: theme.colors.popoverForeground, - }, })); diff --git a/packages/app/src/components/message.tsx b/packages/app/src/components/message.tsx index add118136..8dd629afb 100644 --- a/packages/app/src/components/message.tsx +++ b/packages/app/src/components/message.tsx @@ -327,8 +327,8 @@ const expandableBadgeStylesheet = StyleSheet.create((theme) => ({ pressable: { borderRadius: theme.borderRadius.lg, borderWidth: theme.borderWidth[1], - borderColor: theme.colors.borderAccent, - backgroundColor: theme.colors.surface2, + borderColor: theme.colors.border, + backgroundColor: theme.colors.surface1, paddingHorizontal: theme.spacing[2], paddingVertical: theme.spacing[1], }, @@ -350,6 +350,7 @@ const expandableBadgeStylesheet = StyleSheet.create((theme) => ({ }, label: { color: theme.colors.foreground, + opacity: 0.88, fontSize: theme.fontSize.base, fontWeight: theme.fontWeight.normal, flexShrink: 0, @@ -373,7 +374,7 @@ const expandableBadgeStylesheet = StyleSheet.create((theme) => ({ borderBottomRightRadius: theme.borderRadius.lg, borderWidth: theme.borderWidth[1], borderTopWidth: 0, - borderColor: theme.colors.borderAccent, + borderColor: theme.colors.border, backgroundColor: theme.colors.surface1, padding: 0, gap: 0, @@ -986,32 +987,34 @@ const ExpandableBadge = memo(function ExpandableBadge({ isExpanded && expandableBadgeStylesheet.pressableExpanded, ]} > - - {iconNode} - - {label} - - {secondaryLabel ? ( - - {secondaryLabel} + {({ hovered }) => ( + + {iconNode} + + {label} - ) : ( - - )} - {hasDetails ? ( - - ) : null} - + {secondaryLabel ? ( + + {secondaryLabel} + + ) : ( + + )} + {hasDetails && hovered ? ( + + ) : null} + + )} {detailContent ? ( diff --git a/packages/app/src/components/ui/shortcut.tsx b/packages/app/src/components/ui/shortcut.tsx index 292895506..60097f763 100644 --- a/packages/app/src/components/ui/shortcut.tsx +++ b/packages/app/src/components/ui/shortcut.tsx @@ -24,14 +24,14 @@ const styles = StyleSheet.create((theme) => ({ root: { paddingHorizontal: theme.spacing[1], paddingVertical: 2, - borderRadius: theme.borderRadius.sm, + borderRadius: theme.borderRadius.md, backgroundColor: theme.colors.surface2, borderWidth: theme.borderWidth[1], borderColor: theme.colors.borderAccent, }, text: { fontSize: theme.fontSize.xs, - fontWeight: theme.fontWeight.medium, - color: theme.colors.foreground, + fontWeight: theme.fontWeight.normal, + color: theme.colors.foregroundMuted, }, })); diff --git a/packages/app/src/components/ui/tooltip.tsx b/packages/app/src/components/ui/tooltip.tsx index a6c4c08dd..f4aa1c274 100644 --- a/packages/app/src/components/ui/tooltip.tsx +++ b/packages/app/src/components/ui/tooltip.tsx @@ -463,7 +463,7 @@ const styles = StyleSheet.create((theme) => ({ content: { paddingVertical: theme.spacing[1], paddingHorizontal: theme.spacing[2], - borderRadius: theme.borderRadius.md, + borderRadius: theme.borderRadius.lg, backgroundColor: theme.colors.popover, borderWidth: theme.borderWidth[1], borderColor: theme.colors.border,