|
108 | 108 | /// @param {Color} $date-selected-current-range-focus-foreground [null] - The :focus foreground of the current date in the selected range. |
109 | 109 | /// @param {Color} $date-selected-current-range-focus-background [null] - The :focus background of the current date in the selected range. |
110 | 110 | /// |
111 | | -/// @param {Color} $date-selected-current-outline [null] - The outline of the current selected date. |
112 | | -/// @param {Color} $date-selected-current-hover-outline [null] - The :hover outline of the current selected date. |
113 | | -/// @param {Color} $date-selected-current-focus-outline [null] - The :focus outline of the current selected date. |
114 | | -/// |
115 | 111 | /// @param {Color} $date-selected-special-border-color: [null] - The border color of the selected special date, |
116 | 112 | /// @param {Color} $date-selected-special-hover-border-color: [null] - The :hover border color of the selected special date, |
117 | 113 | /// @param {Color} $date-selected-special-focus-border-color: [null] - The :focus border color of the selected special date, |
|
137 | 133 | /// @param {Color} $date-special-range-foreground [null] - The foreground of the dates inside a range and marked as special. |
138 | 134 | /// @param {Color} $date-special-range-border-color [null] - The outline of the dates inside a range and marked as special. |
139 | 135 | /// |
140 | | -/// @param {Color} $date-special-current-border-color [null] - The outline color of a special current date. |
141 | | -/// |
142 | 136 | /// @param {Color} $border-color [null] - The calendar border color. |
143 | 137 | /// |
144 | 138 | /// @param {Color} $date-border-color [null] - The border color of the date. |
|
282 | 276 | $date-selected-current-hover-border-color: null, |
283 | 277 | $date-selected-current-focus-border-color: null, |
284 | 278 |
|
285 | | - $date-selected-current-outline: null, |
286 | | - $date-selected-current-hover-outline: null, |
287 | | - $date-selected-current-focus-outline: null, |
288 | | -
|
289 | 279 | $date-selected-special-border-color: null, |
290 | 280 | $date-selected-special-hover-border-color: null, |
291 | 281 | $date-selected-special-focus-border-color: null, |
|
310 | 300 | $date-special-range-focus-background: null, |
311 | 301 | $date-special-range-foreground: null, |
312 | 302 | $date-special-range-border-color: null, |
313 | | - $date-special-current-border-color: null, |
314 | 303 | $date-disabled-foreground: null, |
315 | 304 | $date-disabled-range-foreground: null, |
316 | 305 |
|
|
400 | 389 | } |
401 | 390 | } |
402 | 391 |
|
403 | | - @if $variant == 'material' or $variant == 'indigo' { |
404 | | - @if not($date-selected-current-outline) and $content-background { |
405 | | - @if meta.type-of($content-background) == 'color' { |
406 | | - $date-selected-current-outline: $content-background; |
407 | | - } |
408 | | - } |
409 | | - |
410 | | - @if not($date-selected-current-hover-outline) and $content-background { |
411 | | - @if meta.type-of($content-background) == 'color' { |
412 | | - $date-selected-current-hover-outline: $content-background; |
413 | | - } |
414 | | - } |
415 | | - |
416 | | - @if not($date-selected-current-focus-outline) and $content-background { |
417 | | - @if meta.type-of($content-background) == 'color' { |
418 | | - $date-selected-current-focus-outline: $content-background; |
419 | | - } |
420 | | - } |
421 | | - } |
422 | | - |
423 | 392 | @if not($content-foreground) and $content-background { |
424 | 393 | @if meta.type-of($content-background) == 'color' { |
425 | 394 | $content-foreground: text-contrast($content-background); |
|
640 | 609 | date-selected-current-hover-foreground: $date-selected-current-hover-foreground, |
641 | 610 | date-selected-current-focus-foreground: $date-selected-current-focus-foreground, |
642 | 611 |
|
643 | | - date-selected-current-outline: $date-selected-current-outline, |
644 | | - date-selected-current-hover-outline: $date-selected-current-hover-outline, |
645 | | - date-selected-current-focus-outline: $date-selected-current-focus-outline, |
646 | | - |
647 | 612 | date-selected-special-border-color: $date-selected-special-border-color, |
648 | 613 | date-selected-special-hover-border-color: $date-selected-special-hover-border-color, |
649 | 614 | date-selected-special-focus-border-color: $date-selected-special-focus-border-color, |
|
0 commit comments