Skip to content

Commit 611e1ba

Browse files
committed
fix: The Text in Search Box is Hard to Read #12
1 parent 52a0eef commit 611e1ba

File tree

5 files changed

+30
-5
lines changed

5 files changed

+30
-5
lines changed

README-cmn_CN.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ body[theme-mode='light'] [class^='ant'] {
7777
--ant-color-bg-container: var(--aero-background-1);
7878
--ant-segmented-item-selected-bg: var(--aero-background-3);
7979
--ant-button-default-bg: var(--aero-background-1);
80+
--ant-radio-button-bg: var(--aero-background-1);
8081
}
8182

8283
/* reset ant design variables */
@@ -86,6 +87,7 @@ body[theme-mode='dark'] [class^='ant'] {
8687
--ant-color-bg-container: var(--fill-1);
8788
--ant-segmented-item-selected-bg: var(--fill-3);
8889
--ant-button-default-bg: var(--fill-1);
90+
--ant-radio-button-bg: var(--fill-1);
8991
}
9092

9193
/* Fix new window background issue to adapt to new UI */
@@ -218,7 +220,10 @@ body[theme-mode='dark'][os='windows'] {
218220
/* https://github.com/hakadao/CherryStudio-Aero/issues/10 */
219221
/* The drawer title content is hard to read when open the mini app */
220222
#root[style*='background: var(--color-background)'],
221-
.ant-drawer-content[style*='background-color: var(--color-background)'] {
223+
.ant-drawer-content[style*='background-color: var(--color-background)'],
224+
/* https://github.com/hakadao/CherryStudio-Aero/issues/12 */
225+
/* Search bar background is too transparent */
226+
[class^='SearchBarContainer'] {
222227
background: var(--aero-background-solid) !important;
223228
}
224229
```

README-cmn_TW.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ body[theme-mode='light'] [class^='ant'] {
7777
--ant-color-bg-container: var(--aero-background-1);
7878
--ant-segmented-item-selected-bg: var(--aero-background-3);
7979
--ant-button-default-bg: var(--aero-background-1);
80+
--ant-radio-button-bg: var(--aero-background-1);
8081
}
8182

8283
/* reset ant design variables */
@@ -86,6 +87,7 @@ body[theme-mode='dark'] [class^='ant'] {
8687
--ant-color-bg-container: var(--fill-1);
8788
--ant-segmented-item-selected-bg: var(--fill-3);
8889
--ant-button-default-bg: var(--fill-1);
90+
--ant-radio-button-bg: var(--fill-1);
8991
}
9092

9193
/* Fix new window background issue to adapt to new UI */
@@ -218,7 +220,10 @@ body[theme-mode='dark'][os='windows'] {
218220
/* https://github.com/hakadao/CherryStudio-Aero/issues/10 */
219221
/* The drawer title content is hard to read when open the mini app */
220222
#root[style*='background: var(--color-background)'],
221-
.ant-drawer-content[style*='background-color: var(--color-background)'] {
223+
.ant-drawer-content[style*='background-color: var(--color-background)'],
224+
/* https://github.com/hakadao/CherryStudio-Aero/issues/12 */
225+
/* Search bar background is too transparent */
226+
[class^='SearchBarContainer'] {
222227
background: var(--aero-background-solid) !important;
223228
}
224229
```

README-jyut.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ body[theme-mode='light'] [class^='ant'] {
7878
--ant-color-bg-container: var(--aero-background-1);
7979
--ant-segmented-item-selected-bg: var(--aero-background-3);
8080
--ant-button-default-bg: var(--aero-background-1);
81+
--ant-radio-button-bg: var(--aero-background-1);
8182
}
8283

8384
/* reset ant design variables */
@@ -87,6 +88,7 @@ body[theme-mode='dark'] [class^='ant'] {
8788
--ant-color-bg-container: var(--fill-1);
8889
--ant-segmented-item-selected-bg: var(--fill-3);
8990
--ant-button-default-bg: var(--fill-1);
91+
--ant-radio-button-bg: var(--fill-1);
9092
}
9193

9294
/* Fix new window background issue to adapt to new UI */
@@ -219,7 +221,10 @@ body[theme-mode='dark'][os='windows'] {
219221
/* https://github.com/hakadao/CherryStudio-Aero/issues/10 */
220222
/* The drawer title content is hard to read when open the mini app */
221223
#root[style*='background: var(--color-background)'],
222-
.ant-drawer-content[style*='background-color: var(--color-background)'] {
224+
.ant-drawer-content[style*='background-color: var(--color-background)'],
225+
/* https://github.com/hakadao/CherryStudio-Aero/issues/12 */
226+
/* Search bar background is too transparent */
227+
[class^='SearchBarContainer'] {
223228
background: var(--aero-background-solid) !important;
224229
}
225230
```

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ body[theme-mode='light'] [class^='ant'] {
7878
--ant-color-bg-container: var(--aero-background-1);
7979
--ant-segmented-item-selected-bg: var(--aero-background-3);
8080
--ant-button-default-bg: var(--aero-background-1);
81+
--ant-radio-button-bg: var(--aero-background-1);
8182
}
8283

8384
/* reset ant design variables */
@@ -87,6 +88,7 @@ body[theme-mode='dark'] [class^='ant'] {
8788
--ant-color-bg-container: var(--fill-1);
8889
--ant-segmented-item-selected-bg: var(--fill-3);
8990
--ant-button-default-bg: var(--fill-1);
91+
--ant-radio-button-bg: var(--fill-1);
9092
}
9193

9294
/* Fix new window background issue to adapt to new UI */
@@ -219,7 +221,10 @@ body[theme-mode='dark'][os='windows'] {
219221
/* https://github.com/hakadao/CherryStudio-Aero/issues/10 */
220222
/* The drawer title content is hard to read when open the mini app */
221223
#root[style*='background: var(--color-background)'],
222-
.ant-drawer-content[style*='background-color: var(--color-background)'] {
224+
.ant-drawer-content[style*='background-color: var(--color-background)'],
225+
/* https://github.com/hakadao/CherryStudio-Aero/issues/12 */
226+
/* Search bar background is too transparent */
227+
[class^='SearchBarContainer'] {
223228
background: var(--aero-background-solid) !important;
224229
}
225230
```

style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ body[theme-mode='light'] [class^='ant'] {
5151
--ant-color-bg-container: var(--aero-background-1);
5252
--ant-segmented-item-selected-bg: var(--aero-background-3);
5353
--ant-button-default-bg: var(--aero-background-1);
54+
--ant-radio-button-bg: var(--aero-background-1);
5455
}
5556

5657
/* reset ant design variables */
@@ -60,6 +61,7 @@ body[theme-mode='dark'] [class^='ant'] {
6061
--ant-color-bg-container: var(--fill-1);
6162
--ant-segmented-item-selected-bg: var(--fill-3);
6263
--ant-button-default-bg: var(--fill-1);
64+
--ant-radio-button-bg: var(--fill-1);
6365
}
6466

6567
/* Fix new window background issue to adapt to new UI */
@@ -192,6 +194,9 @@ body[theme-mode='dark'][os='windows'] {
192194
/* https://github.com/hakadao/CherryStudio-Aero/issues/10 */
193195
/* The drawer title content is hard to read when open the mini app */
194196
#root[style*='background: var(--color-background)'],
195-
.ant-drawer-content[style*='background-color: var(--color-background)'] {
197+
.ant-drawer-content[style*='background-color: var(--color-background)'],
198+
/* https://github.com/hakadao/CherryStudio-Aero/issues/12 */
199+
/* Search bar background is too transparent */
200+
[class^='SearchBarContainer'] {
196201
background: var(--aero-background-solid) !important;
197202
}

0 commit comments

Comments
 (0)