深色主題寫好啦!
@ -38,5 +38,25 @@
|
||||
<file>icon/light/globe.svg</file>
|
||||
<file>icon/light/folder.svg</file>
|
||||
<file>icon/light/text.svg</file>
|
||||
<file>icon/dark/back.svg</file>
|
||||
<file>icon/dark/box.svg</file>
|
||||
<file>icon/dark/calendar.svg</file>
|
||||
<file>icon/dark/download.svg</file>
|
||||
<file>icon/dark/folder.svg</file>
|
||||
<file>icon/dark/globe.svg</file>
|
||||
<file>icon/dark/leftbutton_0.svg</file>
|
||||
<file>icon/dark/leftbutton_1.svg</file>
|
||||
<file>icon/dark/leftbutton_2.svg</file>
|
||||
<file>icon/dark/leftbutton_3.svg</file>
|
||||
<file>icon/dark/leftbutton_4.svg</file>
|
||||
<file>icon/dark/leftbutton_5.svg</file>
|
||||
<file>icon/dark/leftbutton_6.svg</file>
|
||||
<file>icon/dark/leftbutton_7.svg</file>
|
||||
<file>icon/dark/leftbutton_8.svg</file>
|
||||
<file>icon/dark/leftbutton_9.svg</file>
|
||||
<file>icon/dark/leftbutton_10.svg</file>
|
||||
<file>icon/dark/leftbutton_11.svg</file>
|
||||
<file>icon/dark/leftbutton_12.svg</file>
|
||||
<file>icon/dark/text.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
3
src/assets/icon/dark/back.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M44 24C44 24.6904 43.4404 25.25 42.75 25.25H10.3041L23.1264 37.8586C23.6187 38.3426 23.6253 39.134 23.1413 39.6263C22.6572 40.1185 21.8658 40.1252 21.3736 39.6411L6.38563 24.903C6.37656 24.8943 6.36759 24.8854 6.35872 24.8764C6.14696 24.6611 6.02911 24.3884 6.00476 24.1094C5.99775 24.029 5.99848 23.9481 6.00696 23.8679C6.03557 23.5967 6.15267 23.333 6.35872 23.1234C6.37242 23.1095 6.38611 23.096 6.39982 23.0829L21.3736 8.35872C21.8658 7.87468 22.6572 7.88134 23.1413 8.37358C23.6253 8.86582 23.6187 9.65724 23.1264 10.1413L10.304 22.75H42.75C43.4404 22.75 44 23.3096 44 24Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 708 B |
3
src/assets/icon/dark/box.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.2999 2.4808C10.4654 2.14702 9.53457 2.14702 8.70013 2.4808L2.94291 4.78369C2.37343 5.01148 2 5.56305 2 6.1764V13.8223C2 14.4357 2.37343 14.9873 2.94291 15.2151L8.70013 17.5179C9.53457 17.8517 10.4654 17.8517 11.2999 17.5179L17.0571 15.2151C17.6266 14.9873 18 14.4357 18 13.8223V6.1764C18 5.56305 17.6266 5.01148 17.0571 4.78369L11.2999 2.4808ZM9.07152 3.40928C9.66755 3.17087 10.3324 3.17087 10.9285 3.40928L16.1538 5.49941L13.8751 6.41088L7.72133 3.94935L9.07152 3.40928ZM6.37504 4.48787L12.5289 6.94939L10.0001 7.96088L3.84633 5.49935L6.37504 4.48787ZM10.5001 8.83791L17 6.23797V13.8223C17 14.0268 16.8755 14.2106 16.6857 14.2866L10.9285 16.5895C10.7889 16.6453 10.6455 16.6881 10.5001 16.7177V8.83791ZM9.50015 8.83791V16.7178C9.35467 16.6881 9.21121 16.6453 9.07152 16.5895L3.3143 14.2866C3.12448 14.2106 3 14.0268 3 13.8223V6.23785L9.50015 8.83791Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 987 B |
3
src/assets/icon/dark/calendar.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M21.75 3C23.5449 3 25 4.45507 25 6.25V21.75C25 23.5449 23.5449 25 21.75 25H6.25C4.45507 25 3 23.5449 3 21.75V6.25C3 4.45507 4.45507 3 6.25 3H21.75ZM23.5 9.503H4.5V21.75C4.5 22.7165 5.2835 23.5 6.25 23.5H21.75C22.7165 23.5 23.5 22.7165 23.5 21.75V9.503ZM8.74878 17.5014C9.43913 17.5014 9.99878 18.0611 9.99878 18.7514C9.99878 19.4418 9.43913 20.0014 8.74878 20.0014C8.05842 20.0014 7.49878 19.4418 7.49878 18.7514C7.49878 18.0611 8.05842 17.5014 8.74878 17.5014ZM14.0033 17.5014C14.6936 17.5014 15.2533 18.0611 15.2533 18.7514C15.2533 19.4418 14.6936 20.0014 14.0033 20.0014C13.3129 20.0014 12.7533 19.4418 12.7533 18.7514C12.7533 18.0611 13.3129 17.5014 14.0033 17.5014ZM8.74878 12.5014C9.43913 12.5014 9.99878 13.0611 9.99878 13.7514C9.99878 14.4418 9.43913 15.0014 8.74878 15.0014C8.05842 15.0014 7.49878 14.4418 7.49878 13.7514C7.49878 13.0611 8.05842 12.5014 8.74878 12.5014ZM14.0033 12.5014C14.6936 12.5014 15.2533 13.0611 15.2533 13.7514C15.2533 14.4418 14.6936 15.0014 14.0033 15.0014C13.3129 15.0014 12.7533 14.4418 12.7533 13.7514C12.7533 13.0611 13.3129 12.5014 14.0033 12.5014ZM19.2577 12.5014C19.9481 12.5014 20.5077 13.0611 20.5077 13.7514C20.5077 14.4418 19.9481 15.0014 19.2577 15.0014C18.5674 15.0014 18.0077 14.4418 18.0077 13.7514C18.0077 13.0611 18.5674 12.5014 19.2577 12.5014ZM21.75 4.5H6.25C5.2835 4.5 4.5 5.2835 4.5 6.25V8.003H23.5V6.25C23.5 5.2835 22.7165 4.5 21.75 4.5Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
3
src/assets/icon/dark/download.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.25 39.5H35.75C36.4404 39.5 37 40.0596 37 40.75C37 41.3972 36.5081 41.9295 35.8778 41.9935L35.75 42H12.25C11.5596 42 11 41.4404 11 40.75C11 40.1028 11.4919 39.5705 12.1222 39.5065L12.25 39.5H35.75H12.25ZM23.6222 6.00645L23.75 6C24.3972 6 24.9295 6.49187 24.9935 7.12219L25 7.25V31.54L30.6467 25.8943C31.1348 25.4061 31.9263 25.4061 32.4144 25.8943C32.9026 26.3824 32.9026 27.1739 32.4144 27.6621L24.6363 35.4402C24.1481 35.9284 23.3567 35.9284 22.8685 35.4402L15.0903 27.6621C14.6022 27.1739 14.6022 26.3824 15.0903 25.8943C15.5785 25.4061 16.3699 25.4061 16.8581 25.8943L22.5 31.536V7.25C22.5 6.60279 22.9919 6.07047 23.6222 6.00645L23.75 6L23.6222 6.00645Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 792 B |
3
src/assets/icon/dark/folder.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2 5V11C2 12.1046 2.89543 13 4 13H12C13.1046 13 14 12.1046 14 11V6C14 4.89543 13.1046 4 12 4H7.17539L6.06235 3.10957C5.97369 3.03864 5.86354 3 5.75 3H4C2.89543 3 2 3.89543 2 5ZM3 5C3 4.44772 3.44772 4 4 4H5.57461L6.44274 4.6945L5.5567 5.49998H3V5ZM7.5933 5H12C12.5523 5 13 5.44772 13 6V11C13 11.5523 12.5523 12 12 12H4C3.44772 12 3 11.5523 3 11V6.49998H5.75C5.87438 6.49998 5.9943 6.45362 6.08634 6.36995L7.5933 5Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 545 B |
3
src/assets/icon/dark/globe.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M16 30C23.732 30 30 23.732 30 16C30 8.26801 23.732 2 16 2C8.26801 2 2 8.26801 2 16C2 23.732 8.26801 30 16 30ZM16 4C17.0317 4 18.283 4.94804 19.3347 7.22667C19.7084 8.03639 20.0331 8.9697 20.2941 10H11.7059C11.9669 8.9697 12.2916 8.03639 12.6653 7.22667C13.717 4.94804 14.9683 4 16 4ZM10.8494 6.38855C10.36 7.44883 9.95424 8.66735 9.64867 10H5.60539C6.97928 7.62495 9.1438 5.76448 11.7391 4.77849C11.4088 5.27683 11.1118 5.81994 10.8494 6.38855ZM9.27878 12C9.0968 13.2705 9 14.6141 9 16C9 17.3859 9.0968 18.7295 9.27878 20H4.68282C4.24062 18.7489 4 17.4025 4 16C4 14.5975 4.24062 13.2511 4.68282 12H9.27878ZM9.64867 22C9.95424 23.3327 10.36 24.5512 10.8494 25.6114C11.1118 26.1801 11.4088 26.7232 11.7391 27.2215C9.1438 26.2355 6.97928 24.375 5.60539 22H9.64867ZM11.7059 22H20.2941C20.0331 23.0303 19.7084 23.9636 19.3347 24.7733C18.283 27.052 17.0317 28 16 28C14.9683 28 13.717 27.052 12.6653 24.7733C12.2916 23.9636 11.9669 23.0303 11.7059 22ZM20.6991 20H11.3009C11.1068 18.7518 11 17.4068 11 16C11 14.5932 11.1068 13.2482 11.3009 12H20.6991C20.8932 13.2482 21 14.5932 21 16C21 17.4068 20.8932 18.7518 20.6991 20ZM22.3513 22H26.3946C25.0207 24.375 22.8562 26.2355 20.2609 27.2215C20.5912 26.7232 20.8882 26.1801 21.1506 25.6114C21.64 24.5512 22.0458 23.3327 22.3513 22ZM27.3172 20H22.7212C22.9032 18.7295 23 17.3859 23 16C23 14.6141 22.9032 13.2705 22.7212 12H27.3172C27.7594 13.2511 28 14.5975 28 16C28 17.4025 27.7594 18.7489 27.3172 20ZM20.2609 4.77849C22.8562 5.76448 25.0207 7.62495 26.3946 10H22.3513C22.0458 8.66735 21.64 7.44883 21.1506 6.38855C20.8882 5.81994 20.5912 5.27683 20.2609 4.77849Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
3
src/assets/icon/dark/leftbutton_0.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M21.6062 5.85517C23.0048 4.71494 24.9952 4.71494 26.3938 5.85517L39.5688 16.5966C40.4736 17.3342 41 18.4492 41 19.628V39.1134C41 41.2599 39.2875 43 37.175 43H32.075C29.9625 43 28.25 41.2599 28.25 39.1134V29.7492C28.25 29.0337 27.6792 28.4536 26.975 28.4536H21.025C20.3208 28.4536 19.75 29.0337 19.75 29.7492V39.1134C19.75 41.2599 18.0375 43 15.925 43H10.825C8.71251 43 7 41.2599 7 39.1134V19.628C7 18.4493 7.52645 17.3342 8.43124 16.5966L21.6062 5.85517ZM24.7979 7.87612C24.3317 7.49604 23.6683 7.49604 23.2021 7.87612L10.0271 18.6175C9.72548 18.8634 9.55 19.2351 9.55 19.628V39.1134C9.55 39.8289 10.1208 40.4089 10.825 40.4089H15.925C16.6292 40.4089 17.2 39.8289 17.2 39.1134V29.7492C17.2 27.6027 18.9125 25.8626 21.025 25.8626H26.975C29.0875 25.8626 30.8 27.6027 30.8 29.7492V39.1134C30.8 39.8289 31.3708 40.4089 32.075 40.4089H37.175C37.8792 40.4089 38.45 39.8289 38.45 39.1134V19.628C38.45 19.2351 38.2745 18.8634 37.9729 18.6175L24.7979 7.87612Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
3
src/assets/icon/dark/leftbutton_1.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M16 30C23.732 30 30 23.732 30 16C30 8.26801 23.732 2 16 2C8.26801 2 2 8.26801 2 16C2 23.732 8.26801 30 16 30ZM16 4C17.0317 4 18.283 4.94804 19.3347 7.22667C19.7084 8.03639 20.0331 8.9697 20.2941 10H11.7059C11.9669 8.9697 12.2916 8.03639 12.6653 7.22667C13.717 4.94804 14.9683 4 16 4ZM10.8494 6.38855C10.36 7.44883 9.95424 8.66735 9.64867 10H5.60539C6.97928 7.62495 9.1438 5.76448 11.7391 4.77849C11.4088 5.27683 11.1118 5.81994 10.8494 6.38855ZM9.27878 12C9.0968 13.2705 9 14.6141 9 16C9 17.3859 9.0968 18.7295 9.27878 20H4.68282C4.24062 18.7489 4 17.4025 4 16C4 14.5975 4.24062 13.2511 4.68282 12H9.27878ZM9.64867 22C9.95424 23.3327 10.36 24.5512 10.8494 25.6114C11.1118 26.1801 11.4088 26.7232 11.7391 27.2215C9.1438 26.2355 6.97928 24.375 5.60539 22H9.64867ZM11.7059 22H20.2941C20.0331 23.0303 19.7084 23.9636 19.3347 24.7733C18.283 27.052 17.0317 28 16 28C14.9683 28 13.717 27.052 12.6653 24.7733C12.2916 23.9636 11.9669 23.0303 11.7059 22ZM20.6991 20H11.3009C11.1068 18.7518 11 17.4068 11 16C11 14.5932 11.1068 13.2482 11.3009 12H20.6991C20.8932 13.2482 21 14.5932 21 16C21 17.4068 20.8932 18.7518 20.6991 20ZM22.3513 22H26.3946C25.0207 24.375 22.8562 26.2355 20.2609 27.2215C20.5912 26.7232 20.8882 26.1801 21.1506 25.6114C21.64 24.5512 22.0458 23.3327 22.3513 22ZM27.3172 20H22.7212C22.9032 18.7295 23 17.3859 23 16C23 14.6141 22.9032 13.2705 22.7212 12H27.3172C27.7594 13.2511 28 14.5975 28 16C28 17.4025 27.7594 18.7489 27.3172 20ZM20.2609 4.77849C22.8562 5.76448 25.0207 7.62495 26.3946 10H22.3513C22.0458 8.66735 21.64 7.44883 21.1506 6.38855C20.8882 5.81994 20.5912 5.27683 20.2609 4.77849Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
3
src/assets/icon/dark/leftbutton_10.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.4089 2.51203C12.5053 2.14573 11.4947 2.14573 10.5911 2.51203L3.09252 5.552C2.43211 5.81973 2 6.46118 2 7.1738V16.8265C2 17.5391 2.43211 18.1806 3.09252 18.4483L10.5911 21.4883C10.7263 21.5431 10.8639 21.5897 11.0032 21.6281C11.0011 21.5857 11 21.543 11 21.5V20.0355L3.65607 17.0582C3.56173 17.0199 3.5 16.9283 3.5 16.8265V7.7493L11.2503 10.7633V15.4082C11.5487 14.7947 12.0906 14.3215 12.7503 14.1143V10.7647L20.5 7.77243V11.5498C21.3872 12.0033 21.9955 12.9245 22 13.9882V7.1738C22 6.46118 21.5679 5.81973 20.9075 5.552L13.4089 2.51203ZM11.1547 3.90214C11.6968 3.68236 12.3032 3.68236 12.8453 3.90214L19.4376 6.57469L16.7684 7.60531L9.24097 4.67796L11.1547 3.90214ZM7.21472 5.49941L14.6917 8.40714L12.0013 9.44593L4.58967 6.56362L7.21472 5.49941ZM14 15H13.5C12.6716 15 12 15.6716 12 16.5V18H14.5V17.75C14.5 17.3358 14.8358 17 15.25 17C15.6642 17 16 17.3358 16 17.75V18H19V17.75C19 17.3358 19.3358 17 19.75 17C20.1642 17 20.5 17.3358 20.5 17.75V18H23V16.5C23 15.6716 22.3284 15 21.5 15H21V14C21 13.0335 20.2165 12.25 19.25 12.25H15.75C14.7835 12.25 14 13.0335 14 14V15ZM15.5 14C15.5 13.8619 15.6119 13.75 15.75 13.75H19.25C19.3881 13.75 19.5 13.8619 19.5 14V15H15.5V14ZM12 21.5V19.5H14.5V20.25C14.5 20.6642 14.8358 21 15.25 21C15.6642 21 16 20.6642 16 20.25V19.5H19V20.25C19 20.6642 19.3358 21 19.75 21C20.1642 21 20.5 20.6642 20.5 20.25V19.5H23V21.5C23 22.3284 22.3284 23 21.5 23H13.5C12.6716 23 12 22.3284 12 21.5Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
6
src/assets/icon/dark/leftbutton_11.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M37.75 6C38.4403 6 39 6.55964 39 7.25V9H40.75C41.4403 9 42 9.55964 42 10.25C42 10.9404 41.4403 11.5 40.75 11.5H39V13.25C39 13.9404 38.4403 14.5 37.75 14.5C37.0596 14.5 36.5 13.9404 36.5 13.25V11.5H34.75C34.0596 11.5 33.5 10.9404 33.5 10.25C33.5 9.55964 34.0596 9 34.75 9H36.5V7.25C36.5 6.55964 37.0596 6 37.75 6Z" fill="#f0f0f0"/>
|
||||
<path d="M15 11.25C15 10.5596 14.4403 10 13.75 10C13.0596 10 12.5 10.5596 12.5 11.25V13H10.75C10.0596 13 9.49999 13.5596 9.49999 14.25C9.49999 14.9404 10.0596 15.5 10.75 15.5H12.5V17.25C12.5 17.9404 13.0596 18.5 13.75 18.5C14.4403 18.5 15 17.9404 15 17.25V15.5H16.75C17.4403 15.5 18 14.9404 18 14.25C18 13.5596 17.4403 13 16.75 13H15V11.25Z" fill="#f0f0f0"/>
|
||||
<path d="M33.75 30C34.4403 30 35 30.5596 35 31.25V33H36.75C37.4403 33 38 33.5596 38 34.25C38 34.9404 37.4403 35.5 36.75 35.5H35V37.25C35 37.9404 34.4403 38.5 33.75 38.5C33.0596 38.5 32.5 37.9404 32.5 37.25V35.5H30.75C30.0596 35.5 29.5 34.9404 29.5 34.25C29.5 33.5596 30.0596 33 30.75 33H32.5V31.25C32.5 30.5596 33.0596 30 33.75 30Z" fill="#f0f0f0"/>
|
||||
<path d="M25.8895 15.4044C27.7445 13.5494 30.7521 13.5494 32.607 15.4044C34.462 17.2594 34.462 20.2669 32.607 22.1219L12.1132 42.6158C10.2582 44.4707 7.25069 44.4707 5.3957 42.6158C3.54071 40.7608 3.54071 37.7532 5.3957 35.8982L25.8895 15.4044ZM24.5309 20.2986L7.16347 37.666C6.28479 38.5447 6.28479 39.9693 7.16347 40.848C8.04215 41.7267 9.46677 41.7267 10.3454 40.848L27.7129 23.4806L24.5309 20.2986ZM29.4806 21.7128L30.8393 20.3542C31.718 19.4755 31.718 18.0509 30.8393 17.1722C29.9606 16.2935 28.536 16.2935 27.6573 17.1722L26.2987 18.5308L29.4806 21.7128Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
3
src/assets/icon/dark/leftbutton_12.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10 18C11.1046 18 12 17.1046 12 16C12 14.8954 11.1046 14 10 14C8.89543 14 8 14.8954 8 16C8 17.1046 8.89543 18 10 18ZM16 18C17.1046 18 18 17.1046 18 16C18 14.8954 17.1046 14 16 14C14.8954 14 14 14.8954 14 16C14 17.1046 14.8954 18 16 18ZM24 16C24 17.1046 23.1046 18 22 18C20.8954 18 20 17.1046 20 16C20 14.8954 20.8954 14 22 14C23.1046 14 24 14.8954 24 16ZM30 16C30 23.732 23.732 30 16 30C8.26801 30 2 23.732 2 16C2 8.26801 8.26801 2 16 2C23.732 2 30 8.26801 30 16ZM28 16C28 9.37258 22.6274 4 16 4C9.37258 4 4 9.37258 4 16C4 22.6274 9.37258 28 16 28C22.6274 28 28 22.6274 28 16Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 707 B |
5
src/assets/icon/dark/leftbutton_2.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M15.9958 20.2505C15.9958 19.5601 16.5555 19.0005 17.2458 19.0005H30.7503C31.4406 19.0005 32.0003 19.5601 32.0003 20.2505C32.0003 20.9408 31.4406 21.5005 30.7503 21.5005H17.2458C16.5555 21.5005 15.9958 20.9408 15.9958 20.2505Z" fill="#f0f0f0"/>
|
||||
<path d="M17.2502 26.4755C16.5599 26.4755 16.0002 27.0351 16.0002 27.7255C16.0002 28.4158 16.5599 28.9755 17.2502 28.9755H26.7502C27.4406 28.9755 28.0002 28.4158 28.0002 27.7255C28.0002 27.0351 27.4406 26.4755 26.7502 26.4755H17.2502Z" fill="#f0f0f0"/>
|
||||
<path d="M16.5358 5.45151C33.8238 -1.46711 50.882 16.8873 41.5929 33.6076C37.3737 41.2022 26.8909 47.318 14.6846 41.5336L6.20039 43.9576C4.88396 44.3338 3.66741 43.1222 4.03682 41.8046C4.54321 39.9986 5.74306 35.7407 6.44459 33.4333C1.18328 24.045 4.73099 10.1758 16.5358 5.45151ZM39.4076 32.3935C47.4934 17.839 32.6847 1.68154 17.4647 7.77254C6.98817 11.9652 3.9394 24.4657 8.87032 32.6319L9.16123 33.1136L8.99336 33.6508C8.46122 35.3537 7.45649 38.8846 6.80827 41.1839L14.922 38.8657L15.3554 39.0806C26.3618 44.5367 35.6773 39.1079 39.4076 32.3935Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
3
src/assets/icon/dark/leftbutton_3.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19.6977 2.14829C19.8879 2.28981 20 2.51293 20 2.75001V16.25C20 16.2767 19.9986 16.303 19.9959 16.329C19.9986 16.3856 20 16.4427 20 16.5C20 18.433 18.433 20 16.5 20C14.567 20 13 18.433 13 16.5C13 14.567 14.567 13 16.5 13C17.2436 13 17.9331 13.2319 18.5 13.6273V7.75803L10 10.308V18.25C10 18.2766 9.99861 18.303 9.99589 18.3289C9.99862 18.3856 10 18.4426 10 18.5C10 20.433 8.433 22 6.5 22C4.567 22 3 20.433 3 18.5C3 16.567 4.567 15 6.5 15C7.24362 15 7.93308 15.2319 8.5 15.6273V5.75001C8.5 5.4188 8.71725 5.12681 9.03449 5.03164L19.0345 2.03164C19.2616 1.96351 19.5075 2.00677 19.6977 2.14829ZM10 8.74198L18.5 6.19198V3.75803L10 6.30803V8.74198ZM6.5 16.5C5.39543 16.5 4.5 17.3954 4.5 18.5C4.5 19.6046 5.39543 20.5 6.5 20.5C7.60457 20.5 8.5 19.6046 8.5 18.5C8.5 17.3954 7.60457 16.5 6.5 16.5ZM14.5 16.5C14.5 17.6046 15.3954 18.5 16.5 18.5C17.6046 18.5 18.5 17.6046 18.5 16.5C18.5 15.3954 17.6046 14.5 16.5 14.5C15.3954 14.5 14.5 15.3954 14.5 16.5Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
3
src/assets/icon/dark/leftbutton_4.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M6.25 4H17.75C19.483 4 20.8992 5.35645 20.9949 7.06558L21 7.25V16.75C21 18.483 19.6435 19.8992 17.9344 19.9949L17.75 20H6.25C4.51697 20 3.10075 18.6435 3.00514 16.9344L3 16.75V7.25C3 5.51697 4.35645 4.10075 6.06558 4.00514L6.25 4H17.75H6.25ZM17.75 5.5H6.25C5.33183 5.5 4.57881 6.20711 4.5058 7.10647L4.5 7.25V16.75C4.5 17.6682 5.20711 18.4212 6.10647 18.4942L6.25 18.5H17.75C18.6682 18.5 19.4212 17.7929 19.4942 16.8935L19.5 16.75V7.25C19.5 6.33183 18.7929 5.57881 17.8935 5.5058L17.75 5.5ZM10.0528 9.58541C10.1626 9.36586 10.4121 9.26237 10.6396 9.32882L10.7236 9.3618L15.1056 11.5528C15.2023 11.6012 15.2808 11.6796 15.3292 11.7764C15.439 11.9959 15.372 12.2576 15.1824 12.3998L15.1056 12.4472L10.7236 14.6382C10.6542 14.6729 10.5776 14.691 10.5 14.691C10.2545 14.691 10.0504 14.5141 10.0081 14.2809L10 14.191V9.80902C10 9.73139 10.0181 9.65484 10.0528 9.58541Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 994 B |
3
src/assets/icon/dark/leftbutton_5.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M30.9968 12C33.7582 12 35.9968 14.2386 35.9968 17C35.9968 19.7614 33.7582 22 30.9968 22C28.2354 22 25.9968 19.7614 25.9968 17C25.9968 14.2386 28.2354 12 30.9968 12ZM28.4968 17C28.4968 18.3807 29.6161 19.5 30.9968 19.5C32.3775 19.5 33.4968 18.3807 33.4968 17C33.4968 15.6193 32.3775 14.5 30.9968 14.5C29.6161 14.5 28.4968 15.6193 28.4968 17ZM6 10.75C6 8.12665 8.12665 6 10.75 6H37.25C39.8734 6 42 8.12665 42 10.75V37.25C42 38.4377 41.5641 39.5236 40.8435 40.3565C40.7898 40.4531 40.7223 40.5441 40.641 40.6268C40.5548 40.7144 40.4589 40.7866 40.3566 40.8434C39.5238 41.564 38.4378 42 37.25 42H10.75C9.55998 42 8.47218 41.5624 7.63873 40.8393C7.53919 40.7832 7.44575 40.7123 7.36158 40.6268C7.28258 40.5466 7.21664 40.4583 7.16373 40.3648C6.43884 39.5309 6 38.4417 6 37.25V10.75ZM39.5 37.25V10.75C39.5 9.50736 38.4926 8.5 37.25 8.5H10.75C9.50736 8.5 8.5 9.50736 8.5 10.75V37.25C8.5 37.4065 8.51598 37.5592 8.54639 37.7067L21.3697 25.0851C22.8291 23.6486 25.171 23.6485 26.6306 25.0849L39.454 37.7048C39.4842 37.5579 39.5 37.4058 39.5 37.25ZM10.75 39.5H37.25C37.3948 39.5 37.5364 39.4863 37.6736 39.4602L24.877 26.8668C24.3905 26.388 23.6099 26.388 23.1234 26.8668L10.3284 39.4606C10.465 39.4865 10.6059 39.5 10.75 39.5Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
3
src/assets/icon/dark/leftbutton_6.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M16.25 18C16.9404 18 17.5 18.5596 17.5 19.25V23H20.75C21.4404 23 22 23.5596 22 24.25C22 24.9404 21.4404 25.5 20.75 25.5H17.5V28.75C17.5 29.4404 16.9404 30 16.25 30C15.5596 30 15 29.4404 15 28.75V25.5H11.25C10.5596 25.5 10 24.9404 10 24.25C10 23.5596 10.5596 23 11.25 23H15V19.25C15 18.5596 15.5596 18 16.25 18ZM32 27.5C32 28.8807 30.8807 30 29.5 30C28.1193 30 27 28.8807 27 27.5C27 26.1193 28.1193 25 29.5 25C30.8807 25 32 26.1193 32 27.5ZM33.5 23C34.8807 23 36 21.8807 36 20.5C36 19.1193 34.8807 18 33.5 18C32.1193 18 31 19.1193 31 20.5C31 21.8807 32.1193 23 33.5 23ZM4 23.9998C4 16.2679 10.268 9.99985 18 9.99985H30C37.732 9.99985 44 16.2679 44 23.9998C44 31.7318 37.732 37.9998 30 37.9998H18C10.268 37.9998 4 31.7318 4 23.9998ZM18 12.4998C11.6487 12.4998 6.5 17.6486 6.5 23.9998C6.5 30.3511 11.6487 35.4998 18 35.4998H30C36.3513 35.4998 41.5 30.3511 41.5 23.9998C41.5 17.6486 36.3513 12.4998 30 12.4998H18Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
6
src/assets/icon/dark/leftbutton_7.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M17.7499 2.00098C18.9407 2.00098 19.9155 2.92614 19.9947 4.09693L19.9999 4.25098V19.749C19.9999 20.9399 19.0747 21.9147 17.9039 21.9939L17.7499 21.999H6.25C5.05914 21.999 4.08436 21.0739 4.00519 19.9031L4 19.749V4.25098C4 3.06011 4.92516 2.08533 6.09595 2.00617L6.25 2.00098H17.7499ZM17.7499 3.50098H6.25C5.8703 3.50098 5.55651 3.78313 5.50685 4.14921L5.5 4.25098V19.749C5.5 20.1287 5.78215 20.4425 6.14823 20.4922L6.25 20.499H17.7499C18.1296 20.499 18.4434 20.2169 18.493 19.8508L18.4999 19.749V4.25098C18.4999 3.87128 18.2177 3.55749 17.8516 3.50782L17.7499 3.50098Z" fill="#f0f0f0"/>
|
||||
<path d="M6.99994 15.75C6.99994 15.3358 7.33572 15 7.74994 15H16.2499C16.6642 15 16.9999 15.3358 16.9999 15.75C16.9999 16.1642 16.6642 16.5 16.2499 16.5H7.74994C7.33572 16.5 6.99994 16.1642 6.99994 15.75Z" fill="#f0f0f0"/>
|
||||
<path d="M6.99994 7.75001C6.99994 7.3358 7.33572 7.00001 7.74994 7.00001H16.2499C16.6642 7.00001 16.9999 7.3358 16.9999 7.75001C16.9999 8.16422 16.6642 8.50001 16.2499 8.50001H7.74994C7.33572 8.50001 6.99994 8.16422 6.99994 7.75001Z" fill="#f0f0f0"/>
|
||||
<path d="M6.99994 11.75C6.99994 11.3358 7.33572 11 7.74994 11H16.2499C16.6642 11 16.9999 11.3358 16.9999 11.75C16.9999 12.1642 16.6642 12.5 16.2499 12.5H7.74994C7.33572 12.5 6.99994 12.1642 6.99994 11.75Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
4
src/assets/icon/dark/leftbutton_8.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.5416 8.60759L11.642 6.37799C11.8907 5.874 12.6094 5.874 12.8581 6.37799L13.9585 8.60759L16.419 8.96512C16.9752 9.04594 17.1972 9.72944 16.7948 10.1217L15.0143 11.8572L15.4347 14.3078C15.5297 14.8617 14.9482 15.2842 14.4508 15.0226L12.25 13.8656L10.0493 15.0226C9.55182 15.2842 8.9704 14.8617 9.06541 14.3078L9.48571 11.8572L7.70527 10.1217C7.30281 9.72944 7.5249 9.04594 8.08108 8.96512L10.5416 8.60759ZM11.6 9.52747C11.5012 9.72761 11.3103 9.86633 11.0894 9.89842L9.6358 10.1096L10.6876 11.1349C10.8474 11.2907 10.9204 11.5152 10.8826 11.7351L10.6343 13.1829L11.9345 12.4993C12.132 12.3955 12.368 12.3955 12.5656 12.4993L13.8657 13.1829L13.6174 11.7351C13.5797 11.5152 13.6526 11.2907 13.8124 11.1349L14.8643 10.1096L13.4107 9.89842C13.1898 9.86633 12.9989 9.72761 12.9001 9.52747L12.25 8.21029L11.6 9.52747Z" fill="#f0f0f0"/>
|
||||
<path d="M6.5 2C5.11929 2 4 3.11929 4 4.5V19.5C4 20.8807 5.11929 22 6.5 22H19.75C20.1642 22 20.5 21.6642 20.5 21.25C20.5 20.8358 20.1642 20.5 19.75 20.5H6.5C5.94772 20.5 5.5 20.0523 5.5 19.5H19.75C20.1642 19.5 20.5 19.1642 20.5 18.75V4.5C20.5 3.11929 19.3807 2 18 2H6.5ZM19 18H5.5V4.5C5.5 3.94772 5.94772 3.5 6.5 3.5H18C18.5523 3.5 19 3.94772 19 4.5V18Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
3
src/assets/icon/dark/leftbutton_9.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2 5.25C2 3.45507 3.45507 2 5.25 2H16.75C18.5449 2 20 3.45507 20 5.25V8.00934C19.4951 7.95675 18.9878 7.99076 18.5 8.10566V7H3.5V16.75C3.5 17.7165 4.2835 18.5 5.25 18.5H13.2347L12.7935 19.2641C12.6577 19.4994 12.5652 19.7477 12.5135 20H5.25C3.45507 20 2 18.5449 2 16.75V5.25ZM5.25 3.5C4.2835 3.5 3.5 4.2835 3.5 5.25V5.5H18.5V5.25C18.5 4.2835 17.7165 3.5 16.75 3.5H5.25ZM19.8565 9C19.6411 8.98005 19.4255 8.9803 19.2123 9C18.1194 9.10098 17.0907 9.71296 16.5002 10.7357C15.7915 11.9632 15.9109 13.4415 16.685 14.5239L13.6595 19.7641C13.6153 19.8407 13.5788 19.9196 13.5499 20C13.3149 20.6516 13.5724 21.3977 14.1933 21.7562C14.8908 22.1589 15.7828 21.9199 16.1855 21.2224L19.2166 15.9724C20.5321 16.0903 21.8586 15.4548 22.5624 14.2357C23.3244 12.916 23.1291 11.3063 22.1921 10.2105L20.5417 13.0691C20.2195 13.6271 19.506 13.8183 18.948 13.4961C18.39 13.1739 18.1988 12.4604 18.521 11.9024L20.1714 9.04377C20.0667 9.0243 19.9616 9.00974 19.8565 9ZM10.3029 9.2432C10.5828 9.54854 10.5621 10.023 10.2568 10.3029L7.85992 12.5L10.2568 14.6971C10.5621 14.977 10.5828 15.4515 10.3029 15.7568C10.023 16.0621 9.54855 16.0828 9.24321 15.8029L6.24321 13.0529C6.08823 12.9108 6 12.7102 6 12.5C6 12.2898 6.08823 12.0892 6.24321 11.9471L9.24321 9.19713C9.54855 8.91724 10.023 8.93786 10.3029 9.2432ZM13.2568 15.8029L15.2766 13.9514C14.9587 13.0273 14.9412 12.0035 15.2685 11.0412L13.2568 9.19714C12.9515 8.91724 12.477 8.93787 12.1971 9.24321C11.9172 9.54855 11.9379 10.023 12.2432 10.3029L14.6401 12.5L12.2432 14.6971C11.9379 14.977 11.9172 15.4515 12.1971 15.7568C12.477 16.0621 12.9515 16.0828 13.2568 15.8029Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
3
src/assets/icon/dark/text.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5.5 5C5.22386 5 5 5.22386 5 5.5C5 5.77614 5.22386 6 5.5 6H10.5C10.7761 6 11 5.77614 11 5.5C11 5.22386 10.7761 5 10.5 5H5.5ZM5.5 7C5.22386 7 5 7.22386 5 7.5C5 7.77614 5.22386 8 5.5 8H8.5C8.77614 8 9 7.77614 9 7.5C9 7.22386 8.77614 7 8.5 7H5.5ZM5.5 9C5.22386 9 5 9.22386 5 9.5C5 9.77614 5.22386 10 5.5 10H10.5C10.7761 10 11 9.77614 11 9.5C11 9.22386 10.7761 9 10.5 9H5.5ZM4.5 2C3.11929 2 2 3.11929 2 4.5V11.5C2 12.8807 3.11929 14 4.5 14H11.5C12.8807 14 14 12.8807 14 11.5V4.5C14 3.11929 12.8807 2 11.5 2H4.5ZM3 4.5C3 3.67157 3.67157 3 4.5 3H11.5C12.3284 3 13 3.67157 13 4.5V11.5C13 12.3284 12.3284 13 11.5 13H4.5C3.67157 13 3 12.3284 3 11.5V4.5Z" fill="#f0f0f0"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 775 B |
@ -21,7 +21,6 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
ui->titlebar->setBackgroundTransparent(true);
|
||||
//ui->titlebar->setSwitchThemeMenuVisible(false); // 去除 dtk 标题栏主题切换菜单
|
||||
setMaskAlpha(240);
|
||||
setMaskColor(QColor("#f3f7f8"));
|
||||
|
||||
initConfig();
|
||||
updateUi(0);
|
||||
@ -30,9 +29,29 @@ MainWindow::MainWindow(QWidget *parent)
|
||||
connect(DGuiApplicationHelper::instance(), &DGuiApplicationHelper::themeTypeChanged, this, [=](DGuiApplicationHelper::ColorType themeType) {
|
||||
if (themeType == DGuiApplicationHelper::DarkType) {
|
||||
//深色模式
|
||||
|
||||
setMaskColor(QColor("#2a2b2b"));
|
||||
this->setStyleSheet("#mainpage{background-color: transparent;border-radius:14px;}\
|
||||
QLabel#cardtitle,QLabel#title,QLabel#title_1,QLabel#title_2,QLabel#title_3 {color:#FFFFFF}\
|
||||
");
|
||||
backButtom->setIcon(QIcon(":/icon/light/back.svg"));
|
||||
downloadButton->setIcon(QIcon(":/icon/light/download.svg"));
|
||||
int i = 0;
|
||||
while (i < ui->buttonGroup->buttons().size()) {
|
||||
ui->buttonGroup->buttons()[i]->setIcon(QIcon(":/icon/dark/leftbutton_" + QString::number(i) + ".svg"));
|
||||
if (QLocale::system().name() == "zh_CN") {
|
||||
ui->buttonGroup->buttons()[i]->setStyleSheet("QPushButton{background-color:transparent;}\
|
||||
QPushButton:hover{background-color:#7a7a7a;border:0px;border-radius:8px;}\
|
||||
QPushButton:checked{background-color:#6e6e6e;border:0px;border-radius:8px;}");
|
||||
} else {
|
||||
ui->buttonGroup->buttons()[i]->setStyleSheet("QPushButton{background-color:transparent;text-align: left; padding-left: 15px;}\
|
||||
QPushButton:hover{background-color:#7a7a7a;border:0px;border-radius:8px;text-align: left; padding-left: 15px;}\
|
||||
QPushButton:checked{background-color:#6e6e6e;border:0px;border-radius:8px;text-align: left; padding-left: 15px;}");
|
||||
}
|
||||
i++;
|
||||
}
|
||||
} else {
|
||||
//亮色模式
|
||||
setMaskColor(QColor("#f3f7f8"));
|
||||
this->setStyleSheet("#mainpage{background-color: transparent;border-radius:14px;}\
|
||||
QLabel#cardtitle,QLabel#title,QLabel#title_1,QLabel#title_2,QLabel#title_3 {color:#000000}\
|
||||
");
|
||||
|
||||
@ -240,7 +240,20 @@ void AppIntoPage::sltAppinfoTags(QStringList *tagList)
|
||||
void AppIntoPage::setTheme(bool dark)
|
||||
{
|
||||
if(dark)
|
||||
{}else {
|
||||
{
|
||||
QString frameStyleSheet ="#frame,#frame_2,#frame_3,#frame_4{background-color: #252525;border-radius:14px;border:1px solid rgb(64, 64, 64);}";
|
||||
ui->frame->setStyleSheet(frameStyleSheet);
|
||||
ui->frame_2->setStyleSheet(frameStyleSheet);
|
||||
ui->frame_3->setStyleSheet(frameStyleSheet);
|
||||
ui->frame_4->setStyleSheet(frameStyleSheet);
|
||||
|
||||
ui->icon_1->setPixmap(QPixmap(":/icon/dark/box.svg"));
|
||||
ui->icon_2->setPixmap(QPixmap(":/icon/dark/box.svg"));
|
||||
ui->icon_3->setPixmap(QPixmap(":/icon/dark/calendar.svg"));
|
||||
ui->icon_4->setPixmap(QPixmap(":/icon/dark/text.svg"));
|
||||
ui->icon_5->setPixmap(QPixmap(":/icon/dark/folder.svg"));
|
||||
ui->icon_6->setPixmap(QPixmap(":/icon/dark/globe.svg"));
|
||||
}else {
|
||||
//亮色模式
|
||||
QString frameStyleSheet ="#frame,#frame_2,#frame_3,#frame_4{background-color: #fbfbfb;border-radius:14px;border:1px solid rgb(229,229,229);}";
|
||||
ui->frame->setStyleSheet(frameStyleSheet);
|
||||
|
||||
@ -13,10 +13,10 @@ void AppListPage::setTheme(bool dark)
|
||||
isDark=dark;
|
||||
if(dark)
|
||||
{
|
||||
|
||||
this->setStyleSheet("#frame{background-color: #252525;border-radius:14px;border:1px solid rgb(64, 64, 64);}");
|
||||
}else {
|
||||
//亮色模式
|
||||
this->setStyleSheet("#frame{background-color: #ffffff;border-radius:14px;border:1px solid rgb(229,229,229);}#webEngineView{border-radius:14px;}");
|
||||
this->setStyleSheet("#frame{background-color: #ffffff;border-radius:14px;border:1px solid rgb(229,229,229);}");
|
||||
}
|
||||
if(isSearch)
|
||||
{
|
||||
|
||||