Skip to content

Commit b31f89a

Browse files
authored
Merge pull request #3678 from IgniteUI/didimmova/update-styling-samples-vnext
feat(samples): update styling samples
2 parents 9b56558 + 41c64cc commit b31f89a

File tree

38 files changed

+89
-243
lines changed

38 files changed

+89
-243
lines changed

src/app/data-display/badge/badge-styling-sample/badge-styling-sample.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="wrapper">
88
<div>
99
<igx-avatar icon="person" shape="circle" size="small"></igx-avatar>
10-
<igx-badge [icon]="member.icon" [type]="member.type" class="badge-style"></igx-badge>
10+
<igx-badge [icon]="member.icon" shape="square" class="badge-style"></igx-badge>
1111
</div>
1212
<div class="contact-container">
1313
<span class="contact-name">{{ member.name }}</span>

src/app/data-display/badge/badge-styling-sample/badge-styling-sample.component.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
@use "igniteui-angular/theming" as *;
33

44
$custom-badge-theme: badge-theme(
5-
$border-radius: 15px,
6-
$icon-color: white,
7-
$text-color: black
5+
$background-color: #57a5cd,
6+
$border-radius: 4px
87
);
98

109
@include css-vars($custom-badge-theme);

src/app/data-display/chip/chip-styling/chip-styling.component.scss

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,10 @@
22
@use "igniteui-angular/theming" as *;
33

44
$custom-theme: chip-theme(
5-
$background: #011627,
6-
$hover-background: #011627dc,
7-
$focus-background: #0116276c,
5+
$background: #57a5cd,
86
$selected-background: #ecaa53,
9-
$hover-selected-background: #ecaa53,
10-
$focus-selected-background: #ecaa53,
11-
$text-color: #fefefe,
12-
$remove-icon-color: #f14545,
13-
$remove-icon-color-focus: #da0000,
7+
$remove-icon-color: #d81414,
148
$border-radius: 5px,
159
);
1610

1711
@include css-vars($custom-theme);
18-
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
@use "igniteui-angular/theming" as *;
22

33
$custom-theme: progress-circular-theme(
4-
$base-circle-color: lightgray,
54
$fill-color-default: rgb(32, 192, 17),
65
);
76

87
@include css-vars($custom-theme);
9-

src/app/data-display/linear-progressbar/linear-progressbar-styling-sample/linear-progressbar-styling-sample.component.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
@use "igniteui-angular/theming" as *;
33

44
$custom-theme: progress-linear-theme(
5-
$track-color: #d3d3d3,
65
$fill-color-default: #ecaa53,
76
$text-color: #ecaa53,
87
);
98

109
@include css-vars($custom-theme);
11-

src/app/data-entries/buttonGroup/button-group-style/button-group-style.component.scss

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,8 @@
22
@use "igniteui-angular/theming" as *;
33

44
$custom-button-group: button-group-theme(
5-
$item-text-color: #fdfdfd,
6-
$item-background: #2f4d6a,
7-
$item-hover-text-color: #fdfdfd,
8-
$item-hover-background: #1f3347,
9-
$item-selected-text-color: #fdfdfd,
10-
$item-selected-background: #1f3347,
11-
$item-selected-hover-background: #1f3347,
12-
$disabled-text-color: gray,
13-
$disabled-background-color: lightgray,
5+
$item-background: #57a5cd,
146
);
157

168
@include css-vars($custom-button-group);
17-
9+

src/app/data-entries/buttons/buttons-style/buttons-style.component.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ $custom-fab-theme: fab-button-theme(
2222
@include css-vars($custom-flat-theme);
2323
@include css-vars($custom-outlined-theme);
2424
@include css-vars($custom-fab-theme);
25-
};
26-
25+
};

src/app/data-entries/checkbox/checkbox-styling/checkbox-styling.component.scss

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22
@use "igniteui-angular/theming" as *;
33

44
$custom-checkbox-theme: checkbox-theme(
5-
$border-radius: 10px,
6-
$label-color: #011627,
75
$empty-color: #ecaa53,
86
$fill-color: #ecaa53,
9-
$tick-color: #011627,
7+
$border-radius: 5px
108
);
119

1210
@include css-vars($custom-checkbox-theme);
13-

src/app/data-entries/dropdown/dropdown-styling/dropdown-styling.component.scss

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,12 @@
22
@use "igniteui-angular/theming" as *;
33

44
$custom-drop-down-theme: drop-down-theme(
5-
$background-color: #fdfdfd,
65
$header-text-color: #345779,
76
$item-text-color: #2dabe8,
8-
$selected-item-background: #345779,
9-
$selected-item-text-color: #fdfdfd,
10-
$selected-hover-item-background: #345779,
11-
$selected-hover-item-text-color: #fdfdfd,
12-
$selected-focus-item-background: #345779,
13-
$selected-focus-item-text-color: #fdfdfd,
14-
$hover-item-background: rgba(0, 0, 0, 0.12),
157
$hover-item-text-color: #345779,
8+
$selected-item-background: #345779,
169
);
1710

1811
.drop-down__scroll-container {
1912
@include css-vars($custom-drop-down-theme);
2013
}
21-

src/app/data-entries/icon-button/icon-button-styling/icon-button-styling.component.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "igniteui-angular/theming" as *;
2+
13
.wrapper {
24
display: flex;
35
flex-flow: row wrap;
@@ -12,6 +14,24 @@
1214
margin: 16px 0;
1315
}
1416

17+
// $custom-flat: flat-icon-button-theme(
18+
// $foreground: #011627,
19+
// );
20+
21+
// $custom-contained: contained-icon-button-theme(
22+
// $background: #ECAA53,
23+
// );
24+
25+
// $custom-outlined: outlined-icon-button-theme(
26+
// $foreground: #011627,
27+
// );
28+
29+
// :host {
30+
// @include css-vars($custom-flat);
31+
// @include css-vars($custom-contained);
32+
// @include css-vars($custom-outlined);
33+
// }
34+
1535
[igxIconButton="flat"] {
1636
--foreground: #011627;
1737
--background: #FEFEFE;

0 commit comments

Comments
 (0)