mirror of
https://github.com/storytold/deckcraft.git
synced 2026-12-01 10:13:09 -06:00
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:
co-authored by
Claude Opus 5.5
parent
cc932416c3
commit
a3cfbc355a
@@ -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,
|
||||
|
||||
@@ -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>> =
|
||||
|
||||
Reference in New Issue
Block a user