psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::Metrics Struct Reference

Public Member Functions

constexpr float space (float steps) const
constexpr const Sizes & sizes (Density density) const

Public Attributes

Radii radius {}
float border {1}
float focusRing {2}
float focusRingOffset {1}
float spaceUnit {4}
float gutter {20}
float gutterCard {16}
float frameInset {8}
float barToolbar {44}
float barHeader {52}
float sidebarWidth {224}
float menuWidth {192}
float popoverWidth {320}
float toastWidth {352}
float dialogSm {400}
float dialogMd {560}
float viewportMargin {16}
float scrollBar {10}
float scrollThumbInset {3}
float iconSm {12}
float iconMd {14}
float iconStroke {1.3f}
Sizes pointer {}
Sizes touch {.hitSlop = 10}
Motion motion {}

The documentation for this struct was generated from the following file: