Skip to content

Commit

Permalink
Force black text on quasar dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
joemarct committed Apr 6, 2022
1 parent df5c0e2 commit defe4b1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/asset-swap/HopCashSwapWait.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>
</div>

<q-card class="q-mt-sm">
<q-card class="q-mt-sm pp-text">
<q-card-section>
<q-banner class="bg-grey-3 rounded-borders q-mb-sm pp-text">
<template v-slot:avatar>
Expand Down
3 changes: 2 additions & 1 deletion src/components/collectibles/AddERC721AssetFormDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export default {
alertTokenAdded (token) {
this.$q.dialog({
title: 'Token added',
message: `Added token ${token.name} with address: ${token.address}`
message: `Added token ${token.name} with address: ${token.address}`,
class: 'pp-text'
}).onDismiss(() => {
this.val = false
})
Expand Down
6 changes: 4 additions & 2 deletions src/pages/apps/asset-swap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export default {
this.$q.dialog({
title: 'Swap update',
message: message
message: message,
class: 'pp-text'
})
this.waitInfo = info
},
Expand All @@ -84,7 +85,8 @@ export default {
title: 'Leaving page',
message: 'Leaving the page may result in being unable to view progress. Leave page?',
cancel: true,
persistent: true
persistent: true,
class: 'pp-text'
}).onOk(() => {
next()
})
Expand Down
3 changes: 2 additions & 1 deletion src/pages/apps/collectibles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ export default {
title: title,
message: message,
cancel: true,
persistent: true
persistent: true,
class: 'pp-text'
}).onOk(() => {
console.log('removing asset', asset)
const commitName = 'sep20/removeNftAsset'
Expand Down
2 changes: 1 addition & 1 deletion src/pages/transaction/dialog/RemoveAsset.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<q-dialog ref="dialog" @hide="onDialogHide" :persistent="true" seamless>
<q-card class="q-dialog-plugin">
<q-card class="q-dialog-plugin pp-text">

<q-card-section class="pt-label">
<strong>Confirmation</strong>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/transaction/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ export default {
]
},
cancel: true,
persistent: true
persistent: true,
class: 'pp-text'
}).onOk(data => {
this.changeNetwork(data)
})
Expand Down Expand Up @@ -671,7 +672,6 @@ export default {
},
async mounted () {
console.log(this)
const vm = this
if (Array.isArray(vm.assets) && this.assets.length > 0) {
vm.selectedAsset = vm.assets[0]
Expand Down

0 comments on commit defe4b1

Please sign in to comment.