rootle 0.13.1

Modal TUI for browsing remote source-control systems from the terminal
Documentation
//! Strop original palettes mapped to rootle roles.
//! Base/surface/raised form the chrome ladder; selections and diff washes
//! retain the source colors. Modes never borrow syntax inks.
//! `crust` is rootle's on-accent ink; provider identity uses a quiet raised plane.

use super::palettes::RoleValue;

pub(super) const HONE: &[RoleValue] = &[
    ("crust", 0x15171c),
    ("mantle", 0x1c1f25),
    ("base", 0x15171c),
    ("surface0", 0x23272f),
    ("surface2", 0x4a5160),
    ("overlay0", 0x858c9a),
    ("subtext0", 0xa8adb8),
    ("text", 0xe6e1d6),
    ("border_focused", 0xe8a848),
    ("border_unfocused", 0x4a5160),
    ("directory", 0xa8adb8),
    ("file", 0xe6e1d6),
    ("selection_bg", 0x30405a),
    ("selection_fg", 0xe6e1d6),
    ("hint", 0x858c9a),
    ("error", 0xe8707c),
    ("warning", 0xd9a85a),
    ("mode_browse", 0xe8a848),
    ("mode_search", 0x6fb8c4),
    ("mode_insert", 0x8fc48a),
    ("mode_normal", 0xe8a848),
    ("mode_leader", 0xe8a848),
    ("mode_visual", 0xb79ce6),
    ("forge", 0x23272f),
    ("forge_fg", 0xa8adb8),
    ("badge_repo", 0xe8a848),
    ("badge_org", 0xa8adb8),
    ("search_match", 0xe8a848),
    ("diff_add_fg", 0x8fc48a),
    ("diff_del_fg", 0xe8707c),
    ("diff_add_bg", 0x1e2d22),
    ("diff_del_bg", 0x331f24),
    ("diff_add_strong", 0x2b4a33),
    ("diff_del_strong", 0x5a2c35),
    ("diff_band", 0x1c1f25),
];

pub(super) const HONE_SYNTAX: &[RoleValue] = &[
    ("keyword", 0xc99ce0),
    ("string", 0xaec37f),
    ("comment", 0x838a97),
    ("function", 0x86b7d8),
    ("type", 0x8ecdb8),
    ("constant", 0xe8a848),
    ("tag", 0xc99ce0),
    ("namespace", 0x8ecdb8),
    ("invalid", 0xe8707c),
    ("number", 0xe39a7b),
    ("attribute", 0xd1aa62),
    ("operator", 0xb4b8c2),
    ("punctuation", 0x9da3af),
    ("variable", 0xe6e1d6),
    ("property", 0xd7cfc0),
    ("heading", 0xe8a848),
    ("link", 0x7fb2d4),
    ("code", 0xaec37f),
];

pub(super) const SLATE: &[RoleValue] = &[
    ("crust", 0x1a1c20),
    ("mantle", 0x202329),
    ("base", 0x1a1c20),
    ("surface0", 0x272b32),
    ("surface2", 0x545962),
    ("overlay0", 0x858a93),
    ("subtext0", 0xaeb1b7),
    ("text", 0xdcd9d2),
    ("border_focused", 0xc9b27e),
    ("border_unfocused", 0x545962),
    ("directory", 0xaeb1b7),
    ("file", 0xdcd9d2),
    ("selection_bg", 0x343a45),
    ("selection_fg", 0xdcd9d2),
    ("hint", 0x858a93),
    ("error", 0xd98a90),
    ("warning", 0xcfb27a),
    ("mode_browse", 0xc9b27e),
    ("mode_search", 0x93b7bd),
    ("mode_insert", 0xa5bd9a),
    ("mode_normal", 0xc9b27e),
    ("mode_leader", 0xc9b27e),
    ("mode_visual", 0xb8aacb),
    ("forge", 0x272b32),
    ("forge_fg", 0xaeb1b7),
    ("badge_repo", 0xc9b27e),
    ("badge_org", 0xaeb1b7),
    ("search_match", 0xc9b27e),
    ("diff_add_fg", 0xa5bd9a),
    ("diff_del_fg", 0xd98a90),
    ("diff_add_bg", 0x22302a),
    ("diff_del_bg", 0x34262a),
    ("diff_add_strong", 0x2c4236),
    ("diff_del_strong", 0x4a3236),
    ("diff_band", 0x202329),
];

pub(super) const SLATE_SYNTAX: &[RoleValue] = &[
    ("keyword", 0xc9b27e),
    ("string", 0xb9c3a6),
    ("comment", 0x878d9a),
    ("function", 0xb9c6d2),
    ("type", 0xb6c9c0),
    ("constant", 0xc9b27e),
    ("tag", 0xc9b27e),
    ("namespace", 0xb6c9c0),
    ("invalid", 0xd98a90),
    ("number", 0xcdb6a3),
    ("attribute", 0xc6bb9c),
    ("operator", 0xaeb1b7),
    ("punctuation", 0x9ea3ab),
    ("variable", 0xdcd9d2),
    ("property", 0xcfcbc2),
    ("heading", 0xc9b27e),
    ("link", 0x92b2c8),
    ("code", 0xb9c3a6),
];

pub(super) const CARBIDE: &[RoleValue] = &[
    ("crust", 0x0b0c0f),
    ("mantle", 0x14161b),
    ("base", 0x0b0c0f),
    ("surface0", 0x1d2027),
    ("surface2", 0x6a7280),
    ("overlay0", 0xa3a9b4),
    ("subtext0", 0xcfd3da),
    ("text", 0xf4f2ec),
    ("border_focused", 0xffb74a),
    ("border_unfocused", 0x6a7280),
    ("directory", 0xcfd3da),
    ("file", 0xf4f2ec),
    ("selection_bg", 0x2f4a6e),
    ("selection_fg", 0xf4f2ec),
    ("hint", 0xa3a9b4),
    ("error", 0xff7b86),
    ("warning", 0xf0c060),
    ("mode_browse", 0xffb74a),
    ("mode_search", 0x7fd6e4),
    ("mode_insert", 0x9be08f),
    ("mode_normal", 0xffb74a),
    ("mode_leader", 0xffb74a),
    ("mode_visual", 0xcfaaff),
    ("forge", 0x1d2027),
    ("forge_fg", 0xcfd3da),
    ("badge_repo", 0xffb74a),
    ("badge_org", 0xcfd3da),
    ("search_match", 0xffb74a),
    ("diff_add_fg", 0x9be08f),
    ("diff_del_fg", 0xff7b86),
    ("diff_add_bg", 0x143d1f),
    ("diff_del_bg", 0x4a1a22),
    ("diff_add_strong", 0x1e5a2e),
    ("diff_del_strong", 0x6a2630),
    ("diff_band", 0x14161b),
];

pub(super) const CARBIDE_SYNTAX: &[RoleValue] = &[
    ("keyword", 0xdcb0ff),
    ("string", 0xc3e088),
    ("comment", 0x9aa1ad),
    ("function", 0x8fc8ff),
    ("type", 0x8fe3cf),
    ("constant", 0xffb74a),
    ("tag", 0xdcb0ff),
    ("namespace", 0x8fe3cf),
    ("invalid", 0xff7b86),
    ("number", 0xffa98c),
    ("attribute", 0xf0c060),
    ("operator", 0xd8dbe2),
    ("punctuation", 0xaeb4bf),
    ("variable", 0xf4f2ec),
    ("property", 0xe3dfd3),
    ("heading", 0xffb74a),
    ("link", 0x8fc8ff),
    ("code", 0xc3e088),
];

pub(super) const VELLUM: &[RoleValue] = &[
    ("crust", 0xf6f2e9),
    ("mantle", 0xfdfbf6),
    ("base", 0xf6f2e9),
    ("surface0", 0xe5dfd0),
    ("surface2", 0xaeb3ba),
    ("overlay0", 0x656d7b),
    ("subtext0", 0x4b525c),
    ("text", 0x262a30),
    ("border_focused", 0x8a510f),
    ("border_unfocused", 0xaeb3ba),
    ("directory", 0x4b525c),
    ("file", 0x262a30),
    ("selection_bg", 0xd1c9b3),
    ("selection_fg", 0x262a30),
    ("hint", 0x656d7b),
    ("error", 0xb8323f),
    ("warning", 0x8a5d13),
    ("mode_browse", 0x8a510f),
    ("mode_search", 0x1f6f7a),
    ("mode_insert", 0x3f7a3a),
    ("mode_normal", 0x8a510f),
    ("mode_leader", 0x8a510f),
    ("mode_visual", 0x6a3faa),
    ("forge", 0xe5dfd0),
    ("forge_fg", 0x4b525c),
    ("badge_repo", 0x8a510f),
    ("badge_org", 0x4b525c),
    ("search_match", 0x8a510f),
    ("diff_add_fg", 0x3f7a3a),
    ("diff_del_fg", 0xb8323f),
    ("diff_add_bg", 0xdfeadb),
    ("diff_del_bg", 0xf3dcd8),
    ("diff_add_strong", 0xc3dbbb),
    ("diff_del_strong", 0xe8bfba),
    ("diff_band", 0xfdfbf6),
];

pub(super) const VELLUM_SYNTAX: &[RoleValue] = &[
    ("keyword", 0x6f3aa8),
    ("string", 0x4e6f22),
    ("comment", 0x696d77),
    ("function", 0x235f8c),
    ("type", 0x1f6e5c),
    ("constant", 0x8a510f),
    ("tag", 0x6f3aa8),
    ("namespace", 0x1f6e5c),
    ("invalid", 0xb8323f),
    ("number", 0x9c4a22),
    ("attribute", 0x7a5a14),
    ("operator", 0x4b525c),
    ("punctuation", 0x656d7b),
    ("variable", 0x262a30),
    ("property", 0x3a3f47),
    ("heading", 0x8a510f),
    ("link", 0x2a6a94),
    ("code", 0x4e6f22),
];

pub(super) const PAPER: &[RoleValue] = &[
    ("crust", 0xf8f8f3),
    ("mantle", 0xeef1e8),
    ("base", 0xf8f8f3),
    ("surface0", 0xdbe2d6),
    ("surface2", 0xa9b8a8),
    ("overlay0", 0x475951),
    ("subtext0", 0x3a4d43),
    ("text", 0x20362d),
    ("border_focused", 0x1a6650),
    ("border_unfocused", 0xa9b8a8),
    ("directory", 0x3a4d43),
    ("file", 0x20362d),
    ("selection_bg", 0xc2d2ba),
    ("selection_fg", 0x20362d),
    ("hint", 0x475951),
    ("error", 0x9c3f38),
    ("warning", 0x7c5a20),
    ("mode_browse", 0x1a6650),
    ("mode_search", 0x25677a),
    ("mode_insert", 0x3b7a4a),
    ("mode_normal", 0x1a6650),
    ("mode_leader", 0x1a6650),
    ("mode_visual", 0x6d5a8c),
    ("forge", 0xdbe2d6),
    ("forge_fg", 0x3a4d43),
    ("badge_repo", 0x1a6650),
    ("badge_org", 0x3a4d43),
    ("search_match", 0x1a6650),
    ("diff_add_fg", 0x3b7a4a),
    ("diff_del_fg", 0x9c3f38),
    ("diff_add_bg", 0xe3ecdc),
    ("diff_del_bg", 0xf0dfda),
    ("diff_add_strong", 0xcbdcbf),
    ("diff_del_strong", 0xe3c5bd),
    ("diff_band", 0xeef1e8),
];

pub(super) const PAPER_SYNTAX: &[RoleValue] = &[
    ("keyword", 0x78618e),
    ("string", 0x526e38),
    ("comment", 0x475951),
    ("function", 0x18765b),
    ("type", 0x25677a),
    ("constant", 0x1a6650),
    ("tag", 0x78618e),
    ("namespace", 0x25677a),
    ("invalid", 0x9c3f38),
    ("number", 0x92592f),
    ("attribute", 0x7c5a20),
    ("operator", 0x3a4d43),
    ("punctuation", 0x475951),
    ("variable", 0x20362d),
    ("property", 0x2c4439),
    ("heading", 0x1a6650),
    ("link", 0x25677a),
    ("code", 0x526e38),
];

pub(super) const PAPER_DARK: &[RoleValue] = &[
    ("crust", 0x151d19),
    ("mantle", 0x1c2720),
    ("base", 0x151d19),
    ("surface0", 0x243229),
    ("surface2", 0x53695b),
    ("overlay0", 0x9daa9e),
    ("subtext0", 0xbfccbe),
    ("text", 0xe3e9dd),
    ("border_focused", 0x9bc7ac),
    ("border_unfocused", 0x53695b),
    ("directory", 0xbfccbe),
    ("file", 0xe3e9dd),
    ("selection_bg", 0x2f4b3a),
    ("selection_fg", 0xe3e9dd),
    ("hint", 0x9daa9e),
    ("error", 0xdf9992),
    ("warning", 0xd3b477),
    ("mode_browse", 0x9bc7ac),
    ("mode_search", 0x9abac5),
    ("mode_insert", 0xa8bb87),
    ("mode_normal", 0x9bc7ac),
    ("mode_leader", 0x9bc7ac),
    ("mode_visual", 0xb7a6c9),
    ("forge", 0x243229),
    ("forge_fg", 0xbfccbe),
    ("badge_repo", 0x9bc7ac),
    ("badge_org", 0xbfccbe),
    ("search_match", 0x9bc7ac),
    ("diff_add_fg", 0xa8bb87),
    ("diff_del_fg", 0xdf9992),
    ("diff_add_bg", 0x203b2b),
    ("diff_del_bg", 0x3b2927),
    ("diff_add_strong", 0x304f38),
    ("diff_del_strong", 0x573732),
    ("diff_band", 0x1c2720),
];

pub(super) const PAPER_DARK_SYNTAX: &[RoleValue] = &[
    ("keyword", 0xb7a6c9),
    ("string", 0xa8bb87),
    ("comment", 0x9daa9e),
    ("function", 0x9bc7ac),
    ("type", 0x9abac5),
    ("constant", 0x9bc7ac),
    ("tag", 0xb7a6c9),
    ("namespace", 0x9abac5),
    ("invalid", 0xdf9992),
    ("number", 0xcea989),
    ("attribute", 0xd3b477),
    ("operator", 0xbfccbe),
    ("punctuation", 0xb4c0b4),
    ("variable", 0xe3e9dd),
    ("property", 0xd3dbcc),
    ("heading", 0x9bc7ac),
    ("link", 0x9abac5),
    ("code", 0xa8bb87),
];