diff --git a/projects/igniteui-angular/core/src/core/styles/components/grid/_grid-theme.scss b/projects/igniteui-angular/core/src/core/styles/components/grid/_grid-theme.scss index 787d0a7eee9..803c9376faa 100644 --- a/projects/igniteui-angular/core/src/core/styles/components/grid/_grid-theme.scss +++ b/projects/igniteui-angular/core/src/core/styles/components/grid/_grid-theme.scss @@ -1506,7 +1506,7 @@ min-height: var(--header-size); outline-style: none; overflow: hidden; - transition: color 250ms ease-in-out; + transition: color 120ms $ease-in-out-cubic; } %grid-cell-header--filtering { @@ -1530,7 +1530,7 @@ flex-grow: 1; /* hey IE, the text should take most of the space */ // align-self: flex-end; /* commenting out for now on external request */ line-height: var(--header-size); - transition: color 250ms ease-in-out; + transition: color 120ms $ease-in-out-cubic; } %grid-cell-header-icons { @@ -1748,7 +1748,7 @@ %grid-excel-icon--filtered, %grid-excel-icon, .sort-icon { - transition: all 250ms ease-in-out; + transition: all 120ms $ease-in-out-cubic; } %grid-cell-number { diff --git a/src/app/grid-theme-builder/grid-theme-builder.sample.html b/src/app/grid-theme-builder/grid-theme-builder.sample.html index a8454b64fba..03b96aeef4f 100644 --- a/src/app/grid-theme-builder/grid-theme-builder.sample.html +++ b/src/app/grid-theme-builder/grid-theme-builder.sample.html @@ -1,18 +1,21 @@
+ [style.--ig-grid-accent-color]="gridAccentColor() || null" + [style.--ig-grid-header-background]="gridHeaderBackground() || null" + [style.--ig-grid-header-text-color]="gridHeaderTextColor() || null">
- + - + @if (gridForeground()) { - + } @else { } @@ -23,6 +26,27 @@
+
+ + + @if (gridHeaderBackground()) { + + + } @else { + + } + + + + @if (gridHeaderTextColor()) { + + + } @else { + + } + +
+ ('grid'); private readonly sampleEl = viewChild.required('sampleEl'); @@ -36,8 +38,4 @@ export class GridThemeBuilderSampleComponent implements OnInit, AfterViewInit { this.gridBackground.set(styles.getPropertyValue('--ig-grid-background').trim()); this.gridAccentColor.set(styles.getPropertyValue('--ig-grid-accent-color').trim()); } - - protected resetForeground(): void { - this.gridForeground.set(''); - } }