mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 17:42:57 +00:00
refactor: overhaul minimal-deployment compose file
fix: changeset crashes because it uses internal prettier version refactor: add asdf tool versioning file fix: iOS build resources fix: backend tests break every year refactor: update some backend unit tests feat: add direnv for nix feat: update nix flake to not rely on buildFHSUserEnv feat: enable checkJs by default feat: custom ion-icon package feat: custom ion-icon package feat: custom ion-icon element feat: custom ion-icon element feat: custom ion-icon element feat: custom ion icon element fix: e2e tests
This commit is contained in:
@@ -21,10 +21,10 @@ as usual.
|
||||
|
||||
The modified `ion-icon` comes with a few extra features:
|
||||
|
||||
- `[fill]` controls the fill color of the icon.
|
||||
- `[weight]` controls the font weight of the icon.
|
||||
- `[size]` controls the font size of the icon.
|
||||
- `[grade]` controls the font grade of the icon.
|
||||
- `[style.--fill]` controls the fill color of the icon.
|
||||
- `[style.--weight]` controls the font weight of the icon.
|
||||
- `[style.--size]` controls the font size of the icon.
|
||||
- `[style.--grade]` controls the font grade of the icon.
|
||||
|
||||
All of these attributes are animated as described
|
||||
[here](https://developers.google.com/fonts/docs/material_symbols).
|
||||
@@ -50,11 +50,10 @@ 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
|
||||
TypeScript files and code
|
||||
1. Use the Proxy object to reference 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
|
||||
|
||||
Reference in New Issue
Block a user