feat: type-safe sc-icons

This commit is contained in:
2024-04-03 12:16:18 +02:00
committed by Rainer Killinger
parent 53c3d0ba0c
commit abf9999461
29 changed files with 211 additions and 172 deletions

View File

@@ -50,11 +50,11 @@ the config file.
Icon font minification is done automatically, but requires you to
follow a few simple rules:
1. Use the tagged template literal for referencing icon names in
1. Use the type-safe proxy for referencing icon names in
TypeScript files and code
```ts
SCIcon`icon_name`;
SCIcon.icon_name;
```
2. When using `ion-icon` in HTML, reference either icons that went through