Something went wrong. Try again.
Charm-like tui library
Something went wrong. Try again.
123456789101112131415161718192021222324const matte = @import("matte");
description: ?[]const u8 = null,styles: Styles = .{},
const Styles = struct { bin: matte.Style = matte.style.fg(.magenta).bold(true), type: matte.Style = matte.style.fg(.bright_black), err: matte.Style = matte.style.fg(.red).bold(true), group: matte.Style = matte.style.fg(.blue).bold(true), func: matte.Style = matte.style.fg(.cyan).bold(true), param: matte.Style = matte.style.fg(.green).bold(true), choice: matte.Style = matte.style.fg(.magenta), description: matte.Style = matte.style.fg(.white), // If someone has a better description for this I'm all ears. // zli only requires enough of the group, func, param, or choice enough // resolve it to a single item. The minimum portion of the arg required // to resolve it will be styles with these. unique_group: matte.Style = matte.style.fg(.blue).bold(true).ul(.single), unique_func: matte.Style = matte.style.fg(.cyan).bold(true).ul(.single), unique_param: matte.Style = matte.style.fg(.green).bold(true).ul(.single), unique_choice: matte.Style = matte.style.fg(.magenta).ul(.single),};