feat: add repo about dialog (#5)

Reviewed-on: https://git.reya.su/reya/signed/pulls/5
This commit was merged in pull request #5.
This commit is contained in:
2026-08-28 03:26:22 +00:00
parent 932679311c
commit 7e421a0f3e
19 changed files with 863 additions and 696 deletions
+8 -8
View File
@@ -32,21 +32,21 @@ fn main() {
}
}
let light_theme = registry.themes().get("Signed Light").cloned();
let dark_theme = registry.themes().get("Signed Dark").cloned();
//let light_theme = registry.themes().get("Signed Light").cloned();
//let dark_theme = registry.themes().get("Signed Dark").cloned();
let theme = Theme::global_mut(cx);
theme.radius = px(2.);
theme.radius_lg = px(6.);
theme.focus_ring = false;
theme.shadow = false;
if let Some(light) = light_theme {
theme.light_theme = light;
}
//if let Some(light) = light_theme {
// theme.light_theme = light;
//}
if let Some(dark) = dark_theme {
theme.dark_theme = dark;
}
//if let Some(dark) = dark_theme {
// theme.dark_theme = dark;
//}
// Sync the theme with the system appearance
Theme::sync_system_appearance(None, cx);