|
5 | 5 | @import 'app-palettes';
|
6 | 6 | @import 'app-layout';
|
7 | 7 |
|
| 8 | +$igx-background-color: igx-color($default-palette, 'surface'); |
| 9 | +$igx-foreground-color: text-contrast($igx-background-color); |
| 10 | + |
| 11 | +body { |
| 12 | + background: $igx-background-color; |
| 13 | + color: #222; |
| 14 | +} |
| 15 | + |
8 | 16 | @include igx-core($direction: ltr);
|
9 | 17 |
|
10 | 18 | /* autoprefixer grid: on */
|
11 |
| -.default-theme { |
12 |
| - $igx-background-color: igx-color($default-palette, 'surface'); |
13 |
| - $igx-foreground-color: text-contrast($igx-background-color); |
14 | 19 |
|
15 |
| - background: $igx-background-color; |
16 |
| - color: $igx-foreground-color; |
17 |
| - |
18 |
| - @include scrollbar-love(); |
19 |
| - @include igx-theme($default-palette); |
20 | 20 |
|
21 |
| - .nav-header { |
22 |
| - @include nav-logo('../assets/images/rsrcs/igniteui-logo-light-bg', $igx-background-color); |
23 |
| - } |
24 |
| -} |
25 | 21 |
|
26 |
| -// .dark-theme { |
27 |
| -// $igx-background-color: igx-color($green-dark-palette, 'surface'); |
28 |
| -// $igx-foreground-color: text-contrast($igx-background-color); |
| 22 | +@include scrollbar-love(); |
| 23 | +@include igx-theme($default-palette); |
29 | 24 |
|
30 |
| -// background: $igx-background-color; |
31 |
| -// color: $igx-foreground-color; |
| 25 | +.nav-header { |
| 26 | + @include nav-logo('../assets/images/rsrcs/igniteui-logo-light-bg', $igx-background-color); |
| 27 | +} |
32 | 28 |
|
33 |
| -// @include scrollbar-love(lighten($igx-background-color, 15%)); |
34 |
| -// @include igx-dark-theme($green-dark-palette); |
35 |
| -// @include igx-typography($font-family: 'sans-serif', $base-color: gray); |
36 | 29 |
|
37 |
| -// .nav-header { |
38 |
| -// @include nav-logo('../assets/images/rsrcs/igniteui-logo-dark-bg', $igx-background-color); |
39 |
| -// } |
40 |
| -// } |
| 30 | +//.dark-theme { |
| 31 | +// $igx-background-color: igx-color($green-dark-palette, 'surface'); |
| 32 | +// $igx-foreground-color: text-contrast($igx-background-color); |
| 33 | +// |
| 34 | +// background: $igx-background-color; |
| 35 | +// color: $igx-foreground-color; |
| 36 | +// |
| 37 | +// @include scrollbar-love(lighten($igx-background-color, 15%)); |
| 38 | +// @include igx-dark-theme($green-dark-palette); |
| 39 | +// @include igx-typography($font-family: 'sans-serif'); |
| 40 | +// |
| 41 | +// .nav-header { |
| 42 | +// @include nav-logo('../assets/images/rsrcs/igniteui-logo-dark-bg', $igx-background-color); |
| 43 | +// } |
| 44 | +//} |
41 | 45 |
|
42 | 46 | // .bootstrap-theme {
|
43 | 47 | // $igx-background-color: igx-color($bootstrap-palette, 'surface');
|
|
0 commit comments