#[non_exhaustive]pub enum Theme {
Jade,
Amber,
Graphite,
Iris,
Ledger,
}Expand description
One of the looks Tablo ships, which a Brand picks with Brand::theme: its palette in both
color schemes, its type, corners and shadows, and the SidebarFrame it suggests. Every theme
speaks the same grammar (captions over the sidebar’s groups and the tables’ columns, the
current page notched in the primary color, the title ruled off from the page, ruled head
bands), each in a voice of its own.
A brand’s color, radius and
sidebar, and the tokens an app’s stylesheet redeclares, apply over the
theme.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Jade
Tablo’s own, the ruled sheet: a jade primary on cool neutrals, the page a white sheet inset in the sidebar’s frame.
Amber
The workshop: warm stone neutrals and an amber primary, bold titles, ringed cards, the current page an amber plate. Close to Filament’s default look.
Graphite
The instrument: black and white, barely rounded and flat, captions and figures in the monospace and tables gridded, beside a charcoal sidebar in either color scheme.
Iris
The studio: a violet primary on tinted grays, pills for buttons, badges and tabs, soft violet shadows, the sidebar floating beside the page under a frosted topbar.
Ledger
Tablo’s site as a panel: black and red inks on pale green paper, square corners, mono capitals over ink rules, set in Schibsted Grotesk and Martian Mono, which the shell loads for it.
Implementations§
Trait Implementations§
impl Copy for Theme
impl Eq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.