euv-ui 0.28.2

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;

/// The border treatment of the `euv_panel` component.
///
/// The monochrome design system expresses separation with borders rather than
/// shadows or background fills, so the variant only chooses the border style.
#[derive(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum EuvPanelVariant {
    /// No border, for panels already separated by surrounding whitespace.
    #[default]
    Plain,
    /// A solid 1px border, for a strongly grouped section.
    Bordered,
    /// A dashed 1px border, for a loosely grouped section.
    Dashed,
}