|
1 | 1 | @use '../../../variables' as *; |
2 | 2 |
|
3 | | -$yellow: #ffcd0f; |
4 | | -$bg: #292826; |
5 | | -$gray: #404040; |
6 | | -$light-gray: rgba(255, 255, 255, .54); |
| 3 | +$my-secondary: #d0ab23; |
| 4 | +$dark-gray: #333; |
| 5 | +$my-primary: #231c2c; |
| 6 | +$light-gray: #999; |
| 7 | +$inactive-color: #9b7829; |
7 | 8 |
|
8 | 9 | $dark-paginator: paginator-theme( |
9 | | - $text-color: $yellow, |
10 | | - $background-color: $gray, |
11 | | - $border-color: $bg |
| 10 | + $text-color: $my-secondary, |
| 11 | + $background-color: $my-primary, |
| 12 | + $border-color: $my-secondary |
12 | 13 | ); |
| 14 | + |
13 | 15 | $dark-button: button-theme( |
14 | | - $foreground: $yellow, |
15 | | - $hover-foreground: $bg, |
16 | | - $hover-background: $yellow, |
17 | | - $focus-foreground: $bg, |
18 | | - $focus-background: $yellow, |
19 | | - $disabled-foreground: #16130C |
| 16 | + $foreground: $my-secondary, |
| 17 | + $hover-foreground: $dark-gray, |
| 18 | + $hover-background: $my-secondary, |
| 19 | + $focus-foreground: $dark-gray, |
| 20 | + $focus-background: $my-secondary, |
| 21 | + $border-color: $my-secondary, |
| 22 | + $hover-border-color: $my-secondary, |
| 23 | + $focus-border-color: $my-secondary, |
| 24 | + $disabled-foreground: $inactive-color |
| 25 | +); |
| 26 | + |
| 27 | +$dark-select: select-theme( |
| 28 | + $toggle-button-background: $my-primary, |
| 29 | + $toggle-button-foreground: $inactive-color, |
20 | 30 | ); |
| 31 | + |
21 | 32 | $dark-input-group: input-group-theme( |
22 | | - $filled-text-color: $light-gray, |
23 | | - $idle-text-color: $light-gray, |
24 | | - $focused-text-color: $yellow, |
25 | | - $border-color: $light-gray, |
26 | | - $hover-border-color: $yellow, |
27 | | - $focused-border-color: $yellow |
| 33 | + $filled-text-color: $my-secondary, |
| 34 | + $idle-text-color: $my-secondary, |
| 35 | + $focused-text-color: $my-secondary, |
| 36 | + $border-color: darken($inactive-color, 10%), |
| 37 | + $focused-border-color: $my-secondary, |
| 38 | + $input-suffix-color: $my-secondary, |
28 | 39 | ); |
| 40 | + |
29 | 41 | $dark-drop-down-theme: drop-down-theme( |
30 | | - $background-color: $bg, |
31 | | - $item-text-color: $yellow, |
32 | | - $selected-item-background: $yellow, |
33 | | - $selected-item-text-color: $bg, |
34 | | - $focused-item-background: $yellow, |
35 | | - $focused-item-text-color: $bg, |
36 | | - $selected-focus-item-background: $yellow, |
37 | | - $selected-focus-item-text-color: $bg, |
38 | | - $selected-hover-item-background: $yellow, |
39 | | - $selected-hover-item-text-color: $bg |
| 42 | + $background-color: $my-primary, |
| 43 | + $item-text-color: $my-secondary, |
| 44 | + $selected-item-background: $my-secondary, |
| 45 | + $selected-item-text-color: $dark-gray, |
| 46 | + $focused-item-background: $my-secondary, |
| 47 | + $focused-item-text-color: $dark-gray, |
| 48 | + $selected-focus-item-background: $my-secondary, |
| 49 | + $selected-focus-item-text-color: $dark-gray, |
| 50 | + $selected-hover-item-background: $my-secondary, |
| 51 | + $selected-hover-item-text-color: $dark-gray |
40 | 52 | ); |
41 | 53 | /*INCLUSION by DEFAULT ViewEncapsulation strategy*/ |
42 | 54 |
|
43 | 55 | :host { |
44 | 56 | ::ng-deep { |
45 | | - @include css-vars($dark-paginator); |
46 | 57 | @include css-vars($dark-drop-down-theme); |
47 | 58 |
|
48 | 59 | igx-paginator { |
49 | | - @include css-vars($dark-button); |
50 | | - @include css-vars($dark-input-group); |
51 | | - } |
| 60 | + @include css-vars($dark-button); |
| 61 | + @include css-vars($dark-input-group); |
| 62 | + @include css-vars($dark-select); |
| 63 | + @include css-vars($dark-paginator); |
| 64 | + } |
52 | 65 | } |
53 | 66 | } |
54 | 67 |
|
|
0 commit comments