|
| 1 | +local util = require "astrotheme.extras" |
| 2 | + |
| 3 | +local M = {} |
| 4 | + |
| 5 | +--- @param colors AstroThemePalette |
| 6 | +function M.generate(colors) |
| 7 | + return util.template( |
| 8 | + [[ |
| 9 | +( |
| 10 | + selected_tab: Some("${syntax.purple}"), |
| 11 | + command_fg: Some("${syntax.comment}"), |
| 12 | + selection_bg: Some("${ui.selection}"), |
| 13 | + selection_fg: Some("${syntax.cyan}"), |
| 14 | + cmdbar_bg: Some("${ui.base}"), |
| 15 | + cmdbar_extra_lines_bg: Some("${ui.base}"), |
| 16 | + disabled_fg: Some("${syntax.comment}"), |
| 17 | + diff_line_add: Some("${syntax.green}"), |
| 18 | + diff_line_delete: Some("${syntax.red}"), |
| 19 | + diff_file_added: Some("${ui.green}"), |
| 20 | + diff_file_removed: Some("${ui.red}"), |
| 21 | + diff_file_moved: Some("${ui.purple}"), |
| 22 | + diff_file_modified: Some("${ui.yellow}"), |
| 23 | + commit_hash: Some("${syntax.purple}"), |
| 24 | + commit_time: Some("${syntax.cyan}"), |
| 25 | + commit_author: Some("${syntax.green}"), |
| 26 | + danger_fg: Some("${ui.red}"), |
| 27 | + push_gauge_bg: Some("${ui.base}"), |
| 28 | + push_gauge_fg: Some("${syntax.text}"), |
| 29 | + tag_fg: Some("${ui.purple}"), |
| 30 | + branch_fg: Some("${ui.yellow}") |
| 31 | +) |
| 32 | +]], |
| 33 | + colors |
| 34 | + ) |
| 35 | +end |
| 36 | + |
| 37 | +return M |
0 commit comments