Skip to content

Commit

Permalink
adjust icon style
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Aug 7, 2024
1 parent 4d2678b commit 77c2be2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/components/sider/dns-card.tsx
Original file line number Diff line number Diff line change
@@ -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'

Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/components/sider/log-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/components/sider/rule-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/sider/sniff-card.tsx
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -32,7 +32,7 @@ const SniffCard: React.FC = () => {
variant="flat"
color="default"
>
<GrDomain
<RiScan2Fill
color="default"
className={`${match ? 'text-white' : 'text-foreground'} text-[24px]`}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/components/sider/test-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 77c2be2

Please sign in to comment.