unified icon style

This commit is contained in:
pompurin404 2024-09-02 11:17:21 +08:00
parent 52f9980295
commit 90c1383566
No known key found for this signature in database
5 changed files with 442 additions and 441 deletions

View File

@ -11,3 +11,4 @@
### Bug Fixes ### Bug Fixes
- 修复某些MacOS DNS设置失败的问题 - 修复某些MacOS DNS设置失败的问题
- 统一图标样式

View File

@ -24,8 +24,8 @@
"@electron-toolkit/preload": "^3.0.1", "@electron-toolkit/preload": "^3.0.1",
"@electron-toolkit/utils": "^3.0.0", "@electron-toolkit/utils": "^3.0.0",
"@mihomo-party/sysproxy": "^2.0.1", "@mihomo-party/sysproxy": "^2.0.1",
"adm-zip": "^0.5.15", "adm-zip": "^0.5.16",
"axios": "^1.7.5", "axios": "^1.7.7",
"chokidar": "^3.6.0", "chokidar": "^3.6.0",
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"webdav": "^5.7.1", "webdav": "^5.7.1",
@ -41,26 +41,26 @@
"@electron-toolkit/tsconfig": "^1.0.1", "@electron-toolkit/tsconfig": "^1.0.1",
"@nextui-org/react": "^2.4.6", "@nextui-org/react": "^2.4.6",
"@types/adm-zip": "^0.5.5", "@types/adm-zip": "^0.5.5",
"@types/node": "^22.5.1", "@types/node": "^22.5.2",
"@types/pubsub-js": "^1.8.6", "@types/pubsub-js": "^1.8.6",
"@types/react": "^18.3.4", "@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@types/ws": "^8.5.12", "@types/ws": "^8.5.12",
"@vitejs/plugin-react": "^4.3.1", "@vitejs/plugin-react": "^4.3.1",
"apexcharts": "^3.52.0", "apexcharts": "^3.53.0",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"electron": "^31.4.0", "electron": "^32.0.1",
"electron-builder": "^25.0.5", "electron-builder": "^25.0.5",
"electron-vite": "^2.3.0", "electron-vite": "^2.3.0",
"electron-window-state": "^5.0.3", "electron-window-state": "^5.0.3",
"eslint": "^8.57.0", "eslint": "^8.57.0",
"eslint-plugin-react": "^7.35.0", "eslint-plugin-react": "^7.35.0",
"framer-motion": "^11.3.30", "framer-motion": "^11.3.31",
"meta-json-schema": "^1.18.7", "meta-json-schema": "^1.18.7",
"monaco-yaml": "^5.2.2", "monaco-yaml": "^5.2.2",
"nanoid": "^5.0.7", "nanoid": "^5.0.7",
"next-themes": "^0.3.0", "next-themes": "^0.3.0",
"postcss": "^8.4.41", "postcss": "^8.4.43",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"pubsub-js": "^1.9.4", "pubsub-js": "^1.9.4",
"react": "^18.3.1", "react": "^18.3.1",
@ -71,7 +71,7 @@
"react-markdown": "^9.0.1", "react-markdown": "^9.0.1",
"react-monaco-editor": "^0.56.1", "react-monaco-editor": "^0.56.1",
"react-router-dom": "^6.26.1", "react-router-dom": "^6.26.1",
"react-virtuoso": "^4.10.1", "react-virtuoso": "^4.10.2",
"swr": "^2.2.5", "swr": "^2.2.5",
"tailwindcss": "^3.4.10", "tailwindcss": "^3.4.10",
"tar": "^7.4.3", "tar": "^7.4.3",

856
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
import { Button, Card, CardBody, CardFooter } from '@nextui-org/react' import { Button, Card, CardBody, CardFooter } from '@nextui-org/react'
import { IoJournal } from 'react-icons/io5' import { IoJournalOutline } from 'react-icons/io5'
import { useLocation, useNavigate } from 'react-router-dom' import { useLocation, useNavigate } from 'react-router-dom'
import { useSortable } from '@dnd-kit/sortable' import { useSortable } from '@dnd-kit/sortable'
import { CSS } from '@dnd-kit/utilities' import { CSS } from '@dnd-kit/utilities'
@ -42,7 +42,7 @@ const LogCard: React.FC = () => {
variant="flat" variant="flat"
color="default" color="default"
> >
<IoJournal <IoJournalOutline
color="default" color="default"
className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`} className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
/> />

View File

@ -1,9 +1,9 @@
import { Button, Card, CardBody, CardFooter } from '@nextui-org/react' import { Button, Card, CardBody, CardFooter } from '@nextui-org/react'
import React from 'react' import React from 'react'
import { FaLayerGroup } from 'react-icons/fa6'
import { useLocation, useNavigate } from 'react-router-dom' import { useLocation, useNavigate } from 'react-router-dom'
import { useSortable } from '@dnd-kit/sortable' import { useSortable } from '@dnd-kit/sortable'
import { CSS } from '@dnd-kit/utilities' import { CSS } from '@dnd-kit/utilities'
import { IoLayersOutline } from 'react-icons/io5'
const ResourceCard: React.FC = () => { const ResourceCard: React.FC = () => {
const navigate = useNavigate() const navigate = useNavigate()
const location = useLocation() const location = useLocation()
@ -43,7 +43,7 @@ const ResourceCard: React.FC = () => {
variant="flat" variant="flat"
color="default" color="default"
> >
<FaLayerGroup <IoLayersOutline
color="default" color="default"
className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`} className={`${match ? 'text-white' : 'text-foreground'} text-[24px] font-bold`}
/> />