Initialize Rust GPUI browser shell

This commit is contained in:
2026-05-07 18:27:15 -04:00
commit d9a27f3dc4
41 changed files with 11573 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum MotionRegister {
Productive,
Expressive,
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct MotionToken {
pub register: MotionRegister,
pub duration_ms: u16,
}
pub const HOVER_FEEDBACK: MotionToken =
MotionToken { register: MotionRegister::Productive, duration_ms: 120 };
pub const PANEL_TRANSITION: MotionToken =
MotionToken { register: MotionRegister::Productive, duration_ms: 180 };