@@ -49,6 +49,9 @@ governing permissions and limitations under the License.
49
49
--spectrum-calendar-day-text-color-disabled : var (--spectrum-gray-500 );
50
50
51
51
--spectrum-calendar-day-text-color-key-focus : var (--spectrum-gray-900 );
52
+
53
+ --spectrum-calendar-button-icon-color-disabled : var (--spectrum-disabled-content-color );
54
+
52
55
}
53
56
54
57
.spectrum-Calendar {
@@ -89,6 +92,10 @@ governing permissions and limitations under the License.
89
92
& : not ([disabled ]) {
90
93
color : var (--highcontrast-calendar-button-icon-color , var (--mod-calendar-button-icon-color , var (--spectrum-calendar-button-icon-color )));
91
94
}
95
+
96
+ & : disabled {
97
+ color : var (--highcontrast-calendar-button-icon-color-disabled , var (--mod-calendar-button-icon-color-disabled , var (--spectrum-calendar-button-icon-color-disabled )));
98
+ }
92
99
}
93
100
94
101
.spectrum-Calendar-prevMonth {
@@ -425,10 +432,14 @@ governing permissions and limitations under the License.
425
432
}
426
433
427
434
@media (forced-colors : active) {
435
+ .spectrum-Calendar-prevMonth ,
436
+ .spectrum-Calendar-nextMonth {
437
+ --highcontrast-calendar-button-icon-color-disabled : GrayText;
438
+ --highcontrast-calendar-button-icon-color : ButtonText;
439
+ }
428
440
.spectrum-Calendar-date {
429
441
color : CanvasText;
430
442
forced-color-adjust : none;
431
- --highcontrast-calendar-button-icon-color : ButtonText;
432
443
--highcontrast-calendar-day-background-color-cap-selected : Highlight;
433
444
--highcontrast-calendar-day-background-color-down : ButtonFace;
434
445
--highcontrast-calendar-day-background-color-hover : Transparent;
0 commit comments