API Reference / @gtkx/cli / @gtkx/cli/env
@gtkx/cli/env
Ambient types for asset imports with the ?resource, ?icon, ?font, ?url, ?raw and ?inline queries, and for CSS imports.
Modules
| Module | Description |
|---|---|
| *?font | Bundles a font with the app and makes its family available to Pango. |
| *?icon | Bundles an icon into the app's private icon theme. ?icon=name chooses its name; the file name is the default. |
| *?inline | Inlines a file into the bundle. |
| *?raw | Imports a file's text. |
| *?resource | Bundles a file of any type as a GResource. ?resource=/exact/path chooses its resource path. |
| *?url | Provides a file's path on disk. |
| *.css | Installs a stylesheet's rules globally for the app's lifetime. |
| *.css?url | Provides a stylesheet's file path without installing the stylesheet. |