Skip to content

Commit

Permalink
fix(dfx-bootstrap-icons): use default size for injection
Browse files Browse the repository at this point in the history
  • Loading branch information
Dafnik committed May 31, 2024
1 parent f0d9296 commit ea2023c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/dfx-bootstrap-icons/src/lib/icons.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ export const DEFAULT_ICON_SIZE = '16';
export const DEFAULT_COLOR = 'currentColor';

export const ICON_WIDTH = new InjectionToken<string>('DFX_ICONS_WIDTH', {
factory: () => '16',
factory: () => DEFAULT_ICON_SIZE,
});

export const ICON_HEIGHT = new InjectionToken<string>('DFX_ICONS_HEIGHT', {
factory: () => '16',
factory: () => DEFAULT_ICON_SIZE,
});

export const ICON_COLOR = new InjectionToken<ColorValueHex | undefined>('DFX_ICONS_COLOR', {
Expand Down

0 comments on commit ea2023c

Please sign in to comment.