feat: clear bg-base-content

This commit is contained in:
Alisa | Side.one 2023-05-11 17:22:15 +08:00
parent 1d045b3cd4
commit 7139b76606
4 changed files with 6 additions and 8 deletions

View File

@ -27,7 +27,7 @@ const addFavor = (e: Event) => {
<template>
<RouterLink
: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">
<img :src="conf.logo" />

View File

@ -247,7 +247,7 @@ const color = computed(() => {
<div
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-lg font-semibold text-main">
{{ format.formatToken(walletStore.balanceOfStakingToken) }}
@ -261,7 +261,7 @@ const color = computed(() => {
}}</span>
</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-lg font-semibold text-main">
{{ format.formatToken(walletStore.stakingAmount) }}
@ -270,7 +270,7 @@ const color = computed(() => {
{{ format.tokenValue(walletStore.stakingAmount) }}
</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-lg font-semibold text-main">
{{ format.formatToken(walletStore.rewardAmount) }}
@ -279,7 +279,7 @@ const color = computed(() => {
{{ format.tokenValue(walletStore.rewardAmount) }}
</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-lg font-semibold text-main">
{{ format.formatToken(walletStore.unbondingAmount) }}

View File

@ -45,7 +45,7 @@ function changeLang(lang: string){
>
<li v-for="lang in props.languages" :key="lang.i18nLang">
<a
class="hover:bg-base-content"
class="hover:bg-gray-100 dark:hover:bg-[#373f59]"
:class="{ 'text-primary': currentLang === lang.i18nLang }"
@click="changeLang(lang.i18nLang)"
>{{ lang.label }}</a

View File

@ -22,7 +22,6 @@ module.exports = {
light: {
...require('daisyui/src/colors/themes')['[data-theme=light]'],
primary: '#666cff',
'base-content': '#e9eaeb',
},
},
{
@ -30,7 +29,6 @@ module.exports = {
...require('daisyui/src/colors/themes')['[data-theme=dark]'],
primary: '#666cff',
'base-100': '#2a334c',
'base-content': '#373f57',
},
},
],