mirror of
https://github.com/woodchen-ink/nezha-dash-v1.git
synced 2025-07-18 09:31:55 +08:00
style: bandwidth badge color
This commit is contained in:
parent
1ead187fab
commit
1486a03f01
@ -107,7 +107,7 @@ export default function ServerCard({ now, serverInfo }: { now: number; serverInf
|
|||||||
{parsedData.planDataMod.bandwidth !== "" && (
|
{parsedData.planDataMod.bandwidth !== "" && (
|
||||||
<p
|
<p
|
||||||
className={cn(
|
className={cn(
|
||||||
"text-[9px] bg-purple-600 dark:bg-purple-800 text-purple-200 dark:text-purple-300 w-fit rounded-[5px] px-[3px] py-[1.5px]",
|
"text-[9px] bg-blue-600 dark:bg-blue-800 text-blue-200 dark:text-blue-300 w-fit rounded-[5px] px-[3px] py-[1.5px]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{parsedData.planDataMod.bandwidth}
|
{parsedData.planDataMod.bandwidth}
|
||||||
@ -245,7 +245,7 @@ export default function ServerCard({ now, serverInfo }: { now: number; serverInf
|
|||||||
{parsedData.planDataMod.bandwidth !== "" && (
|
{parsedData.planDataMod.bandwidth !== "" && (
|
||||||
<p
|
<p
|
||||||
className={cn(
|
className={cn(
|
||||||
"text-[9px] bg-purple-600 dark:bg-purple-800 text-purple-200 dark:text-purple-300 w-fit rounded-[5px] px-[3px] py-[1.5px]",
|
"text-[9px] bg-blue-600 dark:bg-blue-800 text-blue-200 dark:text-blue-300 w-fit rounded-[5px] px-[3px] py-[1.5px]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{parsedData.planDataMod.bandwidth}
|
{parsedData.planDataMod.bandwidth}
|
||||||
|
@ -121,7 +121,7 @@ export default function ServerCardInline({
|
|||||||
{parsedData.planDataMod.bandwidth !== "" && (
|
{parsedData.planDataMod.bandwidth !== "" && (
|
||||||
<p
|
<p
|
||||||
className={cn(
|
className={cn(
|
||||||
"text-[9px] bg-purple-600 dark:bg-purple-800 text-purple-200 dark:text-purple-300 w-fit rounded-[5px] px-[3px] py-[1.5px]",
|
"text-[9px] bg-blue-600 dark:bg-blue-800 text-blue-200 dark:text-blue-300 w-fit rounded-[5px] px-[3px] py-[1.5px]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{parsedData.planDataMod.bandwidth}
|
{parsedData.planDataMod.bandwidth}
|
||||||
@ -284,7 +284,7 @@ export default function ServerCardInline({
|
|||||||
{parsedData.planDataMod.bandwidth !== "" && (
|
{parsedData.planDataMod.bandwidth !== "" && (
|
||||||
<p
|
<p
|
||||||
className={cn(
|
className={cn(
|
||||||
"text-[9px] bg-purple-600 dark:bg-purple-800 text-purple-200 dark:text-purple-300 w-fit rounded-[5px] px-[3px] py-[1.5px]",
|
"text-[9px] bg-blue-600 dark:bg-blue-800 text-blue-200 dark:text-blue-300 w-fit rounded-[5px] px-[3px] py-[1.5px]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{parsedData.planDataMod.bandwidth}
|
{parsedData.planDataMod.bandwidth}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user