euv_ui/component/data_display/enum.rs
1/// Typographic scale variants for `EuvTypography`.
2#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
3pub enum EuvTypographyVariant {
4 /// Large display title.
5 H1,
6 /// Section heading.
7 H2,
8 /// Subsection heading.
9 H3,
10 /// Standard body copy.
11 #[default]
12 Body,
13 /// Secondary muted caption.
14 Caption,
15}
16
17/// Built-in crisp native vector glyph identifiers rendered directly via `DisplayList` primitives by `EuvIcon` and `draw_euv_icon`.
18#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
19pub enum EuvIconName {
20 /// Clipboard copy glyph (overlapping sheets).
21 #[default]
22 Copy,
23 /// Confirmation checkmark glyph.
24 Check,
25 /// Four-corner expand / enter fullscreen glyph.
26 Maximize,
27 /// Four-corner collapse / exit fullscreen glyph.
28 Minimize,
29 /// Diagonal cross dismiss / close glyph.
30 Close,
31 /// Magnifying glass search / command palette glyph.
32 Search,
33 /// Light theme sun glyph.
34 Sun,
35 /// Dark theme crescent moon glyph.
36 Moon,
37 /// Design scheme color palette glyph.
38 Palette,
39 /// Three-bar navigation drawer menu glyph.
40 Menu,
41 /// Media playback start triangle glyph.
42 Play,
43 /// Media playback pause bars glyph.
44 Pause,
45 /// Reload / refresh circular arrow glyph.
46 Refresh,
47 /// Delete / clear trash bin glyph.
48 Trash,
49 /// Downward disclosure chevron glyph.
50 ChevronDown,
51 /// Leftward navigation arrow glyph.
52 ArrowLeft,
53 /// Rightward navigation arrow glyph.
54 ArrowRight,
55}