mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 13:10:30 +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 { 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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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]`}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user