forked from 1b-agent/opencadstudio-upstream
- Raise accessible_accent default threshold from 2.0 to 3.0 (WCAG 1.4.11 UI state indicators) - Raise EntryKind::Info command line history threshold from 3.0 to 4.5 (WCAG 1.4.3 normal text) - Update themed_check_cell to verify >= 3.0:1 contrast across both weak popup panel and strong highlighted rows - Replace fully-qualified accessible_accent_threshold calls inside closures with use imports - Add comprehensive 9-suite theme accessibility contrast test suite covering all 22 themes across core surfaces
31 lines
684 B
Rust
31 lines
684 B
Rust
/// Single source of truth for UI row height (px).
|
|
/// Change this to scale the ribbon, layer manager rows, and property panel rows uniformly.
|
|
pub const ROW_H: f32 = 26.0;
|
|
|
|
pub mod color_select;
|
|
pub mod command_line;
|
|
pub mod dock;
|
|
pub mod icons;
|
|
pub mod modal;
|
|
pub mod overlay;
|
|
pub mod popup;
|
|
pub mod properties;
|
|
pub mod read_only;
|
|
pub mod ribbon;
|
|
pub mod side_toolbar;
|
|
pub mod statusbar;
|
|
pub mod style;
|
|
pub mod text_util;
|
|
pub mod wide_menu;
|
|
pub mod window;
|
|
pub mod wrap_bar;
|
|
|
|
pub use command_line::CommandLine;
|
|
pub use properties::PropertiesPanel;
|
|
pub use ribbon::Ribbon;
|
|
pub use statusbar::StatusBar;
|
|
pub use window::layers::LayerPanel;
|
|
|
|
#[cfg(test)]
|
|
mod theme_accessibility_tests;
|