There was an error while loading. Please reload this page.
Configuration support is built but not enabled by default, since formats are not yet stable. It may also be used programmatically.
To use, specify paths (KAS_CONFIG, KAS_THEME_CONFIG) and mode (KAS_CONFIG_MODE: Read (default), ReadWrite or WriteDefault).
KAS_CONFIG
KAS_THEME_CONFIG
KAS_CONFIG_MODE
Read
ReadWrite
WriteDefault
To get started:
export KAS_CONFIG=kas.yaml export KAS_THEME_CONFIG=theme.yaml export KAS_CONFIG_MODE=readwrite # Optionally, force creation of default files: KAS_CONFIG_MODE=WriteDefault cargo run --example gallery # Now, just run: cargo run --example gallery
For further documentation, see kas_wgpu::options::Options.
kas_wgpu::options::Options
Winit detects the display's scale factor automatically (if not, it's probably a bug, except possibly on X11).
Winit allows forcing a specific scale factor on X11, e.g.:
export WINIT_X11_SCALE_FACTOR=1.5