Skip to content

Commit

Permalink
bugfix: dark mode x and padding
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengow committed Oct 18, 2022
1 parent 16b9777 commit db6ec25
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
3 changes: 3 additions & 0 deletions components/common/WalletModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ export default class WalletModal extends mixins(UseApiMixin, ChainMixin) {
.modal-card-body {
padding: 0;
background-color: unset;
&.py-6 {
padding-left: 1rem;
}
}
.modal-card-head {
Expand Down
17 changes: 13 additions & 4 deletions styles/themes/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,31 @@ html.dark-mode {
.wallet .buttons {
button {
background: $background-dark;
border: 1px solid #ffffff;
border: 1px solid $white;
}
.button {
background: $background-dark;
border: 1px solid #ffffff;
border: 1px solid $white;
border-radius: unset;
}
}
.modal-card-bg {
background: #ffffff;
background: $white;
}
.modal-card-head {
background: $background-dark;
.delete {
background: none;
&::before {
background-color: $white
}
&::after {
background-color: $white
}
}
}
.wallet-name {
background: #ffffff !important;
background: $white !important;
.is-white {
color: $background-dark !important;
}
Expand Down

0 comments on commit db6ec25

Please sign in to comment.