Skip to content

Commit 86f65b4

Browse files
committed
fix: fix #16
1 parent 3831c1f commit 86f65b4

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

style.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,10 @@ body[theme-mode='dark'] [class^='ant'] {
144144
[theme-mode='light'] #root[style*='background: var(--color-white)'],
145145
/* https://github.com/hakadao/CherryStudio-Aero/issues/14 */
146146
/* selection assitant panel */
147-
[theme-mode='light'] [class^='WindowFrame'] {
147+
[theme-mode='light'] [class^='WindowFrame'],
148+
/* https://github.com/hakadao/CherryStudio-Aero/issues/13#issuecomment-3105519544 */
149+
/* Tooltip background is too transparent */
150+
[theme-mode='light'] .ant-tooltip-inner {
148151
--color-white: #ffffff;
149152
--color-white-soft: rgba(255, 255, 255, 0.8);
150153
--color-white-mute: rgba(255, 255, 255, 0.94);
@@ -158,7 +161,10 @@ body[theme-mode='dark'] [class^='ant'] {
158161
[theme-mode='dark'] [class^='ant-modal'],
159162
/* https://github.com/hakadao/CherryStudio-Aero/issues/14 */
160163
/* selection assitant panel */
161-
[theme-mode='dark'] [class^='WindowFrame'] {
164+
[theme-mode='dark'] [class^='WindowFrame'],
165+
/* https://github.com/hakadao/CherryStudio-Aero/issues/13#issuecomment-3105519544 */
166+
/* Tooltip background is too transparent */
167+
[theme-mode='dark'] .ant-tooltip-inner {
162168
--color-black: #181818;
163169
--color-black-soft: #222222;
164170
--color-black-mute: #333333;
@@ -203,10 +209,7 @@ body[theme-mode='dark'][os='windows'] {
203209
.ant-drawer-content[style*='background-color: var(--color-background)'],
204210
/* https://github.com/hakadao/CherryStudio-Aero/issues/12 */
205211
/* Search bar background is too transparent */
206-
[class^='SearchBarContainer'],
207-
/* https://github.com/hakadao/CherryStudio-Aero/issues/13#issuecomment-3105519544 */
208-
/* Tooltip background is too transparent */
209-
.ant-tooltip-inner {
212+
[class^='SearchBarContainer'] {
210213
background: var(--aero-background-solid) !important;
211214
}
212215

0 commit comments

Comments
 (0)