Skip to content

Commit 8990cd1

Browse files
committed
fix: paging styling sample
1 parent d735409 commit 8990cd1

1 file changed

Lines changed: 46 additions & 33 deletions

File tree

src/app/grid/custom-grid-paging-style/custom-grid-paging-style.component.scss

Lines changed: 46 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,67 @@
11
@use '../../../variables' as *;
22

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;
78

89
$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
1213
);
14+
1315
$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,
2030
);
31+
2132
$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,
2839
);
40+
2941
$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
4052
);
4153
/*INCLUSION by DEFAULT ViewEncapsulation strategy*/
4254

4355
:host {
4456
::ng-deep {
45-
@include css-vars($dark-paginator);
4657
@include css-vars($dark-drop-down-theme);
4758

4859
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+
}
5265
}
5366
}
5467

0 commit comments

Comments
 (0)