adjust icon style

This commit is contained in:
pompurin404 2024-08-07 19:28:30 +08:00
parent 4d2678bc27
commit 77c2be261d
No known key found for this signature in database
5 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
import { Button, Card, CardBody, CardFooter } from '@nextui-org/react' import { Button, Card, CardBody, CardFooter } from '@nextui-org/react'
import { useControledMihomoConfig } from '@renderer/hooks/use-controled-mihomo-config' import { useControledMihomoConfig } from '@renderer/hooks/use-controled-mihomo-config'
import BorderSwitch from '@renderer/components/base/border-swtich' import BorderSwitch from '@renderer/components/base/border-swtich'
import { MdOutlineDns } from 'react-icons/md' import { LuServer } from 'react-icons/lu'
import { useLocation, useNavigate } from 'react-router-dom' import { useLocation, useNavigate } from 'react-router-dom'
import { patchMihomoConfig } from '@renderer/utils/ipc' import { patchMihomoConfig } from '@renderer/utils/ipc'
@ -32,7 +32,7 @@ const DNSCard: React.FC = () => {
variant="flat" variant="flat"
color="default" color="default"
> >
<MdOutlineDns <LuServer
className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`} className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
/> />
</Button> </Button>

View File

@ -22,7 +22,7 @@ const LogCard: React.FC = () => {
> >
<IoJournal <IoJournal
color="default" color="default"
className={`${match ? 'text-white' : 'text-foreground'} text-[20px] font-bold`} className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
/> />
</Button> </Button>
</div> </div>

View File

@ -28,7 +28,7 @@ const RuleCard: React.FC = () => {
> >
<MdOutlineAltRoute <MdOutlineAltRoute
color="default" color="default"
className={`${match ? 'text-white' : 'text-foreground'} text-[20px]`} className={`${match ? 'text-white' : 'text-foreground'} text-[24px]`}
/> />
</Button> </Button>
<Chip <Chip

View File

@ -1,6 +1,6 @@
import { Button, Card, CardBody, CardFooter } from '@nextui-org/react' import { Button, Card, CardBody, CardFooter } from '@nextui-org/react'
import BorderSwitch from '@renderer/components/base/border-swtich' import BorderSwitch from '@renderer/components/base/border-swtich'
import { GrDomain } from 'react-icons/gr' import { RiScan2Fill } from 'react-icons/ri'
import { useLocation, useNavigate } from 'react-router-dom' import { useLocation, useNavigate } from 'react-router-dom'
import { patchMihomoConfig } from '@renderer/utils/ipc' import { patchMihomoConfig } from '@renderer/utils/ipc'
import { useControledMihomoConfig } from '@renderer/hooks/use-controled-mihomo-config' import { useControledMihomoConfig } from '@renderer/hooks/use-controled-mihomo-config'
@ -32,7 +32,7 @@ const SniffCard: React.FC = () => {
variant="flat" variant="flat"
color="default" color="default"
> >
<GrDomain <RiScan2Fill
color="default" color="default"
className={`${match ? 'text-white' : 'text-foreground'} text-[24px]`} className={`${match ? 'text-white' : 'text-foreground'} text-[24px]`}
/> />

View File

@ -24,7 +24,7 @@ const TestCard: React.FC = () => {
> >
<TbWorldCheck <TbWorldCheck
color="default" color="default"
className={`${match ? 'text-white' : 'text-foreground'} text-[20px] font-bold`} className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
/> />
</Button> </Button>
</div> </div>