SIDEBAR_WIDTH_PX
constSIDEBAR_WIDTH_PX:256=256
Defined in: packages/react/src/ui/sidebar.tsx:44
Pixel equivalents of SIDEBAR_WIDTH/SIDEBAR_WIDTH_ICON — exported
for consumers that need a real NUMBER (JS arithmetic, e.g. ListViewPeek.tsx’s
own resize clamp accounting for a right-docked sidebar’s width), unlike
the CSS custom properties (--sidebar-width/--sidebar-width-icon,
resolved by the browser, never by JS) consumers doing plain CSS
positioning should prefer instead. Assumes the standard 16px root
font-size (16rem/3rem → 256px/48px) — a project that overrides it
would see a correspondingly generous/conservative clamp bound, never a
broken one.