File tree Expand file tree Collapse file tree 9 files changed +12
-12
lines changed
Expand file tree Collapse file tree 9 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11## v0.2.0
22
3- - 新增:暗黑模式
3+ - 新增:暗黑模式支持,支持自动切换系统主题
44- 修复:命令行中带有空格的参数无法执行问题
55- 修复:最小化最大化不能点击问题
66
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ const shouldDarkMode = async () => {
176176
177177const defaultDarkModeBackgroundColor = async ( ) => {
178178 if ( await shouldDarkMode ( ) ) {
179- return '#1A202C '
179+ return '#17171A '
180180 }
181181 return '#FFFFFF'
182182}
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const initLoaders = () => {
6868 z-index: 10000;
6969}
7070[data-theme="dark"] .app-loading-wrap {
71- background: #1A202C ;
71+ background: #17171A ;
7272}
7373[data-theme="dark"] .${ className } > div {
7474 --_g: no-repeat radial-gradient(circle closest-side,#2D3748 90%,#2D374800);
Original file line number Diff line number Diff line change 11{
22 "name" : " linkandroid" ,
3- "version" : " 0.2.0-beta " ,
3+ "version" : " 0.2.0" ,
44 "main" : " dist-electron/main/index.js" ,
55 "description" : " Link android to PC easily" ,
66 "author" : " ModStartLib" ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const doUser = async () => {
3535 </script >
3636
3737<template >
38- <div class =" flex flex-col h-full border-r border-gray-200 dark:border-gray-700 " >
38+ <div class =" flex flex-col h-full border-r border-gray-200 dark:border-gray-800 " >
3939 <div class =" py-4 px-3 " :class =" setting.basic.userEnable?'cursor-pointer':''" @click =" doUser" >
4040 <a-tooltip v-if =" setting.basic.userEnable"
4141 :content =" userTip as string" position =" right" >
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ onBeforeMount(() => {
1818 </script >
1919<template >
2020 <div class =" window-container" >
21- <div class =" window-header flex h-10 items-center border-b border-solid border-gray-200 dark:border-gray-600 " >
21+ <div class =" window-header flex h-10 items-center border-b border-solid border-gray-200 dark:border-gray-800 " >
2222 <div class =" window-header-title flex-grow flex items-center" >
2323 <div class =" pl-2 py-2" >
2424 <img src =" /logo.svg" class =" w-4 t-4" />
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ const doHelp = () => {
159159 <div v-for =" (r,rIndex) in deviceRecords" :key =" rIndex"
160160 class =" w-full lg:w-1/2 2xl:w-1/3 p-3" >
161161 <div
162- class =" hover:shadow-lg bg-white dark:bg-gray-800 shadow border border-solid h-64 border-gray-100 dark:border-gray-700 rounded-lg flex flex-col" >
162+ class =" hover:shadow-lg bg-white dark:bg-gray-800 shadow border border-solid h-64 border-gray-100 dark:border-gray-800 rounded-lg flex flex-col" >
163163 <div class =" flex overflow-hidden flex-shrink-0 items-center h-12 px-4 py-2" >
164164 <div class =" overflow-hidden" >
165165 <div class =" font-bold truncate cursor-pointer" >
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ onBeforeUnmount(() => {
4040<template >
4141 <div class =" flex select-none" >
4242 <div ref =" tabContainer"
43- class =" p-8 w-56 flex-shrink-0 border-r border-solid border-gray-100 dark:border-gray-700 " >
43+ class =" p-8 w-56 flex-shrink-0 border-r border-solid border-gray-100 dark:border-gray-800 " >
4444 <div data-section =" basic" class =" p-2 rounded-lg mr-2 mb-4 cursor-pointer menu-active" >
4545 <div class =" text-base" >
4646 <icon-settings />
@@ -70,14 +70,14 @@ onBeforeUnmount(() => {
7070 <SettingBasic />
7171 </div >
7272 </div >
73- <div class =" border-b border-solid border-gray-200 dark:border-gray-700 my-6" ></div >
73+ <div class =" border-b border-solid border-gray-200 dark:border-gray-800 my-6" ></div >
7474 <div data-section =" env" class =" scroll-mt-4" >
7575 <div class =" text-base font-bold mb-4" >{{ t('环境设置') }}</div >
7676 <div >
7777 <SettingEnv />
7878 </div >
7979 </div >
80- <div class =" border-b border-solid border-gray-200 dark:border-gray-700 my-6" ></div >
80+ <div class =" border-b border-solid border-gray-200 dark:border-gray-800 my-6" ></div >
8181 <div data-section =" about" class =" scroll-mt-4" >
8282 <div class =" text-base font-bold mb-4" >
8383 {{ t('关于软件') }}
Original file line number Diff line number Diff line change @@ -53,10 +53,10 @@ body[data-theme="dark"] {
5353 --primary-9 : 251 , 181 , 196 ;
5454 --primary-10 : 255 , 232 , 237 ;
5555
56- --color-background : #1A202C ;
56+ --color-background : #17171A ;
5757 --color-text : #CCCCCC ;
5858 --color-text-page-nav : #CCCCCC ;
59- --color-bg-page-nav : #1A202C ;
59+ --color-bg-page-nav : #17171A ;
6060 --color-bg-page-nav-active : #2d3443 ;
6161}
6262
You can’t perform that action at this time.
0 commit comments