imp: dark color

This commit is contained in:
liangping 2023-06-12 18:22:23 +08:00
parent b03bbfd860
commit 5c00c67f74
9 changed files with 14 additions and 14 deletions

View File

@ -8,7 +8,7 @@
"min_tx_fee": "800", "min_tx_fee": "800",
"addr_prefix": "axelar", "addr_prefix": "axelar",
"logo": "/logos/axelar.svg", "logo": "/logos/axelar.svg",
"theme_color": "#000000", "theme_color": "#161723",
"assets": [{ "assets": [{
"base": "uaxl", "base": "uaxl",
"symbol": "AXL", "symbol": "AXL",

View File

@ -17,6 +17,6 @@
"logo": "/logos/neutron.svg" "logo": "/logos/neutron.svg"
}], }],
"addr_prefix": "neutron", "addr_prefix": "neutron",
"theme_color": "#000000", "theme_color": "#161723",
"logo": "/logos/neutron.svg" "logo": "/logos/neutron.svg"
} }

View File

@ -32,8 +32,8 @@ const chain = useBlockchain();
</thead> </thead>
<tbody class="text-sm"> <tbody class="text-sm">
<tr v-for="item in txs"> <tr v-for="item in txs">
<td class="text-primary"> <td>
<RouterLink :to="`/${chain.chainName}/tx/${item.hash}`">{{ <RouterLink :to="`/${chain.chainName}/tx/${item.hash}`" class="text-primary dark:invert">{{
item.hash item.hash
}}</RouterLink> }}</RouterLink>
</td> </td>

View File

@ -40,7 +40,7 @@ pageload(1)
<td>{{ v.code_id }}</td> <td>{{ v.code_id }}</td>
<td> <td>
<RouterLink :to="`/${props.chain}/cosmwasm/${v.code_id}/contracts`" <RouterLink :to="`/${props.chain}/cosmwasm/${v.code_id}/contracts`"
class="truncate max-w-[200px] block text-primary" :title="v.data_hash"> class="truncate max-w-[200px] block text-primary dark:invert" :title="v.data_hash">
{{ v.data_hash }} {{ v.data_hash }}
</RouterLink> </RouterLink>
</td> </td>

View File

@ -46,7 +46,7 @@ function color(v: string) {
<tbody> <tbody>
<tr v-for="(v, index) in list" :key="index"> <tr v-for="(v, index) in list" :key="index">
<td class="py-2"> <td class="py-2">
<RouterLink :to="`/${chain}/ibc/connection/${v.id}`" class="text-primary"> <RouterLink :to="`/${chain}/ibc/connection/${v.id}`" class="text-primary dark:invert">
{{ v.id }} {{ v.id }}
</RouterLink> </RouterLink>
</td> </td>

View File

@ -248,7 +248,7 @@ loadAvatars();
</div> </div>
<div class="flex flex-col"> <div class="flex flex-col">
<h6 class="text-sm text-primary"> <h6 class="text-sm text-primary dark:invert">
<RouterLink <RouterLink
:to="{ :to="{
name: 'chain-staking-validator', name: 'chain-staking-validator',

View File

@ -33,7 +33,7 @@ function pageload(p: number) {
</script> </script>
<template> <template>
<div> <div>
<table class="table"> <table class="table table-compact">
<thead> <thead>
<tr> <tr>
<td>Token</td> <td>Token</td>

View File

@ -36,8 +36,8 @@ const messages = computed(() => {
</tr> </tr>
<tr> <tr>
<td>Height</td> <td>Height</td>
<td class="text-primary"> <td>
<RouterLink :to="`/${props.chain}/block/${tx.tx_response.height}`">{{ tx.tx_response.height <RouterLink :to="`/${props.chain}/block/${tx.tx_response.height}`" class="text-primary dark:invert">{{ tx.tx_response.height
}} }}
</RouterLink> </RouterLink>
</td> </td>

View File

@ -31,7 +31,7 @@ const chainStore = useBlockchain()
viewBox="0 0 150.000000 132.000000" viewBox="0 0 150.000000 132.000000"
preserveAspectRatio="xMidYMid meet"> preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,132.000000) scale(0.100000,-0.100000)" <g transform="translate(0.000000,132.000000) scale(0.100000,-0.100000)"
:fill="chainStore.current?.themeColor||'#666CFF'" stroke="none"> :fill="chainStore.current?.themeColor||'#666CFF'" class=" dark:invert" stroke="none">
<path d="M500 1310 l-125 -5 -182 -315 c-100 -173 -182 -321 -182 -329 -1 -7 <path d="M500 1310 l-125 -5 -182 -315 c-100 -173 -182 -321 -182 -329 -1 -7
81 -159 181 -337 l183 -324 372 0 371 0 186 325 c102 179 186 330 186 337 0 7 81 -159 181 -337 l183 -324 372 0 371 0 186 325 c102 179 186 330 186 337 0 7
-82 157 -182 335 l-183 323 -250 -2 c-137 -1 -306 -5 -375 -8z m588 -454 c61 -82 157 -182 335 l-183 323 -250 -2 c-137 -1 -306 -5 -375 -8z m588 -454 c61
@ -47,10 +47,10 @@ const chainStore = useBlockchain()
</g> </g>
</svg> </svg>
</div> </div>
<h1 class="text-primary text-3xl md:!text-6xl font-bold"> <h1 class="text-primary dark:invert text-3xl md:!text-6xl font-bold">
Ping dashboard Ping Dashboard
</h1> </h1>
<div class="badge badge-primary badge-outline mt-1 text-sm md:!mt-8"> <div class="badge badge-primary badge-outline dark:invert mt-1 text-sm md:!mt-8">
Beta Beta
</div> </div>
</div> </div>