theme: use semibold headlines and 24pt menu rows

This commit is contained in:
2026-11-16 09:03:12 +07:00
parent 28674d6d6a
commit 5d28046d4a
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -22,12 +22,12 @@ use crate::system::{AccessibilityPreferences, PartialPalette, SourceKind, System
/// Default control radius for macOS controls.
const CONTROL_RADIUS_PTS: f32 = 6.0;
/// The rounded-bezel text field's intrinsic height at regular size.
/// The text field's intrinsic height at regular size, square or rounded bezel alike.
const INPUT_HEIGHT_PTS: f32 = 24.0;
/// AppKit's regular push button, measured via `NSButton::fittingSize`.
const CONTROL_HEIGHT_PTS: f32 = 24.0;
/// The standard `NSMenu` row height.
const MENU_ITEM_HEIGHT_PTS: f32 = 20.0;
/// The `NSMenu` row height; 20 before the macOS 26 redesign.
const MENU_ITEM_HEIGHT_PTS: f32 = 24.0;
/// `NSSwitch`, measured via `fittingSize`.
const SWITCH_TRACK_HEIGHT_PTS: f32 = 24.0;
const SWITCH_TRACK_WIDTH_PTS: f32 = 54.0;