git.lucas.co / cce-ui
GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git

commit67bddb49aa7e3f55188f675184ac208c69402a20
parentc087260706
authorLucas Galante <[email protected]>
date2026-07-19 01:07
feat: narrow the default bevel_width from 14 to 9.3 logical px

Reduces how far the rolled edge extends into the plate by one third,
per visual review on cce-data-editor. Still overridable via the
window_manager.bevel_width config key.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

 src/layout.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/layout.rs b/src/layout.rs
index cc6bdc0..695d061 100644
--- a/src/layout.rs
+++ b/src/layout.rs
@@ -1494,7 +1494,7 @@ pub fn bevel_depth() -> f32 {
 /// thick glass; narrow and deep reads as a stamped metal lip.
 pub fn bevel_width() -> f32 {
     lazy_init_style_registry();
-    get_style_registry().read().unwrap().get_float("bevel_width").unwrap_or(14.0)
+    get_style_registry().read().unwrap().get_float("bevel_width").unwrap_or(9.3)
 }
 
 pub fn toggle_corner_radius() -> f32 {