1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! Wear OS widgets.
//!
//! A round watch is not a small phone. Its list scales and fades its rows
//! towards the bezel, its scroll indicator is a curved arc at 3 o'clock rather
//! than a straight bar, its buttons are 52dp capsules with two label slots, and
//! all of it is laid out on a whole-pixel grid because half a pixel of drift
//! antialiases an edge the platform draws crisp.
//!
//! These are built against Cranpose's own text and colour model, not against
//! any app's. There is no theme system here and no ambient lookup: every widget
//! takes its colours in its spec (see [`theme::WearColors`]) and its geometry
//! from [`density::WearDensity`].
//!
//! The pieces, in dependency order:
//!
//! - [`density`] — the integral-layout grid everything else rounds against;
//! - [`color_appearance`] — `setLuminance`, the CAM16 round trip Wear derives
//! its scroll-indicator colours with;
//! - [`theme`] — colour roles and the four Wear type-scale entries;
//! - [`scaling_list`] — the shrink-and-fade list, and the transform channel
//! that makes it possible at all;
//! - [`scroll_indicator`] — the curved indicator;
//! - [`scaffold`] — a screen that owns one of each;
//! - [`list_header`], [`button`], [`switch_button`] — the row widgets.
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;