Skip to main content

hyprforge_ui/
lib.rs

1//! What Hyprforge apps are built out of.
2//!
3//! The iced half of the shared look: one spacing scale, one palette, one
4//! set of widgets, so a sidebar in Settings and a sidebar in the file
5//! manager breathe the same amount and use the same accent.
6//!
7//! Deliberately knows nothing about Hyprland. A calculator should be
8//! able to use these widgets without inheriting Lua codegen, which is
9//! why the one widget that *did* know — the "your config can't take a
10//! require line" banner — lives in the Settings app instead.
11//!
12//! `DESIGN-SYSTEM.md`, beside this crate's manifest, is the catalogue:
13//! every token with where it comes from, every size, mark and widget,
14//! and the rule for what belongs here rather than in an app.
15
16pub mod color;
17pub mod density;
18pub mod glyph;
19pub mod keys;
20pub mod theme;
21pub mod widgets;