Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/miners/MinerLeaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ const MinerLeaderboard: React.FC<{
hover
sx={{
cursor: 'pointer',
'&:hover td': { backgroundColor: 'surface.elevated' },
'&:hover td': { backgroundColor: 'action.hover' },
'&:focus-visible': {
outline: `2px solid ${theme.palette.primary.main}`,
outlineOffset: -2,
Expand Down
10 changes: 9 additions & 1 deletion src/theme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createTheme, Theme } from '@mui/material/styles';
import { alpha, createTheme, Theme } from '@mui/material/styles';

// Font constants (shared across all themes)
export const FONTS = {
Expand Down Expand Up @@ -144,6 +144,14 @@ export function createAppTheme(mode: ThemeMode): Theme {
secondary: p.textSecondary,
},
divider: p.border,
// MUI's default light-mode hover (4% black) is too faint over our white
// card surfaces, so bump it to 6%. Dark mode keeps the 8% white default.
action: {
hover:
mode === 'light'
? alpha(BRAND.woodsmoke, 0.06)
: alpha(BRAND.white, 0.08),
},
border: {
subtle: p.border,
light: p.borderLight,
Expand Down
Loading