Skip to content

Commit

Permalink
fix(datepicker): datepicker colors (#1178)
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and GitHub Enterprise committed Apr 30, 2024
1 parent 5c63d95 commit 47552d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ $item-size: nx-spacer(3m);
}
}

.nx-calendar-body-disabled {
.nx-calendar-body-today {
color: v(datefield-controls-disabled-color) !important;
&::after {
background-color: v(datefield-controls-disabled-color) !important;
}
}
}

:not(.nx-calendar-body-disabled) {
&:hover {
& > .nx-calendar-body-cell-content,
Expand Down
1 change: 1 addition & 0 deletions projects/ng-aquila/src/shared-styles/theming/tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,7 @@ $nx-theme: (
datefield-controls-color: interactive-text,
datefield-controls-hover-color: hover-primary,
datefield-controls-icon-size: 24px,
datefield-controls-disabled-color: datefield-cell-disabled-color,
datefield-panel-background-color: ui-01,
datefield-panel-header-background-color: ui-01,
datefield-panel-border-color: ui-04,
Expand Down

0 comments on commit 47552d6

Please sign in to comment.