Skip to content

Commit

Permalink
fix: darken ui header
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Mar 5, 2024
1 parent 07d1c79 commit d044402
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/lib/ui-header/ui-header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
font-weight: 500;

@mixin hover {
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
}
}
.linkActive {
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-8));
color: light-dark(var(--mantine-color-brand-6), var(--mantine-color-brand-4));
}
2 changes: 1 addition & 1 deletion packages/core/src/lib/ui-theme-switch/ui-theme-switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function UiThemeSwitch(props: SwitchProps) {
return (
<Switch
size="lg"
color={'dark.6'}
color="dark.8"
onLabel={sunIcon}
offLabel={moonIcon}
onChange={() => toggleColorScheme()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
font-weight: 500;

@mixin hover {
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-7));
}
}
.linkActive {
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-8));
color: light-dark(var(--mantine-color-brand-6), var(--mantine-color-brand-4));
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function <%= prefix.className %>ThemeSwitch(props: SwitchProps) {
return (
<Switch
size="lg"
color={'dark.6'}
color="dark.8"
onLabel={sunIcon}
offLabel={moonIcon}
onChange={() => toggleColorScheme()}
Expand Down

0 comments on commit d044402

Please sign in to comment.