Skip to content

Commit

Permalink
Add CoolApk theme (#9)
Browse files Browse the repository at this point in the history
* Add a Huorong theme

* fix

* Color gradient

* Add CoolApk theme

* Correct Color
  • Loading branch information
yiteei authored Oct 12, 2024
1 parent f9ddb48 commit 3fe6b8d
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions themes/CoolApk.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/* 酷安 */

/* 默认图标 */
.floating-icon {
display: none !important;
}

/* 背景 */
.floating-bg {
overflow: hidden !important;
}

/* 图标 */
.floating-thumb {
background-size: contain !important;
background-color: transparent !important;
background-image: url("data:image/webp;base64,UklGRhQDAABXRUJQVlA4IAgDAADwEACdASo4ADgAPjEKjEYiERELgCADBLEAYg35E771IOAtSD9Zt9V6wD0APK2/Zn4QP2R/YD2cLlzyo2QDpAP4h3AEggGReKn5u/6nuC/qh6TPrc/XL2EVtK50lXBy7xeS6oLfQ7N+/jV1Jd5IAh6WTM1sG3ZCvnMCeUZ3+LfvqRuy9FyTSYRVWl0qz/IZsv4A/vXLMw9o6/+A2LaFI//vkD/78Rf+/EX9/vLkKUXSg5fB1JXOck71fF/aOPqXxNEYgXbHj9/xf0yvzedPsjmsxP0RDBr9qguJ1HyZwQWWz/seXoyZZybpf4cm58UqxAGxYJ8kDSfrf/4Md/lkjYgYSY5nk++uO4s3fgfJv+XEO2LhBJ7J7FZMxbmfh8+f1Qasu3/YF9c6PLMvmc3gE3+7n74HmEMLRUeVSn5tZEDFB59bJELTerAIyFFUqFCPq7R+GbJMa1c/yZrstmYKs2P/8uN/3thFXmzNmIlVmtGmFy/dAPT11+d7KdvuMife6nY1fgXRO+grz3vLj362FiR192fYMS9A8amcamM+0/6YYZ/7ocgZtPtO71+JYQc3it3kWd6W6ws7j28x1dtVnXafXFw2R7Yq8YmOCIwgq9vj/juFX15A65qFh+MGCMPUdhWhqb59ZZnHiX/70zt5F89Ee3EixzKf5PmPbnG93QU/u10L468tSiAv/WIbtBnoMxeATxO0gf3UUfx0Di8Y1NAO3m9Ze41/IfMRX697V8fg1Z2LPYBnyJBCCuaLa8dTRrSi1RJ7GnBYQEv4J/gN0s7bxwWPAVP89miKbAb+jnZnW38MO6bLnd8HUSX4hW/ygpTaRq7JN0rlHd3d+eriDoo3q+4+H7QTx8vBHRk82/MsNH+wJrP0TKsfm6RYOBnPm6kQi5MQmZ9teJGRaY0ries+kpJtaPcqGNgZp2T+hTi9cZJVmvWF3fFMIxu7wDOhaCs7QljK8C0a8PJdIV5fyC+HYXongY0j21RWPA3/OVJN38bjexf5yYYwmwP8HqdjGFSsSyEVd3+AAA==") !important;
}

.light,
[data-theme="light"] {
--nextui-primary: 151 83% 34% !important;
--nextui-secondary: 151 48% 47% !important;
--nextui-box-shadow-small: 0px 4px 10px rgba(0, 0, 0, 0.02) !important;
--nextui-box-shadow-medium: 0px 4px 10px rgba(0, 0, 0, 0.02) !important;
--nextui-box-shadow-large: 0px 4px 10px rgba(0, 0, 0, 0.02) !important;
/* 自定义变量 */
--custom-main-background: hsl(0, 0%, 96%);
--custom-side-background: linear-gradient(
135deg,
hsl(122, 20%, 95%) 30%,
hsl(0, 0%, 96%) 100%
);
}

.dark,
[data-theme="dark"] {
--nextui-primary: 151 83% 27% !important;
--nextui-secondary: 150 43% 42% !important;
--nextui-box-shadow-small: 0px 4px 10px rgba(0, 0, 0, 0.02) !important;
--nextui-box-shadow-medium: 0px 4px 10px rgba(0, 0, 0, 0.02) !important;
--nextui-box-shadow-large: 0px 4px 10px rgba(0, 0, 0, 0.02) !important;
}

/* 下拉菜单保持默认阴影 */
[data-slot="content"] {
--nextui-box-shadow-small: 0px 0px 5px 0px rgb(0 0 0 / 0.05),
0px 2px 10px 0px rgb(0 0 0 / 0.2),
inset 0px 0px 1px 0px rgb(255 255 255 / 0.15) !important;
--nextui-box-shadow-medium: 0px 0px 15px 0px rgb(0 0 0 / 0.06),
0px 2px 30px 0px rgb(0 0 0 / 0.22),
inset 0px 0px 1px 0px rgb(255 255 255 / 0.15) !important;
--nextui-box-shadow-large: 0px 0px 30px 0px rgb(0 0 0 / 0.07),
0px 30px 60px 0px rgb(0 0 0 / 0.26),
inset 0px 0px 1px 0px rgb(255 255 255 / 0.15) !important;
--nextui-hover-opacity: 0.9 !important;
}

.main {
background: var(--custom-main-background) !important;
}
.side {
background: var(--custom-side-background) !important;
}

0 comments on commit 3fe6b8d

Please sign in to comment.