From 2a71b38595469e1a52cc2f3344d433d37ee953dc Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Tue, 2 May 2023 23:22:46 +0800 Subject: [PATCH] use less! --- package-lock.json | 87 ++------ package.json | 1 + src/assets/css/color.css | 6 + src/assets/css/color.less | 187 ++++++++++++++++ src/components/KUNGalgameTopBar.vue | 199 ++++++++++-------- src/css/color.css | 8 + src/main.ts | 17 +- src/store/modules/header.ts | 12 -- src/styles/color.css | 189 ----------------- src/views/403/403.vue | 16 +- src/views/404/404.vue | 16 +- src/views/Home/KUNGalgameMainPage.vue | 10 +- src/views/Home/content/MainPageContent.vue | 14 +- .../Home/content/article/MainPageArticle.vue | 16 +- .../article/content/ArticleContent.vue | 14 +- .../article/content/topic/SingleTopic.vue | 16 +- .../content/topic/components/TopicPart.vue | 20 +- .../content/topic/components/UserPart.vue | 16 +- .../content/article/header/ArticleHeader.vue | 143 ++++++++----- .../Home/content/aside/item/AsideItem.vue | 76 +++---- .../Home/content/aside/topic/HotTopic.vue | 49 ++--- .../Home/content/aside/topic/NewTopic.vue | 29 ++- src/views/Home/footer/info/KUNGalgameInfo.vue | 18 +- src/views/balance/Banlance.vue | 58 ++--- src/views/contacts/index.vue | 33 +-- src/views/donate/index.vue | 30 +-- src/views/edit/index.vue | 98 ++++----- src/views/kungalgame/index.vue | 22 +- src/views/licence/index.vue | 12 +- src/views/login/Login.vue | 91 ++++---- src/views/pool/index.vue | 36 ++-- src/views/privacy/index.vue | 16 +- src/views/rank/index.vue | 52 ++--- src/views/redirect/index.vue | 6 +- src/views/regulations/index.vue | 22 +- src/views/technology/index.vue | 84 ++++---- src/views/thanks-list/index.vue | 16 +- src/views/topic/KUNGalgameTopicPage.vue | 14 +- .../topic/aside/master/TopicAsideMaster.vue | 18 +- src/views/topic/aside/nav/TopicAsideNav.vue | 12 +- src/views/topic/aside/same/TopicAsideSame.vue | 18 +- .../topic/content/master/TopicMaster.vue | 71 +++---- .../content/others/single/SingleTopic.vue | 49 ++--- .../comments/components/SingleComment.vue | 6 +- src/views/unmoe/index.vue | 30 +-- src/views/update-log/index.vue | 26 +-- src/views/user/info.vue | 42 ++-- src/views/user/pwd.vue | 48 ++--- src/views/user/topic.vue | 46 ++-- vite.config.ts | 23 +- 50 files changed, 1064 insertions(+), 1074 deletions(-) create mode 100644 src/assets/css/color.css create mode 100644 src/assets/css/color.less create mode 100644 src/css/color.css delete mode 100644 src/store/modules/header.ts delete mode 100644 src/styles/color.css diff --git a/package-lock.json b/package-lock.json index b9958ae2..94e8e94c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,6 +19,7 @@ "@iconify/vue": "^4.1.1", "@types/node": "^18.15.12", "@vitejs/plugin-vue": "^4.1.0", + "less": "^4.1.3", "rollup-plugin-visualizer": "^5.9.0", "typescript": "^4.9.3", "vite": "^4.2.0", @@ -991,8 +992,6 @@ "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", "dev": true, - "optional": true, - "peer": true, "dependencies": { "is-what": "^3.14.1" }, @@ -1026,7 +1025,6 @@ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, "optional": true, - "peer": true, "dependencies": { "ms": "^2.1.1" } @@ -1060,7 +1058,6 @@ "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", "dev": true, "optional": true, - "peer": true, "dependencies": { "prr": "~1.0.1" }, @@ -1208,8 +1205,7 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "node_modules/has": { "version": "1.0.3", @@ -1255,7 +1251,6 @@ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dev": true, "optional": true, - "peer": true, "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" }, @@ -1269,7 +1264,6 @@ "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", "dev": true, "optional": true, - "peer": true, "bin": { "image-size": "bin/image-size.js" }, @@ -1344,9 +1338,7 @@ "version": "3.14.1", "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", - "dev": true, - "optional": true, - "peer": true + "dev": true }, "node_modules/is-wsl": { "version": "2.2.0", @@ -1365,8 +1357,6 @@ "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", "dev": true, - "optional": true, - "peer": true, "dependencies": { "copy-anything": "^2.0.1", "parse-node-version": "^1.0.1", @@ -1437,7 +1427,6 @@ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dev": true, "optional": true, - "peer": true, "dependencies": { "pify": "^4.0.1", "semver": "^5.6.0" @@ -1452,7 +1441,6 @@ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dev": true, "optional": true, - "peer": true, "bin": { "mime": "cli.js" }, @@ -1488,8 +1476,7 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "node_modules/muggle-string": { "version": "0.2.2", @@ -1525,7 +1512,6 @@ "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", "dev": true, "optional": true, - "peer": true, "dependencies": { "debug": "^3.2.6", "iconv-lite": "^0.6.3", @@ -1565,8 +1551,6 @@ "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", "dev": true, - "optional": true, - "peer": true, "engines": { "node": ">= 0.10" } @@ -1600,7 +1584,6 @@ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true, "optional": true, - "peer": true, "engines": { "node": ">=6" } @@ -1700,8 +1683,7 @@ "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "node_modules/regenerator-runtime": { "version": "0.13.11", @@ -1790,16 +1772,14 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "node_modules/sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "node_modules/scroll-into-view-if-needed": { "version": "2.2.31", @@ -1815,7 +1795,6 @@ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true, "optional": true, - "peer": true, "bin": { "semver": "bin/semver" } @@ -1955,9 +1934,7 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", - "dev": true, - "optional": true, - "peer": true + "dev": true }, "node_modules/type": { "version": "1.2.0", @@ -2786,8 +2763,6 @@ "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.6.tgz", "integrity": "sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==", "dev": true, - "optional": true, - "peer": true, "requires": { "is-what": "^3.14.1" } @@ -2818,7 +2793,6 @@ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", "dev": true, "optional": true, - "peer": true, "requires": { "ms": "^2.1.1" } @@ -2849,7 +2823,6 @@ "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", "dev": true, "optional": true, - "peer": true, "requires": { "prr": "~1.0.1" } @@ -2972,8 +2945,7 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "has": { "version": "1.0.3", @@ -3009,7 +2981,6 @@ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "dev": true, "optional": true, - "peer": true, "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } @@ -3019,8 +2990,7 @@ "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", "integrity": "sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "immer": { "version": "9.0.21", @@ -3067,9 +3037,7 @@ "version": "3.14.1", "resolved": "https://registry.npmjs.org/is-what/-/is-what-3.14.1.tgz", "integrity": "sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==", - "dev": true, - "optional": true, - "peer": true + "dev": true }, "is-wsl": { "version": "2.2.0", @@ -3085,8 +3053,6 @@ "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", "dev": true, - "optional": true, - "peer": true, "requires": { "copy-anything": "^2.0.1", "errno": "^0.1.1", @@ -3149,7 +3115,6 @@ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", "dev": true, "optional": true, - "peer": true, "requires": { "pify": "^4.0.1", "semver": "^5.6.0" @@ -3160,8 +3125,7 @@ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "mime-match": { "version": "1.0.2", @@ -3185,8 +3149,7 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "muggle-string": { "version": "0.2.2", @@ -3210,7 +3173,6 @@ "integrity": "sha512-oUvzXnyLiVyVGoianLijF9O/RecZUf7TkBfimjGrLM4eQhXyeJwM6GeAWccwfQ9aa4gMCZKqhAOuLaMIcQxajQ==", "dev": true, "optional": true, - "peer": true, "requires": { "debug": "^3.2.6", "iconv-lite": "^0.6.3", @@ -3237,9 +3199,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", - "dev": true, - "optional": true, - "peer": true + "dev": true }, "path-parse": { "version": "1.0.7", @@ -3263,8 +3223,7 @@ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "pinia": { "version": "2.0.35", @@ -3308,8 +3267,7 @@ "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", "integrity": "sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "regenerator-runtime": { "version": "0.13.11", @@ -3367,16 +3325,14 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "scroll-into-view-if-needed": { "version": "2.2.31", @@ -3391,8 +3347,7 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true, - "optional": true, - "peer": true + "optional": true }, "slate": { "version": "0.72.8", @@ -3498,9 +3453,7 @@ "version": "2.5.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", - "dev": true, - "optional": true, - "peer": true + "dev": true }, "type": { "version": "1.2.0", diff --git a/package.json b/package.json index 8268440c..d27635ca 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "@iconify/vue": "^4.1.1", "@types/node": "^18.15.12", "@vitejs/plugin-vue": "^4.1.0", + "less": "^4.1.3", "rollup-plugin-visualizer": "^5.9.0", "typescript": "^4.9.3", "vite": "^4.2.0", diff --git a/src/assets/css/color.css b/src/assets/css/color.css new file mode 100644 index 00000000..ac6a8498 --- /dev/null +++ b/src/assets/css/color.css @@ -0,0 +1,6 @@ +/* 基本阴影 */ +/* + + transparent color + + */ diff --git a/src/assets/css/color.less b/src/assets/css/color.less new file mode 100644 index 00000000..4336845c --- /dev/null +++ b/src/assets/css/color.less @@ -0,0 +1,187 @@ +/* 基本阴影 */ +@shadow: 0 1px 2px hsla(0, 0%, 0%, 0.05), 0 1px 4px hsla(0, 0%, 0%, 0.05), + 0 2px 8px hsla(0, 0%, 0%, 0.05); +@kungalgame-shadow-0: 5px 5px 7px var(@kungalgame-trans-gray-4), + -5px -5px 7px var(@kungalgame-trans-white-1); +@kungalgame-shadow-1: 2px 2px 4px var(@kungalgame-trans-gray-4), + -2px -2px 4px var(@kungalgame-trans-white-1); +@kungalgame-font-color-0: #777777; +@kungalgame-font-color-1: #666666; +@kungalgame-font-color-2: #4d4d4d; +@kungalgame-font-color-3: #242424; +@kungalgame-black: #1f2328; +@kungalgame-white: #ffffff; +@kungalgame-gray-0: #f6f8fa; +@kungalgame-gray-1: #eaeef2; +@kungalgame-gray-2: #d0d7de; +@kungalgame-gray-3: #afb8c1; +@kungalgame-gray-4: #8c959f; +@kungalgame-gray-5: #6e7781; +@kungalgame-gray-6: #57606a; +@kungalgame-gray-7: #424a53; +@kungalgame-gray-8: #32383f; +@kungalgame-gray-9: #24292f; +@kungalgame-blue-0: #ddf4ff; +@kungalgame-blue-1: #b6e3ff; +@kungalgame-blue-2: #80ccff; +@kungalgame-blue-3: #54aeff; +@kungalgame-blue-4: #218bff; +@kungalgame-blue-5: #0969da; +@kungalgame-blue-6: #0550ae; +@kungalgame-blue-7: #033d8b; +@kungalgame-blue-8: #0a3069; +@kungalgame-blue-9: #002155; +@kungalgame-green-0: #dafbe1; +@kungalgame-green-1: #aceebb; +@kungalgame-green-2: #6fdd8b; +@kungalgame-green-3: #4ac26b; +@kungalgame-green-4: #2da44e; +@kungalgame-green-5: #1a7f37; +@kungalgame-green-6: #116329; +@kungalgame-green-7: #044f1e; +@kungalgame-green-8: #003d16; +@kungalgame-green-9: #002d11; +@kungalgame-yellow-0: #fff8c5; +@kungalgame-yellow-1: #fae17d; +@kungalgame-yellow-2: #eac54f; +@kungalgame-yellow-3: #d4a72c; +@kungalgame-yellow-4: #bf8700; +@kungalgame-yellow-5: #9a6700; +@kungalgame-yellow-6: #7d4e00; +@kungalgame-yellow-7: #633c01; +@kungalgame-yellow-8: #4d2d00; +@kungalgame-yellow-9: #3b2300; +@kungalgame-orange-0: #fff1e5; +@kungalgame-orange-1: #ffd8b5; +@kungalgame-orange-2: #ffb77c; +@kungalgame-orange-3: #fb8f44; +@kungalgame-orange-4: #e16f24; +@kungalgame-orange-5: #bc4c00; +@kungalgame-orange-6: #953800; +@kungalgame-orange-7: #762c00; +@kungalgame-orange-8: #5c2200; +@kungalgame-orange-9: #471700; +@kungalgame-red-0: #ffebe9; +@kungalgame-red-1: #ffcecb; +@kungalgame-red-2: #ffaba8; +@kungalgame-red-3: #ff8182; +@kungalgame-red-4: #fa4549; +@kungalgame-red-5: #cf222e; +@kungalgame-red-6: #a40e26; +@kungalgame-red-7: #82071e; +@kungalgame-red-8: #660018; +@kungalgame-red-9: #4c0014; +@kungalgame-purple-0: #fbefff; +@kungalgame-purple-1: #ecd8ff; +@kungalgame-purple-2: #d8b9ff; +@kungalgame-purple-3: #c297ff; +@kungalgame-purple-4: #a475f9; +@kungalgame-purple-5: #8250df; +@kungalgame-purple-6: #6639ba; +@kungalgame-purple-7: #512a97; +@kungalgame-purple-8: #3e1f79; +@kungalgame-purple-9: #2e1461; +@kungalgame-pink-0: #ffeff7; +@kungalgame-pink-1: #ffd3eb; +@kungalgame-pink-2: #ffadda; +@kungalgame-pink-3: #ff80c8; +@kungalgame-pink-4: #e85aad; +@kungalgame-pink-5: #bf3989; +@kungalgame-pink-6: #99286e; +@kungalgame-pink-7: #772057; +@kungalgame-pink-8: #611347; +@kungalgame-pink-9: #4d0336; +/* + + transparent color + + */ +@kungalgame-trans-black: #1f2328; +@kungalgame-trans-white-1: #fffffff7; +@kungalgame-trans-white-2: #ffffffd9; +@kungalgame-trans-white-3: #ffffffc7; +@kungalgame-trans-white-4: #ffffffa1; +@kungalgame-trans-white-5: #ffffff8e; +@kungalgame-trans-white-6: #ffffff77; +@kungalgame-trans-white-7: #ffffff48; +@kungalgame-trans-white-8: #ffffff1a; +@kungalgame-trans-gray-0: #f6f8fa77; +@kungalgame-trans-gray-1: #eaeef277; +@kungalgame-trans-gray-2: #d0d7de77; +@kungalgame-trans-gray-3: #afb8c177; +@kungalgame-trans-gray-4: #8c959f77; +@kungalgame-trans-gray-5: #6e778177; +@kungalgame-trans-gray-6: #57606a77; +@kungalgame-trans-gray-7: #424a5377; +@kungalgame-trans-gray-8: #32383f77; +@kungalgame-trans-gray-9: #24292f77; +@kungalgame-trans-blue-0: #ddf4ff77; +@kungalgame-trans-blue-1: #b6e3ff77; +@kungalgame-trans-blue-2: #80ccff77; +@kungalgame-trans-blue-3: #54aeff77; +@kungalgame-trans-blue-4: #218bff77; +@kungalgame-trans-blue-5: #0969da77; +@kungalgame-trans-blue-6: #0550ae77; +@kungalgame-trans-blue-7: #033d8b77; +@kungalgame-trans-blue-8: #0a306977; +@kungalgame-trans-blue-9: #00215577; +@kungalgame-trans-green-0: #dafbe177; +@kungalgame-trans-green-1: #aceebb77; +@kungalgame-trans-green-2: #6fdd8b77; +@kungalgame-trans-green-3: #4ac26b77; +@kungalgame-trans-green-4: #2da44e77; +@kungalgame-trans-green-5: #1a7f3777; +@kungalgame-trans-green-6: #11632977; +@kungalgame-trans-green-7: #044f1e77; +@kungalgame-trans-green-8: #003d1677; +@kungalgame-trans-green-9: #002d1177; +@kungalgame-trans-yellow-0: #fff8c577; +@kungalgame-trans-yellow-1: #fae17d77; +@kungalgame-trans-yellow-2: #eac54f77; +@kungalgame-trans-yellow-3: #d4a72c77; +@kungalgame-trans-yellow-4: #bf870077; +@kungalgame-trans-yellow-5: #9a670077; +@kungalgame-trans-yellow-6: #7d4e0077; +@kungalgame-trans-yellow-7: #633c0177; +@kungalgame-trans-yellow-8: #4d2d0077; +@kungalgame-trans-yellow-9: #3b230077; +@kungalgame-trans-orange-0: #fff1e577; +@kungalgame-trans-orange-1: #ffd8b577; +@kungalgame-trans-orange-2: #ffb77c77; +@kungalgame-trans-orange-3: #fb8f4477; +@kungalgame-trans-orange-4: #e16f2477; +@kungalgame-trans-orange-5: #bc4c0077; +@kungalgame-trans-orange-6: #95380077; +@kungalgame-trans-orange-7: #762c0077; +@kungalgame-trans-orange-8: #5c220077; +@kungalgame-trans-orange-9: #47170077; +@kungalgame-trans-red-0: #ffebe977; +@kungalgame-trans-red-1: #ffcecb77; +@kungalgame-trans-red-2: #ffaba877; +@kungalgame-trans-red-3: #ff818277; +@kungalgame-trans-red-4: #fa454977; +@kungalgame-trans-red-5: #cf222e77; +@kungalgame-trans-red-6: #a40e2677; +@kungalgame-trans-red-7: #82071e77; +@kungalgame-trans-red-8: #66001877; +@kungalgame-trans-red-9: #4c001477; +@kungalgame-trans-purple-0: #fbefff77; +@kungalgame-trans-purple-1: #ecd8ff77; +@kungalgame-trans-purple-2: #d8b9ff77; +@kungalgame-trans-purple-3: #c297ff77; +@kungalgame-trans-purple-4: #a475f977; +@kungalgame-trans-purple-5: #8250df77; +@kungalgame-trans-purple-6: #6639ba77; +@kungalgame-trans-purple-7: #512a9777; +@kungalgame-trans-purple-8: #3e1f7977; +@kungalgame-trans-purple-9: #2e146177; +@kungalgame-trans-pink-0: #ffeff777; +@kungalgame-trans-pink-1: #ffd3eb77; +@kungalgame-trans-pink-2: #ffadda77; +@kungalgame-trans-pink-3: #ff80c877; +@kungalgame-trans-pink-4: #e85aad77; +@kungalgame-trans-pink-5: #bf398977; +@kungalgame-trans-pink-6: #99286e77; +@kungalgame-trans-pink-7: #77205777; +@kungalgame-trans-pink-8: #61134777; +@kungalgame-trans-pink-9: #4d033677; diff --git a/src/components/KUNGalgameTopBar.vue b/src/components/KUNGalgameTopBar.vue index 928665e3..d2db8f57 100644 --- a/src/components/KUNGalgameTopBar.vue +++ b/src/components/KUNGalgameTopBar.vue @@ -1,28 +1,55 @@ - diff --git a/src/views/404/404.vue b/src/views/404/404.vue index ef28a475..8e097eb1 100644 --- a/src/views/404/404.vue +++ b/src/views/404/404.vue @@ -12,7 +12,7 @@ - diff --git a/src/views/Home/KUNGalgameMainPage.vue b/src/views/Home/KUNGalgameMainPage.vue index a673f6a3..c1624dc1 100644 --- a/src/views/Home/KUNGalgameMainPage.vue +++ b/src/views/Home/KUNGalgameMainPage.vue @@ -1,7 +1,7 @@ - diff --git a/src/views/Home/content/article/content/topic/components/UserPart.vue b/src/views/Home/content/article/content/topic/components/UserPart.vue index 624c4939..6f2f6528 100644 --- a/src/views/Home/content/article/content/topic/components/UserPart.vue +++ b/src/views/Home/content/article/content/topic/components/UserPart.vue @@ -1,16 +1,10 @@ - + - diff --git a/src/views/Home/content/article/header/ArticleHeader.vue b/src/views/Home/content/article/header/ArticleHeader.vue index 30c0ebba..37f870ff 100644 --- a/src/views/Home/content/article/header/ArticleHeader.vue +++ b/src/views/Home/content/article/header/ArticleHeader.vue @@ -1,11 +1,5 @@ - - diff --git a/src/views/Home/content/aside/topic/HotTopic.vue b/src/views/Home/content/aside/topic/HotTopic.vue index 587ab783..c4a4e69a 100644 --- a/src/views/Home/content/aside/topic/HotTopic.vue +++ b/src/views/Home/content/aside/topic/HotTopic.vue @@ -1,11 +1,5 @@ - - diff --git a/src/views/Home/content/aside/topic/NewTopic.vue b/src/views/Home/content/aside/topic/NewTopic.vue index 4dd4be68..487fbc82 100644 --- a/src/views/Home/content/aside/topic/NewTopic.vue +++ b/src/views/Home/content/aside/topic/NewTopic.vue @@ -1,11 +1,5 @@ - - diff --git a/src/views/Home/footer/info/KUNGalgameInfo.vue b/src/views/Home/footer/info/KUNGalgameInfo.vue index 48ee8bf3..4251a764 100644 --- a/src/views/Home/footer/info/KUNGalgameInfo.vue +++ b/src/views/Home/footer/info/KUNGalgameInfo.vue @@ -1,11 +1,11 @@ - diff --git a/src/views/privacy/index.vue b/src/views/privacy/index.vue index e25ff6a1..806e4a54 100644 --- a/src/views/privacy/index.vue +++ b/src/views/privacy/index.vue @@ -39,7 +39,7 @@ -