mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 21:20:29 +08:00
adjust icon style
This commit is contained in:
parent
4d2678bc27
commit
77c2be261d
@ -1,7 +1,7 @@
|
||||
import { Button, Card, CardBody, CardFooter } from '@nextui-org/react'
|
||||
import { useControledMihomoConfig } from '@renderer/hooks/use-controled-mihomo-config'
|
||||
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 { patchMihomoConfig } from '@renderer/utils/ipc'
|
||||
|
||||
@ -32,7 +32,7 @@ const DNSCard: React.FC = () => {
|
||||
variant="flat"
|
||||
color="default"
|
||||
>
|
||||
<MdOutlineDns
|
||||
<LuServer
|
||||
className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
|
||||
/>
|
||||
</Button>
|
||||
|
||||
@ -22,7 +22,7 @@ const LogCard: React.FC = () => {
|
||||
>
|
||||
<IoJournal
|
||||
color="default"
|
||||
className={`${match ? 'text-white' : 'text-foreground'} text-[20px] font-bold`}
|
||||
className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
|
||||
/>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
@ -28,7 +28,7 @@ const RuleCard: React.FC = () => {
|
||||
>
|
||||
<MdOutlineAltRoute
|
||||
color="default"
|
||||
className={`${match ? 'text-white' : 'text-foreground'} text-[20px]`}
|
||||
className={`${match ? 'text-white' : 'text-foreground'} text-[24px]`}
|
||||
/>
|
||||
</Button>
|
||||
<Chip
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { Button, Card, CardBody, CardFooter } from '@nextui-org/react'
|
||||
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 { patchMihomoConfig } from '@renderer/utils/ipc'
|
||||
import { useControledMihomoConfig } from '@renderer/hooks/use-controled-mihomo-config'
|
||||
@ -32,7 +32,7 @@ const SniffCard: React.FC = () => {
|
||||
variant="flat"
|
||||
color="default"
|
||||
>
|
||||
<GrDomain
|
||||
<RiScan2Fill
|
||||
color="default"
|
||||
className={`${match ? 'text-white' : 'text-foreground'} text-[24px]`}
|
||||
/>
|
||||
|
||||
@ -24,7 +24,7 @@ const TestCard: React.FC = () => {
|
||||
>
|
||||
<TbWorldCheck
|
||||
color="default"
|
||||
className={`${match ? 'text-white' : 'text-foreground'} text-[20px] font-bold`}
|
||||
className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
|
||||
/>
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user