Skip to content

Commit 92593c5

Browse files
committed
refactor(calendar): add root not disabled
1 parent 7b09b2f commit 92593c5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

components/calendar/index.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,12 @@ governing permissions and limitations under the License.
8585
.spectrum-Calendar-prevMonth,
8686
.spectrum-Calendar-nextMonth {
8787
transform: logical rotate(0deg);
88+
}
8889

89-
&:not([disabled]) {
90-
color: var(--highcontrast-calendar-button-icon-color, var(--mod-calendar-button-icon-color, var(--spectrum-calendar-button-icon-color)));
91-
}
90+
/* addresses specificty concerns for SWC implementation see PR #2100 */
91+
.spectrum-Calendar:not([disabled]) .spectrum-Calendar-nextMonth:not([disabled]),
92+
.spectrum-Calendar:not([disabled]) .spectrum-Calendar-prevMonthtMonth:not([disabled]) {
93+
color: var(--highcontrast-calendar-button-icon-color,var(--mod-calendar-button-icon-color, var(--spectrum-calendar-button-icon-color)));
9294
}
9395

9496
.spectrum-Calendar-prevMonth {

0 commit comments

Comments
 (0)