Skip to content

Commit 8abfc0f

Browse files
authored
fix(themes): add missing shadows to components (#1972)
1 parent 6a8ee60 commit 8abfc0f

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
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
@@ -82,7 +82,7 @@
8282
"husky": "^9.1.7",
8383
"ig-typedoc-theme": "^7.0.0",
8484
"igniteui-i18n-resources": "0.7.0-alpha.8",
85-
"igniteui-theming": "^22.1.0",
85+
"igniteui-theming": "^23.0.0",
8686
"keep-a-changelog": "^2.7.1",
8787
"lint-staged": "^16.2.6",
8888
"lit-analyzer": "^2.0.3",

src/components/button-group/themes/shared/button/button.bootstrap.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,8 @@ $group-item-border-thickness: rem(1px);
5656
background: var-get($theme, 'item-selected-focus-background');
5757
}
5858
}
59+
60+
[part='toggle focused'] {
61+
box-shadow: 0 0 0 rem(4px) var-get($theme, 'selected-shadow-color');
62+
}
5963
}

src/components/button/themes/button/shared/button.material.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $outlined-theme: $material-outlined;
5151
}
5252

5353
&:active {
54-
box-shadow: var-get($contained-theme, 'hover-elevation');
54+
box-shadow: var-get($contained-theme, 'active-elevation');
5555
}
5656
}
5757

src/components/navbar/themes/shared/navbar.common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ $theme: $material;
77
background: var-get($theme, 'background');
88
color: var-get($theme, 'text-color');
99
border-bottom: rem(1px) solid var-get($theme, 'border-color');
10-
box-shadow: var(--ig-elevation-4);
10+
box-shadow: var-get($theme, 'elevation');
1111
}
1212

1313
::slotted(igc-icon) {

0 commit comments

Comments
 (0)