feat: info color

This commit is contained in:
Alisa | Side.one 2023-05-06 23:05:10 +08:00
parent 5c3118116f
commit 0a4cac85f3
3 changed files with 7 additions and 9 deletions

View File

@ -59,7 +59,7 @@ const statusMap: Record<string, string> = {
: 'text-info'
"
>
<div
<divÏ
class="w-1 h-1 rounded-full mr-2"
:class="
statusMap?.[item?.status] === 'PASSED'
@ -68,7 +68,7 @@ const statusMap: Record<string, string> = {
? 'bg-no'
: 'bg-info'
"
></div>
></divÏ>
<div class="text-xs">
{{ statusMap?.[item?.status] || item?.status }}
</div>

View File

@ -1,5 +1,5 @@
<template>
<footer class="footer items-center p-4 text-base">
<footer class="footer items-center p-4 text-base mb-4">
<div class="items-center grid-flow-col">
&copy;
{{ new Date().getFullYear() }}
@ -7,7 +7,7 @@
<img src="../../assets/images/heart.svg" />
By
<a
class="link link-info no-underline"
class="link link-primary no-underline"
href="https://ping.pub"
target="_blank"
rel="noopener noreferrer"
@ -18,7 +18,7 @@
class="grid-flow-col gap-4 md:place-self-center md:justify-self-end hidden md:grid"
>
<a
class="link link-info no-underline"
class="link link-primary no-underline"
href="https://github.com/ping-pub/explorer/blob/master/LICENSE"
target="noopener noreferrer"
>License</a

View File

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