T06g forms structure: form with Cmd-Enter submit, sections, fields, labels, errors, field arrays, inline forms, dirty indicator

This commit is contained in:
ZacharyZhang-NY committed 2026-09-25 10:46:27 -04:00
1 parent 0ca1ff65c7
commit 05ff67ad9f
13 files changed
+850 -78

No files matched your search

+5
View File
@@ -243,6 +243,11 @@ impl Theme {
px_to_rems(6.0)
}
/// A dot that marks a state, such as unsaved changes.
pub fn status_dot(&self) -> Rems {
px_to_rems(6.0)
}
/// A switch's track; its thumb fills the height inside a small inset.
pub fn switch_track(&self) -> Size<Rems> {
size(px_to_rems(32.0), px_to_rems(18.0))