File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
projects/igniteui-angular/src/lib/core/styles/components/date-picker Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1313/// @see {mixin} css-vars
1414/// @param {Map} $theme - The calendar theme used to style the component.
1515@mixin date-picker ($theme ) {
16- $variant : map .get ($theme , ' _meta' , ' variant' );
16+ $variant : map .get ($theme , ' _meta' , ' theme' );
17+ $theme-variant : map .get ($theme , ' _meta' , ' variant' );
1718 $bootstrap-theme : $variant == ' bootstrap' ;
1819 $border-shadow : 0 0 0 rem (1px ) var-get ($theme , ' border-color' );
1920
2627
2728 %date-picker {
2829 // TODO move the shadow in the schemas
29- box-shadow : $border-shadow , elevation (24 ), ;
30+ box-shadow : $border-shadow , elevation (24 );
3031 border-radius : var-get ($theme , ' border-radius' );
3132 background : var-get ($theme , ' content-background' );
3233 overflow : hidden ;
3334
35+ @if $variant == ' indigo' and $theme-variant == ' light' {
36+ box-shadow : $border-shadow , elevation (5 );
37+ } @else if $variant == ' indigo' and $theme-variant == ' dark' {
38+ box-shadow : $border-shadow , elevation (7 );
39+ }
40+
3441 igx-calendar ,
3542 %days-view ,
3643 %months-view ,
You can’t perform that action at this time.
0 commit comments