pub struct Theme {Show 22 fields
pub time: Colour,
pub uint: Colour,
pub sint: Colour,
pub float: Colour,
pub text: Colour,
pub binary: Colour,
pub colour: Colour,
pub crypto: Colour,
pub opcode: Colour,
pub renderable: Colour,
pub scene_graph: Colour,
pub pass: Colour,
pub fail: Colour,
pub warn: Colour,
pub hint: Colour,
pub punct: Colour,
pub label: Colour,
pub comment: Colour,
pub size: Colour,
pub header: Colour,
pub tree: Colour,
pub highlight_bg: Option<Colour>,
}Expand description
Theme for VSF inspector output
All colours are RGB triplets (r, g, b) where each component is 0-255.
Fields§
§time: ColourTime types (e, eu, ei, ef5, ef6)
uint: ColourUnsigned integers (u, u3-u7, y, z, b, L)
sint: ColourSigned integers (i, i3-i7)
float: ColourFloating point (f5, f6, s44, c44)
text: ColourText/strings (x)
binary: ColourBinary data (q)
colour: ColourColour types (r*, ra, rw)
crypto: ColourCrypto types (h*, k*, g*, sig)
opcode: ColourOpcodes ({ab})
renderable: ColourRenderable objects (ro*)
scene_graph: ColourScene graph types (vt)
pass: ColourVerification passed (✓)
fail: ColourVerification failed (✗)
warn: ColourWarnings
hint: ColourHints/descriptions
punct: ColourPunctuation/structure (⦉⦊, {}, <>, etc.)
label: ColourField labels and names (section counts, field names, punctuation in displays)
comment: ColourComments and annotations
size: ColourByte sizes and counts (section sizes, child counts)
header: ColourSection headers
tree: ColourTree structure characters (╮, ╰, │, ─)
highlight_bg: Option<Colour>Background highlight (for selected items)
Implementations§
Source§impl Theme
impl Theme
Sourcepub fn solarized_dark() -> Self
pub fn solarized_dark() -> Self
Solarized Dark theme
Sourcepub fn gruvbox_dark() -> Self
pub fn gruvbox_dark() -> Self
Gruvbox Dark theme