Skip to content

Commit d52c9f8

Browse files
fix(dropdown): icon size in bootstrap theme (#1755)
Co-authored-by: Simeon Simeonoff <[email protected]>
1 parent 6301dfb commit d52c9f8

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/components/dropdown/themes/item.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ import { css } from 'lit';
22

33
import type { Themes } from '../../../theming/types.js';
44
// Shared Styles
5+
import { styles as bootstrap } from './shared/item/dropdown-item.bootstrap.css.js';
56
import { styles as fluent } from './shared/item/dropdown-item.fluent.css.js';
67
import { styles as indigo } from './shared/item/dropdown-item.indigo.css.js';
78

89
const light = {
10+
bootstrap: css`
11+
${bootstrap}
12+
`,
913
indigo: css`
1014
${indigo}
1115
`,
@@ -15,6 +19,9 @@ const light = {
1519
};
1620

1721
const dark = {
22+
bootstrap: css`
23+
${bootstrap}
24+
`,
1825
indigo: css`
1926
${indigo}
2027
`,
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@use 'styles/utilities' as *;
2+
3+
:host {
4+
--item-icon: #{rem(18px)};
5+
6+
::slotted(igc-icon) {
7+
--size: var(--item-icon);
8+
}
9+
}

0 commit comments

Comments
 (0)