Benjamin Scharf 0a0935d943 Maintenance: Add eslint rule for sorting imports | 5 месяцев назад | |
---|---|---|
.. | ||
__tests__ | 5 месяцев назад | |
CommonIcon.vue | 5 месяцев назад | |
README.md | 11 месяцев назад | |
injectIcons.ts | 10 месяцев назад | |
types.ts | 10 месяцев назад | |
useIcons.ts | 10 месяцев назад | |
usePrivateIcon.ts | 5 месяцев назад | |
useRawHTMLIcon.ts | 5 месяцев назад |
fill="none"
on the root element too. An implicit fill: currentColor
rule is applied by CommonIcon
component, so it will inherit the color of the surrounding text.fill-rule
and clip-rule
can be applied only if the design requires it (no implicit attributes are allowed).desktop
Icon Setwidth="16"
and height="16"
, any further resizing can happen only inside CommonIcon
component. Please make sure that viewBox
is set to 0 0 16 16
.app/frontend/apps/desktop/initializer/assets/
directory.app/frontend/apps/desktop/initializer/3RD-PARTY-ICONS.md
.mobile
Icon Setwidth="24"
and height="24"
, any further resizing can happen only inside CommonIcon
component. Please make sure that viewBox
is set to 0 0 24 24
.app/frontend/apps/mobile/initializer/assets/
directory.app/frontend/apps/mobile/initializer/3RD-PARTY-ICONS.md
.All icon names used in shared context should refer to an alias defined in mobileIconsAliasesMap.ts
and/or desktopIconsAliasesMap.ts
. Alias refers to the icon name from assets
folder depending on the app. Alias name is always preferred when displaying an icon even if icon with that name already exists.