#[non_exhaustive]pub enum Design {
Show 21 variants
Future,
Clarity,
Helix,
Forest,
Editorial,
Graphite,
Ocean,
Ember,
Blueprint,
Bloom,
Aurora,
Candy,
Solar,
Nocturne,
Arcade,
Parchment,
Bubble,
Garnet,
Origami,
Sundown,
Pride,
}Expand description
A stock visual preset: geometry, elevation, surface treatment, and type.
A design carries no colors of its own. Colors come from a Palette, and each design
names the palette upstream pairs it with (Design::palette), which FutureCss applies
unless a palette is chosen explicitly.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Future
Future: Balanced corners, quiet surfaces and soft elevation.
Clarity
Clarity: Crisp edges, flat surfaces and outlined actions.
Helix
Helix: Charcoal chrome, mint actions and violet feature surfaces.
Forest
Forest: Organic curves, green accents and calm surfaces.
Editorial
Editorial: Serif reading, restrained corners and ink-like controls.
Graphite
Graphite: Monochrome surfaces with distinct, structured edges.
Ocean
Ocean: Cool teal, rounded panels and a tinted header.
Ember
Ember: Warm accents, substantial elevation and squared panels.
Blueprint
Blueprint: Square geometry, blue accents and precise outlines.
Bloom
Bloom: Playful curves, rose accents and floating colored panels.
Aurora
Aurora: Violet ribbons, luminous curves and floating surfaces.
Candy
Candy: Rose candy stripes, pillowy panels and playful elevation.
Solar
Solar: Amber sunshine, square panels and decisive offset shadows.
Nocturne
Nocturne: Ink chrome, violet spotlights and elegant serif reading.
Arcade
Arcade: Green scanlines, square geometry and terminal-inspired type.
Parchment
Parchment: Warm ruled paper, serif type and quiet outlined controls.
Bubble
Bubble: Teal bubbles, generous curves and buoyant layered shadows.
Garnet
Garnet: Rose jewel facets, crisp serif panels and charcoal chrome.
Origami
Origami: Blue folded ribbons, angular outlines and paper shadows.
Sundown
Sundown: Ember horizons, rounded reading panels and long soft shadows.
Pride
Pride: Rainbow ribbons, joyful rounded panels and clear violet actions.
Implementations§
Source§impl Design
impl Design
Sourcepub const fn description(self) -> &'static str
pub const fn description(self) -> &'static str
Upstream’s one-line description.
Sourcepub fn from_attribute(value: &str) -> Option<Self>
pub fn from_attribute(value: &str) -> Option<Self>
Parse a data-fc-design value.