type RoleValue = (&'static str, u32);
const DRACULA: &[RoleValue] = &[
("crust", 0x191a21),
("mantle", 0x21222c),
("base", 0x282a36),
("surface0", 0x44475a),
("surface2", 0x6272a4),
("overlay0", 0x6272a4),
("subtext0", 0x9aa2c7),
("text", 0xf8f8f2),
("border_focused", 0xbd93f9), ("border_unfocused", 0x6272a4),
("directory", 0x8be9fd), ("file", 0xf8f8f2),
("selection_bg", 0x44475a),
("selection_fg", 0xbd93f9),
("hint", 0x6272a4),
("error", 0xff5555),
("warning", 0xffb86c), ("mode_browse", 0x50fa7b), ("mode_search", 0xf1fa8c), ("mode_insert", 0x8be9fd),
("mode_normal", 0xbd93f9),
("mode_leader", 0xffb86c),
("mode_visual", 0xff79c6), ("forge", 0x6272a4), ("badge_repo", 0x8be9fd),
("badge_org", 0xffb86c),
("search_match", 0xf1fa8c),
];
const ONE_DARK: &[RoleValue] = &[
("crust", 0x1b1f27),
("mantle", 0x21252b),
("base", 0x282c34),
("surface0", 0x3e4451),
("surface2", 0x5c6370),
("overlay0", 0x5c6370),
("subtext0", 0x828997),
("text", 0xabb2bf),
("border_focused", 0x61afef), ("border_unfocused", 0x5c6370),
("directory", 0x61afef),
("file", 0xabb2bf),
("selection_bg", 0x3e4451),
("selection_fg", 0x61afef),
("hint", 0x828997),
("error", 0xe06c75),
("warning", 0xe5c07b), ("mode_browse", 0x98c379), ("mode_search", 0xe5c07b),
("mode_insert", 0x56b6c2), ("mode_normal", 0x61afef),
("mode_leader", 0xd19a66), ("mode_visual", 0xc678dd), ("forge", 0x5c6370), ("badge_repo", 0x61afef),
("badge_org", 0xd19a66),
("search_match", 0xe5c07b),
];
const GRUVBOX_DARK: &[RoleValue] = &[
("crust", 0x141618),
("mantle", 0x1d2021),
("base", 0x282828),
("surface0", 0x3c3836),
("surface2", 0x504945),
("overlay0", 0x928374),
("subtext0", 0xbdae93),
("text", 0xebdbb2),
("border_focused", 0x83a598), ("border_unfocused", 0x504945),
("directory", 0x83a598),
("file", 0xebdbb2),
("selection_bg", 0x3c3836),
("selection_fg", 0x83a598),
("hint", 0xbdae93),
("error", 0xfb4934),
("warning", 0xfabd2f), ("mode_browse", 0xb8bb26), ("mode_search", 0xfabd2f),
("mode_insert", 0x8ec07c), ("mode_normal", 0x83a598),
("mode_leader", 0xfe8019), ("mode_visual", 0xd3869b), ("forge", 0x928374), ("badge_repo", 0x83a598),
("badge_org", 0xfe8019),
("search_match", 0xfabd2f),
];
const NORD: &[RoleValue] = &[
("crust", 0x242933),
("mantle", 0x272c36),
("base", 0x2e3440),
("surface0", 0x434c5e),
("surface2", 0x4c566a),
("overlay0", 0x616e88),
("subtext0", 0x9aa4b8),
("text", 0xd8dee9),
("border_focused", 0x88c0d0), ("border_unfocused", 0x4c566a),
("directory", 0x88c0d0),
("file", 0xd8dee9),
("selection_bg", 0x434c5e),
("selection_fg", 0x88c0d0),
("hint", 0x9aa4b8),
("error", 0xbf616a), ("warning", 0xebcb8b), ("mode_browse", 0xa3be8c), ("mode_search", 0xebcb8b),
("mode_insert", 0x8fbcbb), ("mode_normal", 0x81a1c1), ("mode_leader", 0xd08770), ("mode_visual", 0xb48ead), ("forge", 0x616e88), ("badge_repo", 0x88c0d0),
("badge_org", 0xd08770),
("search_match", 0xebcb8b),
];
const TOKYO_NIGHT: &[RoleValue] = &[
("crust", 0x12131a),
("mantle", 0x16161e),
("base", 0x1a1b26),
("surface0", 0x292e42),
("surface2", 0x3b4261),
("overlay0", 0x565f89),
("subtext0", 0xa9b1d6),
("text", 0xc0caf5),
("border_focused", 0x7aa2f7), ("border_unfocused", 0x3b4261),
("directory", 0x7dcfff), ("file", 0xc0caf5),
("selection_bg", 0x292e42),
("selection_fg", 0x7aa2f7),
("hint", 0xa9b1d6),
("error", 0xf7768e),
("warning", 0xe0af68), ("mode_browse", 0x9ece6a), ("mode_search", 0xe0af68),
("mode_insert", 0x7dcfff),
("mode_normal", 0x7aa2f7),
("mode_leader", 0xff9e64), ("mode_visual", 0xbb9af7), ("forge", 0x565f89), ("badge_repo", 0x7aa2f7),
("badge_org", 0xff9e64),
("search_match", 0xe0af68),
];
const SOLARIZED_DARK: &[RoleValue] = &[
("crust", 0x001f27),
("mantle", 0x073642), ("base", 0x002b36), ("surface0", 0x073642),
("surface2", 0x586e75), ("overlay0", 0x657b83), ("subtext0", 0x839496), ("text", 0x93a1a1), ("border_focused", 0x268bd2), ("border_unfocused", 0x586e75),
("directory", 0x268bd2),
("file", 0x93a1a1),
("selection_bg", 0x073642),
("selection_fg", 0x268bd2),
("hint", 0x839496),
("error", 0xdc322f),
("warning", 0xb58900), ("mode_browse", 0x859900), ("mode_search", 0xb58900),
("mode_insert", 0x2aa198), ("mode_normal", 0x268bd2),
("mode_leader", 0xcb4b16), ("mode_visual", 0xd33682), ("forge", 0x657b83), ("badge_repo", 0x268bd2),
("badge_org", 0xcb4b16),
("search_match", 0xb58900),
];
const CATPPUCCIN_LATTE: &[RoleValue] = &[
("crust", 0xdce0e8),
("mantle", 0xe6e9ef),
("base", 0xeff1f5),
("surface0", 0xccd0da),
("surface2", 0xacb0be),
("overlay0", 0x9ca0b0),
("subtext0", 0x6c6f85),
("text", 0x4c4f69),
("border_focused", 0x1e66f5), ("border_unfocused", 0xacb0be),
("directory", 0x1e66f5),
("file", 0x4c4f69),
("selection_bg", 0xccd0da),
("selection_fg", 0x1e66f5),
("hint", 0x6c6f85),
("error", 0xd20f39),
("warning", 0xdf8e1d), ("mode_browse", 0x40a02b), ("mode_search", 0xdf8e1d),
("mode_insert", 0x179299), ("mode_normal", 0x1e66f5),
("mode_leader", 0xfe640b), ("mode_visual", 0xea76cb), ("forge", 0x9ca0b0), ("badge_repo", 0x1e66f5),
("badge_org", 0xfe640b),
("search_match", 0xdf8e1d),
];
const GITHUB_LIGHT: &[RoleValue] = &[
("crust", 0xffffff),
("mantle", 0xf6f8fa),
("base", 0xffffff),
("surface0", 0xeaeef2),
("surface2", 0xd1d9e0),
("overlay0", 0x818b98),
("subtext0", 0x59636e),
("text", 0x1f2328),
("border_focused", 0x0969da), ("border_unfocused", 0xd1d9e0),
("directory", 0x0969da),
("file", 0x1f2328),
("selection_bg", 0xddf4ff), ("selection_fg", 0x0969da),
("hint", 0x59636e),
("error", 0xd1242f),
("warning", 0x9a6700), ("mode_browse", 0x1a7f37), ("mode_search", 0x9a6700),
("mode_insert", 0x0a7ea4), ("mode_normal", 0x0969da),
("mode_leader", 0xbc4c00), ("mode_visual", 0x8250df), ("forge", 0x818b98), ("badge_repo", 0x0969da),
("badge_org", 0xbc4c00),
("search_match", 0x9a6700),
];
const ONE_LIGHT: &[RoleValue] = &[
("crust", 0xfafafa),
("mantle", 0xf0f0f0),
("base", 0xfafafa),
("surface0", 0xeaeaeb),
("surface2", 0xcaccd1),
("overlay0", 0xa0a1a7),
("subtext0", 0x696c77),
("text", 0x383a42),
("border_focused", 0x4078f2), ("border_unfocused", 0xa0a1a7),
("directory", 0x4078f2),
("file", 0x383a42),
("selection_bg", 0xeaeaeb),
("selection_fg", 0x4078f2),
("hint", 0x696c77),
("error", 0xe45649),
("warning", 0xc18401), ("mode_browse", 0x50a14f), ("mode_search", 0xc18401),
("mode_insert", 0x0184bc), ("mode_normal", 0x4078f2),
("mode_leader", 0xb76b01), ("mode_visual", 0xa626a4), ("forge", 0xa0a1a7), ("badge_repo", 0x4078f2),
("badge_org", 0xb76b01),
("search_match", 0xc18401),
];
const SOLARIZED_LIGHT: &[RoleValue] = &[
("crust", 0xfdf6e3), ("mantle", 0xeee8d5), ("base", 0xfdf6e3), ("surface0", 0xeee8d5),
("surface2", 0x93a1a1), ("overlay0", 0x839496), ("subtext0", 0x657b83), ("text", 0x586e75), ("border_focused", 0x268bd2), ("border_unfocused", 0x93a1a1),
("directory", 0x268bd2),
("file", 0x586e75),
("selection_bg", 0xeee8d5),
("selection_fg", 0x268bd2),
("hint", 0x657b83),
("error", 0xdc322f),
("warning", 0xb58900), ("mode_browse", 0x859900), ("mode_search", 0xb58900),
("mode_insert", 0x2aa198), ("mode_normal", 0x268bd2),
("mode_leader", 0xcb4b16), ("mode_visual", 0x6c71c4), ("forge", 0x839496), ("badge_repo", 0x268bd2),
("badge_org", 0xcb4b16),
("search_match", 0xb58900),
];
const DRACULA_SYNTAX: &[RoleValue] = &[
("keyword", 0xff79c6), ("string", 0xf1fa8c), ("comment", 0x6272a4), ("function", 0x50fa7b), ("type", 0x8be9fd), ("constant", 0xbd93f9), ("tag", 0xff79c6), ("namespace", 0x8be9fd), ("invalid", 0xff5555), ];
const ONE_DARK_SYNTAX: &[RoleValue] = &[
("keyword", 0xc678dd), ("string", 0x98c379), ("comment", 0x5c6370), ("function", 0x61afef), ("type", 0xe5c07b), ("constant", 0xd19a66), ("tag", 0xe06c75), ("namespace", 0x56b6c2), ("invalid", 0xe06c75),
];
const GRUVBOX_DARK_SYNTAX: &[RoleValue] = &[
("keyword", 0xfb4934), ("string", 0xb8bb26), ("comment", 0x928374), ("function", 0xb8bb26), ("type", 0xfabd2f), ("constant", 0xd3869b), ("tag", 0xfb4934), ("namespace", 0x8ec07c), ("invalid", 0xfb4934),
];
const NORD_SYNTAX: &[RoleValue] = &[
("keyword", 0x81a1c1), ("string", 0xa3be8c), ("comment", 0x616e88), ("function", 0x88c0d0), ("type", 0x8fbcbb), ("constant", 0xb48ead), ("tag", 0x81a1c1), ("namespace", 0x8fbcbb), ("invalid", 0xbf616a), ];
const TOKYO_NIGHT_SYNTAX: &[RoleValue] = &[
("keyword", 0xbb9af7), ("string", 0x9ece6a), ("comment", 0x565f89), ("function", 0x7aa2f7), ("type", 0x7dcfff), ("constant", 0xff9e64), ("tag", 0xf7768e), ("namespace", 0x7dcfff), ("invalid", 0xf7768e),
];
const SOLARIZED_SYNTAX: &[RoleValue] = &[
("keyword", 0x859900), ("string", 0x2aa198), ("comment", 0x586e75), ("function", 0x268bd2), ("type", 0xb58900), ("constant", 0x2aa198), ("tag", 0x268bd2), ("namespace", 0x6c71c4), ("invalid", 0xdc322f), ];
const SOLARIZED_LIGHT_SYNTAX: &[RoleValue] = &[
("keyword", 0x859900),
("string", 0x2aa198),
("comment", 0x93a1a1), ("function", 0x268bd2),
("type", 0xb58900),
("constant", 0x2aa198),
("tag", 0x268bd2),
("namespace", 0x6c71c4),
("invalid", 0xdc322f),
];
const CATPPUCCIN_LATTE_SYNTAX: &[RoleValue] = &[
("keyword", 0x8839ef), ("string", 0x40a02b), ("comment", 0x9ca0b0), ("function", 0x1e66f5), ("type", 0xdf8e1d), ("constant", 0xfe640b), ("tag", 0xd20f39), ("namespace", 0x179299), ("invalid", 0xd20f39),
];
const GITHUB_LIGHT_SYNTAX: &[RoleValue] = &[
("keyword", 0xcf222e), ("string", 0x0a3069), ("comment", 0x6e7781), ("function", 0x8250df), ("type", 0x0550ae), ("constant", 0x0550ae), ("tag", 0x116329), ("namespace", 0x953800), ("invalid", 0xcf222e),
];
const ONE_LIGHT_SYNTAX: &[RoleValue] = &[
("keyword", 0xa626a4), ("string", 0x50a14f), ("comment", 0xa0a1a7), ("function", 0x4078f2), ("type", 0xc18401), ("constant", 0xb76b01), ("tag", 0xe45649), ("namespace", 0x0184bc), ("invalid", 0xe45649),
];
pub(crate) const EMBEDDED: &[(&str, &[RoleValue], &[RoleValue])] = &[
("catppuccin-mocha", &[], &[]), ("dracula", DRACULA, DRACULA_SYNTAX),
("gruvbox-dark", GRUVBOX_DARK, GRUVBOX_DARK_SYNTAX),
("nord", NORD, NORD_SYNTAX),
("one-dark", ONE_DARK, ONE_DARK_SYNTAX),
("solarized-dark", SOLARIZED_DARK, SOLARIZED_SYNTAX),
("tokyo-night", TOKYO_NIGHT, TOKYO_NIGHT_SYNTAX),
(
"catppuccin-latte",
CATPPUCCIN_LATTE,
CATPPUCCIN_LATTE_SYNTAX,
),
("github-light", GITHUB_LIGHT, GITHUB_LIGHT_SYNTAX),
("one-light", ONE_LIGHT, ONE_LIGHT_SYNTAX),
("solarized-light", SOLARIZED_LIGHT, SOLARIZED_LIGHT_SYNTAX),
];