Skip to content

Commit

Permalink
fix the css some more
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaomiDEV committed Aug 14, 2024
1 parent 0d66e69 commit 3727465
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/lib/theme/components/cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,20 @@
.md.md3 ion-card :not(ion-avatar)>img {
border-bottom-right-radius: 12px;
border-bottom-left-radius: 12px;
}

.ios-md3 ion-card,
.ios.md3 ion-card.elevated {
--background: rgb(var(--md3-surface-container-low));
--color: rgb(var(--md3-on-surface));
}

.ios.md3 ion-card.filled {
--background: rgb(var(--md3-surface-container-highest));
}

.ios.md3 ion-card.outlined {
--background: rgb(var(--md3-surface));
outline: 1px solid rgb(var(--md3-outline));
box-shadow: none;
}
8 changes: 8 additions & 0 deletions src/views/options/MessageBoard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,12 @@
--background: var(--ion-toolbar-background);
}
.ios ion-item-divider {
background-color: transparent;
}
.ios ion-list {
background-color: transparent;
}
</style>

0 comments on commit 3727465

Please sign in to comment.