Skip to content

Commit c6cae26

Browse files
authored
fix: fixing dark/light theme select options issues (#20165)
Closes: https://jira.tools.sap/browse/CXSPA-9753
1 parent df2e9b7 commit c6cae26

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

projects/storefrontstyles/scss/components/layout/header/_site-context-selector.scss

+11
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,20 @@ $caretSize: 7px;
6767
@include cx-highContrastTheme {
6868
select {
6969
color: var(--cx-color-text);
70+
option {
71+
color: var(--cx-color-medium);
72+
}
7073
}
7174
cx-icon {
7275
color: var(--cx-color-text);
7376
}
7477
}
78+
79+
@include cx-highContrastTheme-light {
80+
select {
81+
option {
82+
color: var(--cx-color-dark);
83+
}
84+
}
85+
}
7586
}

projects/storefrontstyles/scss/components/misc/site-theme-switcher/_site-theme-switcher.scss

+11
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,20 @@ $caretSize: 7px;
6767
@include cx-highContrastTheme {
6868
select {
6969
color: var(--cx-color-text);
70+
option {
71+
color: var(--cx-color-medium);
72+
}
7073
}
7174
cx-icon {
7275
color: var(--cx-color-text);
7376
}
7477
}
78+
79+
@include cx-highContrastTheme-light {
80+
select {
81+
option {
82+
color: var(--cx-color-dark);
83+
}
84+
}
85+
}
7586
}

0 commit comments

Comments
 (0)