sizes: title bar 38 and status bar 28 px, as 0.19's

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Dylan M. Taylor
2026-11-29 19:16:42 +00:00
co-authored by Claude Opus 5.5
parent cc932416c3
commit a3cfbc355a
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1,6 +1,8 @@
{
"all": {
"radius.surface": 8,
"size.bar.status": 28,
"size.bar.title": 38,
"size.icon.glyph_md": 16,
"size.page.column": 1180,
"space.inset.fit": 28,
+1 -1
View File
@@ -265,7 +265,7 @@ pub fn to_color32(c: deckcraft_color::Rgba) -> Color32 {
Color32::from_rgba_unmultiplied(c.r, c.g, c.b, c.a)
}
/// DeckCraft's overrides of the suite's size sets (`sizes.json`): its interface type scale, surface rounding, File page column and the slide's fit margin (0.19's 28 points). One
/// DeckCraft's overrides of the suite's size sets (`sizes.json`): its interface type scale, title and status bar heights, surface rounding, File page column and the slide's fit margin (0.19's 28 points). One
/// shared value, so every root that carries it keeps one identity for the token cache.
pub fn app_sizes() -> std::sync::Arc<craft::theme::AppSizes> {
static SIZES: std::sync::LazyLock<std::sync::Arc<craft::theme::AppSizes>> =