Something went wrong. Try again.
Global — KDE Connect–compatible mobile companion (Gleam + egui/vidya dist-ui)
Something went wrong. Try again.
README.md
Vidya #
GNOME/HIG-inspired theme layer for egui — no GTK.
Repo: tangled.org/nandi.uk/vidya
Use #
[dependencies]
vidya = { git = "https://tangled.org/nandi.uk/vidya" }
# or: vidya = { git = "ssh://git@tangled.org/nandi.uk/vidya" }
egui = "0.31"
use vidya::{apply_dark, primary_button, Theme};
apply_dark(ctx);
let th = Theme::dark();
if primary_button(ui, &th, "Open").clicked() {
// …
}
Nix flake #
nix build git+https://tangled.org/nandi.uk/vidya
# or local:
nix build .
nix develop
As a flake input:
inputs.vidya.url = "git+https://tangled.org/nandi.uk/vidya";
API #
| Item | Role |
|---|---|
Theme::dark() / light() |
Palette + spacing + type scale |
apply / apply_dark / apply_light |
Install on egui::Context |
primary_button / button / destructive_button |
Styled actions |
title / title_2 / body / dim_label |
Text roles |
Theme::header_frame / card_frame / page_frame |
Layout chrome |
License #
MIT