desktop grid client
git clone https://git.lucas.co/cce-grid.git
Read the silhouette radius from plate.root only
The legacy backplate.corner_radius fallback is gone (cce-ui RFC 7a-3).
Co-Authored-By: Claude Fable 5.1 <[email protected]>
src/main.rs | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/main.rs b/src/main.rs
index 0b18e54..dafcf74 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -158,12 +158,8 @@ fn style() -> Style {
},
gap_width: (get_i64("/style/surface/desktop/gap_width", 16).max(0)) as f64,
cell_inset: get_i64("/style/surface/desktop/cell_fade_inset", 0) as f64,
- // Canonical-first (cce-ui RFC Phase 7a): the silhouette radius may be
- // spelled plate{root} or legacy backplate in the shared config.
- corner_radius: get_i64(
- "/style/surface/plate/root/corner_radius",
- get_i64("/style/surface/backplate/corner_radius", 12),
- ) as f64,
+ // The silhouette radius (cce-ui RFC Phase 7a spelling).
+ corner_radius: get_i64("/style/surface/plate/root/corner_radius", 12) as f64,
gap_color: linear(
get_color("/style/surface/desktop/gap_color")
.unwrap_or([0.686, 0.796, 0.867, 1.0]),