Skip to main content

max / audiofiles

Take makeover 2.5 and makeover-immediate 0.10 for the elevation intent makeover-immediate 0.10 makes Palette::elevation required, on the same footing as `well` and `sunken`, so this is the forced half of the release rather than a pin refresh. Read through SemanticTokens::rgba rather than the local `c` helper, which is hex-only: elevation is translucent, and `rgb` declines to drop an alpha it was not asked to drop. Nothing paints with it yet; Palette::cast() is the shadow to hand an egui::Frame when a menu or a tooltip wants one. makeover-geometry stays at 0.6 deliberately. 0.7 is the Pointer retune, which is a look call that is not this release's to make.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-10 14:51 UTC
Signed with PGP, not checked
Commit: 6b59bd69aff76003fcefc97aa80f1f96ad101e20
Parent: d5a52bb
3 files changed, +45 insertions, -22 deletions
M Cargo.lock +28 -20
@@ -2973,9 +2973,9 @@
2973 2973
2974 2974 [[package]]
2975 2975 name = "makeover"
2976 - version = "2.4.1"
2976 + version = "2.5.0"
2977 2977 source = "registry+https://github.com/rust-lang/crates.io-index"
2978 - checksum = "b0a796c931419e54dd71a8aaa7d62230730e958f3101d37d4c1d3ab7b541b38e"
2978 + checksum = "3ba9cbc9da41bffe0514e6d6744cecf8097eb18676edcaf62a7dd08cea42e4aa"
2979 2979 dependencies = [
2980 2980 "include_dir",
2981 2981 "serde",
@@ -2990,9 +2990,9 @@
2990 2990
2991 2991 [[package]]
2992 2992 name = "makeover-immediate"
2993 - version = "0.9.0"
2993 + version = "0.10.0"
2994 2994 source = "registry+https://github.com/rust-lang/crates.io-index"
2995 - checksum = "408ad66ead29b84eef78c8c59a5f48aebe7ab2297697c3485ab99f8544a32701"
2995 + checksum = "a375f617897a291c9298c62eb449ff702ee7acf16f9474e59f02805f1f359099"
2996 2996 dependencies = [
2997 2997 "egui",
2998 2998 "makeover-layout",
@@ -7298,20 +7298,8 @@
7298 7298 ]
7299 7299
7300 7300 [[patch.unused]]
7301 - name = "quasi-http"
7302 - version = "0.1.0"
7303 -
7304 - [[patch.unused]]
7305 - name = "quasi-router"
7306 - version = "0.1.0"
7307 -
7308 - [[patch.unused]]
7309 - name = "quasi-tauri"
7310 - version = "0.1.0"
7311 -
7312 - [[patch.unused]]
7313 - name = "quasi-webview"
7314 - version = "0.1.0"
7301 + name = "docengine"
7302 + version = "0.4.0"
7315 7303
7316 7304 [[patch.unused]]
7317 7305 name = "kberg"
@@ -7322,5 +7310,25 @@
7322 7310 version = "0.1.0"
7323 7311
7324 7312 [[patch.unused]]
7325 - name = "docengine"
7326 - version = "0.4.0"
7313 + name = "quasi-axum"
7314 + version = "0.1.0"
7315 +
7316 + [[patch.unused]]
7317 + name = "quasi-http"
7318 + version = "0.1.0"
7319 +
7320 + [[patch.unused]]
7321 + name = "quasi-router"
7322 + version = "0.1.0"
7323 +
7324 + [[patch.unused]]
7325 + name = "quasi-store"
7326 + version = "0.1.0"
7327 +
7328 + [[patch.unused]]
7329 + name = "quasi-tauri"
7330 + version = "0.1.0"
7331 +
7332 + [[patch.unused]]
7333 + name = "quasi-webview"
7334 + version = "0.1.0"
M Cargo.toml +2 -2
@@ -13,7 +13,7 @@
13 13 audiofiles-sync = { path = "crates/audiofiles-sync" }
14 14 audiofiles-rhai = { path = "crates/audiofiles-rhai" }
15 15 makeover-layout = "0.12"
16 - makeover-immediate = "0.9"
16 + makeover-immediate = "0.10"
17 17 egui = { version = "0.35", default-features = false, features = ["default_fonts"] }
18 18 egui_extras = { version = "0.35", default-features = false }
19 19 eframe = { version = "0.35", default-features = false, features = ["default_fonts", "glow"] }
@@ -58,7 +58,7 @@
58 58 libc = "0.2"
59 59 midir = "0.11"
60 60 tagtree = { git = "https://makenot.work/git/max/makenotwork.git" }
61 - makeover = "2.4.1"
61 + makeover = "2.5.0"
62 62 # The invariant half of the design system: relational spacing. makeover
63 63 # resolves colour, which a theme may override; this carries what no theme may.
64 64 makeover-geometry = "0.6"
@@ -174,6 +174,11 @@
174 174 // Read here like any other intent.
175 175 pub bevel_light: Color32,
176 176 pub bevel_dark: Color32,
177 + // What a surface floating OVER the page is cast onto it with, translucent.
178 + // Only for something that overlays: a menu, a tooltip, a modal. A surface
179 + // in the layout takes a bevel, and reaching for this on a panel is how a
180 + // pre-Platinum look survives under a new name.
181 + pub elevation: Color32,
177 182 // Corner radius. Not spacing: the geometry crate is spacing-only today,
178 183 // and a theme setting its own radius is a standing audiofiles quirk that
179 184 // this change does not decide either way.
@@ -209,6 +214,8 @@
209 214 // highlight the Platinum tribute wanted.
210 215 bevel_light: Color32::from_rgb(0xFF, 0xFF, 0xFF),
211 216 bevel_dark: Color32::from_rgb(0xA4, 0xA4, 0xA4),
217 + // 0.18 black, what `makeover::resolve` derives from the page.
218 + elevation: Color32::from_black_alpha(46),
212 219 radius_control: 4.0,
213 220 radius_container: 0.0,
214 221 }
@@ -385,6 +392,7 @@
385 392 sunken: t.surface_sunken,
386 393 bevel_light: t.bevel_light,
387 394 bevel_dark: t.bevel_dark,
395 + elevation: t.elevation,
388 396 content: t.content,
389 397 content_muted: t.content_muted,
390 398 danger: t.danger,
@@ -689,6 +697,13 @@
689 697 // raised surface either and the bevel has nothing to sit on.
690 698 bevel_light: c("bevel-light", Color32::WHITE),
691 699 bevel_dark: c("bevel-dark", Color32::DARK_GRAY),
700 + // Translucent, so it comes through `rgba` rather than the `c` helper,
701 + // which is hex-only. `rgb` declines an alpha it was not asked to drop.
702 + elevation: t
703 + .rgba("elevation")
704 + .map_or(Color32::from_black_alpha(46), |(r, g, b, a)| {
705 + Color32::from_rgba_unmultiplied(r, g, b, a)
706 + }),
692 707 radius_control: get_f32("radius_control", legacy_rounding),
693 708 radius_container: get_f32("radius_container", 0.0),
694 709 })