مكتبة أيقونات Angular (محايدة للمجموعة) | ng-hub-ui-icons

أيقونات Angular محايدة للمجموعة: اعرض Font Awesome وBootstrap Icons وMaterial Symbols وSolar أو SVG الخاصة بك عبر واجهة <hub-icon> / [hubIcon] واحدة، منسّقة بمتغيّرات CSS.

الأنماط

الميكسنات والأنماط

Override the `--hub-icon-*` design tokens in a single include. Every parameter is OPTIONAL and defaults to `null`: only the parameters you pass are emitted, so the rest keep the defaults. `color` defaults to `currentColor`, so an icon inherits its surrounding text colour unless themed. Token-based and self-contained.

Theming with hub-icon-theme
ميكسنالمعاملاتالوصف
Theming
hub-icon-theme()
$color--hub-icon-color
$size--hub-icon-size
$weight--hub-icon-weight
$fill--hub-icon-fill
$grade--hub-icon-grade
$optical-size--hub-icon-optical-size
One-call token theming for `<hub-icon>` / `[hubIcon]`

متغيّرات CSS

نسّق كل بكسل عبر 6 متغيّرات CSS. تجاوزها عند :root أو حدّد نطاقها على غلاف.

Icon

Design tokens read by this component. Override them on the host element (or any ancestor) to customize; every default falls back to the ng-hub-ui-ds layer.

المتغيّرالافتراضيالنوعالوصف
--hub-icon-size1emlength حجم الأيقونة (font-size للأشكال؛ العرض/الارتفاع لـ SVG).
--hub-icon-colorcurrentColorcolor لون الأيقونة (color للأشكال؛ fill لـ SVG).
--hub-icon-fill0color محور FILL في Material Symbols.
--hub-icon-weight400string محور wght في Material Symbols.
--hub-icon-grade0string محور GRAD في Material Symbols.
--hub-icon-optical-size24length محور opsz في Material Symbols.