Skip to main content

Target

Enum Target 

Source
pub enum Target {
Show 20 variants Css, Md3, Tailwind, Scss, Rust, Json, Glsl, Ghostty, Tui, Svg, Stylix, Bat, Nix, StylixFonts, FleetFonts, StylixVellum, StylixVellumBase24, SvgVellumPalette, SkimVellum, EscribaVellum,
}
Expand description

Every renderable target ishou-cli understands. The string here matches the CLI flag users type (ishou render --target css).

Variants§

§

Css

§

Md3

Material Design 3 system colors (--md-sys-color-*) mapped from the TokenSet — the target Material consumers (pleme-mui) bind to so they can consume ishou instead of forking a hard-coded MD3 palette.

§

Tailwind

§

Scss

§

Rust

§

Json

§

Glsl

§

Ghostty

§

Tui

§

Svg

§

Stylix

§

Bat

base16 bat .tmTheme (Sublime-Text XML plist) — the FIRST per-app config-file target. bat consumes it as a custom theme; this is the M0 proof ishou can natively emit a per-app config file (toward ishou replacing stylix as the fleet theming engine). Same base16 slot→Nord mapping as Stylix.

§

Nix

§

StylixFonts

§

FleetFonts

Fleet-fonts attrset — { primary, italic, bold, symbols, emoji, fallback_chain } consumed directly by every pleme-io GPU app HM module (mado, blackmatter-ghostty, fumi, kagi, …) to name the canonical family AND install the underlying nixpkgs package via home.packages. Sibling of StylixFonts — same typed Typography source, different consumer-side shape.

§

StylixVellum

Vellum base16 stylix scheme YAML (the prescribed fleet theme). Sourced from the BORN VellumPalette, not the Nord TokenSet.

§

StylixVellumBase24

Vellum base24 stylix scheme YAML — base16 + the real two-tier brights (base10–17).

§

SvgVellumPalette

Vellum palette preview SVG — one labelled chip per BORN token.

§

SkimVellum

Vellum skim/fzf --color=k:v,… string — the fleet picker theme. Generated from the BORN VellumPalette, byte-equivalent to the hand-authored skim-tab::NORD_COLORS.

§

EscribaVellum

Vellum escriba theme *.lisp(deftheme) + (defpalette) + (defhighlight …) over escriba’s CANONICAL_GROUPS, sourced from the BORN VellumPalette. Mirrors escriba/configs/vellum.lisp.

Implementations§

Source§

impl Target

Source

pub fn from_str(s: &str) -> Option<Self>

Source

pub fn render(&self, tokens: &TokenSet) -> String

Source

pub fn all() -> [Target; 20]

Trait Implementations§

Source§

impl Clone for Target

Source§

fn clone(&self) -> Target

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Target

Source§

impl Debug for Target

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for Target

Source§

impl PartialEq for Target

Source§

fn eq(&self, other: &Target) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Target

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.