Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
Revert "feat: 主题色"
gaoSira8ec451d06c3
diff --git a/package-lock.json b/package-lock.jsonindex 6645d72a..c6c694fc 100644--- a/package-lock.json+++ b/package-lock.json@@ -10,14 +10,12 @@"dependencies": {"@ant-design/nextjs-registry": "^1.0.2","@kwooshung/react-no-ssr": "^1.1.4",- "@react-oauth/google": "^0.12.2","antd": "^5.25.2","dayjs": "^1.11.13","idb-keyval": "^6.2.2","next": "14.2.29","react": "^18","react-dom": "^18",- "react-icons": "^5.5.0","sass": "^1.59.2","zustand": "^5.0.4"},@@ -1121,16 +1119,6 @@"react-dom": ">=16.9.0"}},- "node_modules/@react-oauth/google": {- "version": "0.12.2",- "resolved": "https://registry.npmmirror.com/@react-oauth/google/-/google-0.12.2.tgz",- "integrity": "sha512-d1GVm2uD4E44EJft2RbKtp8Z1fp/gK8Lb6KHgs3pHlM0PxCXGLaq8LLYQYENnN4xPWO1gkL4apBtlPKzpLvZwg==",- "license": "MIT",- "peerDependencies": {- "react": ">=16.8.0",- "react-dom": ">=16.8.0"- }- },"node_modules/@rtsao/scc": {"version": "1.1.0","resolved": "https://registry.npmmirror.com/@rtsao/scc/-/scc-1.1.0.tgz",@@ -5393,15 +5381,6 @@"react": "^18.3.1"}},- "node_modules/react-icons": {- "version": "5.5.0",- "resolved": "https://registry.npmmirror.com/react-icons/-/react-icons-5.5.0.tgz",- "integrity": "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==",- "license": "MIT",- "peerDependencies": {- "react": "*"- }- },"node_modules/react-is": {"version": "16.13.1","resolved": "https://registry.npmmirror.com/react-is/-/react-is-16.13.1.tgz",diff --git a/src/app/layout.tsx b/src/app/layout.tsxindex 271d362e..17b5734c 100644--- a/src/app/layout.tsx+++ b/src/app/layout.tsx@@ -1,7 +1,6 @@import "./globals.css";import { metadata } from "./metadata";import { Providers } from "./providers";-import "@/var.css";export { metadata };diff --git a/src/var.css b/src/var.cssdeleted file mode 100644index 3194ee29..00000000--- a/src/var.css+++ /dev/null@@ -1,50 +0,0 @@-/* 全局css变量 */-:root {- /* 中性面板色组---------------------------------------------------- */- --whiteColor1: #fff;- --grayColor0: rgb(247,250,250);- --grayColor1: #F3F3F3;- --grayColor2: #EEEEEE;- --grayColor3: #E7E7E7;- --grayColor4: #DCDCDC;- --grayColor5: #C5C5C5;- --grayColor6: #A6A6A6;- --grayColor7: #8B8B8B;- --grayColor8: #777777;- --grayColor9: #5E5E5E;- --grayColor10: #4B4B4B;- --grayColor11: #383838;- --grayColor12: #2C2C2C;- --grayColor13: #242424;- --grayColor14: #181818;-- /* 超大号字 */- --fs-xl: 20px;- /* 大号字 */- --fs-lg: 18px;- /* 中号字 */- --fs-md: 16px;- /* 小号字 */- --fs-sm: 14px;- /* 超小号字 */- --fs-xs: 12px;-- /* 主题色由浅到深 */- --theColor1: #e6f1ff;- --theColor2: #a3cbff;- --theColor3: #7aafff;- --theColor4: #5291ff;- --theColor5: #2970ff;- --theColor6: #004cff;- --theColor7: #003ad9;- --theColor8: #002ab3;- --theColor9: #001c8c;- --theColor10: #001166;-- /* 警告色 */- --warningColor: #d48806;- /* 错误色 */- --errerColor: red;- /* 成功色 */- --successColor: rgb(47, 178, 122);-}