Skip to content

Commit 9aa691d

Browse files
committed
feat(calendar): disabled colors match
1 parent fd9da1d commit 9aa691d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

components/calendar/index.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ governing permissions and limitations under the License.
4444

4545
--spectrum-calendar-day-today-text-color-disabled: var(--spectrum-gray-500);
4646
--spectrum-calendar-day-today-border-color-disabled: var(--spectrum-gray-400);
47-
--spectrum-calendar-day-text-color-disabled: var(--spectrum-gray-500);
47+
--spectrum-calendar-day-text-color-disabled: var(--spectrum-disabled-content-color);
4848

4949
--spectrum-calendar-day-text-color-key-focus: var(--spectrum-gray-900);
5050

@@ -91,10 +91,6 @@ governing permissions and limitations under the License.
9191
&:not([disabled]) {
9292
color: var(--highcontrast-calendar-button-icon-color, var(--mod-calendar-button-icon-color, var(--spectrum-calendar-button-icon-color)));
9393
}
94-
95-
&:disabled {
96-
color: var(--highcontrast-calendar-button-icon-color-disabled, var(--mod-calendar-button-icon-color-disabled, var(--spectrum-calendar-button-icon-color-disabled)));
97-
}
9894
}
9995

10096
.spectrum-Calendar-prevMonth {

0 commit comments

Comments
 (0)