feat: clear bg-base-content
This commit is contained in:
parent
1d045b3cd4
commit
7139b76606
@ -27,7 +27,7 @@ const addFavor = (e: Event) => {
|
|||||||
<template>
|
<template>
|
||||||
<RouterLink
|
<RouterLink
|
||||||
:to="`/${name}`"
|
:to="`/${name}`"
|
||||||
class="bg-base-100 hover:bg-base-content rounded shadow flex items-center px-3 py-3 cursor-pointer"
|
class="bg-base-100 hover:bg-gray-100 dark:hover:bg-[#373f59] rounded shadow flex items-center px-3 py-3 cursor-pointer"
|
||||||
>
|
>
|
||||||
<div class="w-8 h-8 rounded-full overflow-hidden">
|
<div class="w-8 h-8 rounded-full overflow-hidden">
|
||||||
<img :src="conf.logo" />
|
<img :src="conf.logo" />
|
||||||
|
@ -247,7 +247,7 @@ const color = computed(() => {
|
|||||||
<div
|
<div
|
||||||
class="grid grid-cols-1 md:grid-cols-4 auto-cols-auto gap-4 px-4 pb-6"
|
class="grid grid-cols-1 md:grid-cols-4 auto-cols-auto gap-4 px-4 pb-6"
|
||||||
>
|
>
|
||||||
<div class="bg-gray-100 dark:bg-base-content rounded-sm px-4 py-3">
|
<div class="bg-gray-100 dark:bg-[#373f59] rounded-sm px-4 py-3">
|
||||||
<div class="text-sm mb-1">Balance</div>
|
<div class="text-sm mb-1">Balance</div>
|
||||||
<div class="text-lg font-semibold text-main">
|
<div class="text-lg font-semibold text-main">
|
||||||
{{ format.formatToken(walletStore.balanceOfStakingToken) }}
|
{{ format.formatToken(walletStore.balanceOfStakingToken) }}
|
||||||
@ -261,7 +261,7 @@ const color = computed(() => {
|
|||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-gray-100 dark:bg-base-content rounded-sm px-4 py-3">
|
<div class="bg-gray-100 dark:bg-[#373f59] rounded-sm px-4 py-3">
|
||||||
<div class="text-sm mb-1">Staking</div>
|
<div class="text-sm mb-1">Staking</div>
|
||||||
<div class="text-lg font-semibold text-main">
|
<div class="text-lg font-semibold text-main">
|
||||||
{{ format.formatToken(walletStore.stakingAmount) }}
|
{{ format.formatToken(walletStore.stakingAmount) }}
|
||||||
@ -270,7 +270,7 @@ const color = computed(() => {
|
|||||||
{{ format.tokenValue(walletStore.stakingAmount) }}
|
{{ format.tokenValue(walletStore.stakingAmount) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-gray-100 dark:bg-base-content rounded-sm px-4 py-3">
|
<div class="bg-gray-100 dark:bg-[#373f59] rounded-sm px-4 py-3">
|
||||||
<div class="text-sm mb-1">Reward</div>
|
<div class="text-sm mb-1">Reward</div>
|
||||||
<div class="text-lg font-semibold text-main">
|
<div class="text-lg font-semibold text-main">
|
||||||
{{ format.formatToken(walletStore.rewardAmount) }}
|
{{ format.formatToken(walletStore.rewardAmount) }}
|
||||||
@ -279,7 +279,7 @@ const color = computed(() => {
|
|||||||
{{ format.tokenValue(walletStore.rewardAmount) }}
|
{{ format.tokenValue(walletStore.rewardAmount) }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bg-gray-100 dark:bg-base-content rounded-sm px-4 py-3">
|
<div class="bg-gray-100 dark:bg-[#373f59] rounded-sm px-4 py-3">
|
||||||
<div class="text-sm mb-1">Unbonding</div>
|
<div class="text-sm mb-1">Unbonding</div>
|
||||||
<div class="text-lg font-semibold text-main">
|
<div class="text-lg font-semibold text-main">
|
||||||
{{ format.formatToken(walletStore.unbondingAmount) }}
|
{{ format.formatToken(walletStore.unbondingAmount) }}
|
||||||
|
@ -45,7 +45,7 @@ function changeLang(lang: string){
|
|||||||
>
|
>
|
||||||
<li v-for="lang in props.languages" :key="lang.i18nLang">
|
<li v-for="lang in props.languages" :key="lang.i18nLang">
|
||||||
<a
|
<a
|
||||||
class="hover:bg-base-content"
|
class="hover:bg-gray-100 dark:hover:bg-[#373f59]"
|
||||||
:class="{ 'text-primary': currentLang === lang.i18nLang }"
|
:class="{ 'text-primary': currentLang === lang.i18nLang }"
|
||||||
@click="changeLang(lang.i18nLang)"
|
@click="changeLang(lang.i18nLang)"
|
||||||
>{{ lang.label }}</a
|
>{{ lang.label }}</a
|
||||||
|
@ -22,7 +22,6 @@ module.exports = {
|
|||||||
light: {
|
light: {
|
||||||
...require('daisyui/src/colors/themes')['[data-theme=light]'],
|
...require('daisyui/src/colors/themes')['[data-theme=light]'],
|
||||||
primary: '#666cff',
|
primary: '#666cff',
|
||||||
'base-content': '#e9eaeb',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -30,7 +29,6 @@ module.exports = {
|
|||||||
...require('daisyui/src/colors/themes')['[data-theme=dark]'],
|
...require('daisyui/src/colors/themes')['[data-theme=dark]'],
|
||||||
primary: '#666cff',
|
primary: '#666cff',
|
||||||
'base-100': '#2a334c',
|
'base-100': '#2a334c',
|
||||||
'base-content': '#373f57',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user