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 13
13
/// @see {mixin} css-vars
14
14
/// @param {Map} $theme - The calendar theme used to style the component.
15
15
@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' );
17
18
$bootstrap-theme : $variant == ' bootstrap' ;
18
19
$border-shadow : 0 0 0 rem (1px ) var-get ($theme , ' border-color' );
19
20
26
27
27
28
%date-picker {
28
29
// TODO move the shadow in the schemas
29
- box-shadow : $border-shadow , elevation (24 ), ;
30
+ box-shadow : $border-shadow , elevation (24 );
30
31
border-radius : var-get ($theme , ' border-radius' );
31
32
background : var-get ($theme , ' content-background' );
32
33
overflow : hidden ;
33
34
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
+
34
41
igx-calendar ,
35
42
%days-view ,
36
43
%months-view ,
You can’t perform that action at this time.
0 commit comments