functora-egui 0.2.0

shadcn/ui-inspired widget library for egui - buttons, inputs, selects, dialogs, and 70+ more components with light/dark theming
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use askama::Template;

#[derive(Template)]
#[template(path = "web/index.html")]
pub struct IndexHtml<'a> {
    pub title: &'a str,
    pub theme_color: &'a str,
    pub pkg_js: &'a str,
    pub vsn: &'a str,
}

#[derive(Template)]
#[template(path = "web/manifest.json", escape = "none")]
pub struct ManifestJson<'a> {
    pub title: &'a str,
    pub short_name: &'a str,
    pub theme_color: &'a str,
}