Skip to content

Commit

Permalink
headerbar tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed Aug 5, 2024
1 parent 6c458bd commit 4aaf56a
Showing 1 changed file with 32 additions and 3 deletions.
35 changes: 32 additions & 3 deletions src/lib/theme/components.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,36 @@
/* Headerbar */
.md3 ion-header.md {
box-shadow: unset;
-webkit-box-shadow: unset;
.md3 ion-toolbar {
--min-height: 64px;
--padding-start: 16px;
--padding-end: 16px;
}

.md3 ion-toolbar *[slot=start] {
color: var(--md3-shade-10);
}

.ion-palette-dark.md3 ion-toolbar *[slot=start] {
color: var(--md3-shade-90);
}

.md3 ion-toolbar *[slot=end] {
color: var(--md3-shade-30);
}

.ion-palette-dark.md3 ion-toolbar *[slot=end] {
color: var(--md3-shade-80);
}

.md3 ion-header {
box-shadow: 0px 2px 4px -1px rgb(var(--md3-light-shadow) / 0.2),
0px 4px 5px 0px rgb(var(--md3-light-shadow) / 0.14),
0px 1px 10px 0px rgb(var(--md3-light-shadow) / 0.12);
}

.ion-palette-dark.md3 ion-header {
box-shadow: 0px 2px 4px -1px rgb(var(--md3-dark-shadow) / 0.2),
0px 4px 5px 0px rgb(var(--md3-dark-shadow) / 0.14),
0px 1px 10px 0px rgb(var(--md3-dark-shadow) / 0.12);
}

/* FAB */
Expand Down

0 comments on commit 4aaf56a

Please sign in to comment.