Skip to content

Commit 07908cf

Browse files
authored
refactor(grid-summary): remove redundant code and colors (#15828)
* refactor(grid-summary): remove redundant code and colors * deps(*): update theming version
1 parent 7d3063f commit 07908cf

File tree

4 files changed

+5
-26
lines changed

4 files changed

+5
-26
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@types/source-map": "0.5.2",
7777
"express": "^4.21.1",
7878
"fflate": "^0.8.1",
79-
"igniteui-theming": "^18.0.1",
79+
"igniteui-theming": "^18.0.2",
8080
"igniteui-trial-watermark": "^3.0.2",
8181
"lodash-es": "^4.17.21",
8282
"rxjs": "^7.8.2",

projects/igniteui-angular/src/lib/core/styles/components/grid-summary/_grid-summary-theme.scss

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
/// @param {Map} $schema [$light-material-schema] - The schema used as basis for styling the component.
1414
/// @param {Color} $background-color [null] - The summaries background color is inherited form igx-grid__tfoot
15-
/// @param {Color} $focus-background-color [null] - The background color when a summary item is on focus.
1615
/// @param {Color} $label-color [null] - The summaries label color.
1716
/// @param {Color} $result-color [null] - The summaries value/result color.
1817
/// @param {Color} $border-color [null] - The summaries border color.
@@ -32,7 +31,6 @@
3231
$schema: $light-material-schema,
3332
3433
$background-color: null,
35-
$focus-background-color: null,
3634
$label-color: null,
3735
$result-color: null,
3836
$border-color: null,
@@ -74,7 +72,6 @@
7472
name: $name,
7573
selector: $selector,
7674
background-color: $background-color,
77-
focus-background-color: $focus-background-color,
7875
label-color: $label-color,
7976
result-color: $result-color,
8077
border-color: $border-color,
@@ -131,15 +128,6 @@
131128
overflow: hidden;
132129
outline-style: none;
133130

134-
&::after {
135-
position: absolute;
136-
inset: 0;
137-
}
138-
139-
&:focus::after {
140-
background: var-get($theme, 'focus-background-color');
141-
}
142-
143131
@if $variant == 'indigo' {
144132
border-top: rem(1px) solid var-get($theme, 'border-color');
145133
}

projects/igniteui-angular/src/lib/grids/summaries/themes/_base.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ $_theme: $material;
2424
overflow: hidden;
2525
outline-style: none;
2626

27-
&::after {
28-
position: absolute;
29-
inset: 0;
30-
}
31-
32-
&:focus::after {
33-
background: var-get($_theme, 'focus-background-color');
34-
}
35-
3627
@include e(item) {
3728
display: flex;
3829
align-items: center;

0 commit comments

Comments
 (0)