custom.lua
1 -- A slightly altered version of catppucchin mocha 2 -- https://github.com/KevinSilvester/wezterm-config/blob/master/colors/custom.lua 3 local mocha = { 4 rosewater = '#f5e0dc', 5 flamingo = '#f2cdcd', 6 pink = '#f5c2e7', 7 mauve = '#cba6f7', 8 red = '#f38ba8', 9 maroon = '#eba0ac', 10 peach = '#fab387', 11 yellow = '#f9e2af', 12 green = '#a6e3a1', 13 teal = '#94e2d5', 14 sky = '#89dceb', 15 sapphire = '#74c7ec', 16 blue = '#89b4fa', 17 lavender = '#b4befe', 18 text = '#cdd6f4', 19 subtext1 = '#bac2de', 20 subtext0 = '#a6adc8', 21 overlay2 = '#9399b2', 22 overlay1 = '#7f849c', 23 overlay0 = '#6c7086', 24 surface2 = '#585b70', 25 surface1 = '#45475a', 26 surface0 = '#313244', 27 base = '#1f1f28', 28 mantle = '#181825', 29 crust = '#11111b', 30 } 31 32 local colorscheme = { 33 foreground = mocha.text, 34 background = mocha.base, 35 cursor_bg = mocha.rosewater, 36 cursor_border = mocha.rosewater, 37 cursor_fg = mocha.crust, 38 selection_bg = mocha.surface2, 39 selection_fg = mocha.text, 40 ansi = { 41 '#0C0C0C', -- black 42 '#C50F1F', -- red 43 '#13A10E', -- green 44 '#C19C00', -- yellow 45 '#0037DA', -- blue 46 '#881798', -- magenta/purple 47 '#3A96DD', -- cyan 48 '#CCCCCC', -- white 49 }, 50 brights = { 51 '#767676', -- black 52 '#E74856', -- red 53 '#16C60C', -- green 54 '#F9F1A5', -- yellow 55 '#3B78FF', -- blue 56 '#B4009E', -- magenta/purple 57 '#61D6D6', -- cyan 58 '#F2F2F2', -- white 59 }, 60 tab_bar = { 61 background = 'rgba(0, 0, 0, 0.4)', 62 active_tab = { 63 bg_color = mocha.surface2, 64 fg_color = mocha.text, 65 }, 66 inactive_tab = { 67 bg_color = mocha.surface0, 68 fg_color = mocha.subtext1, 69 }, 70 inactive_tab_hover = { 71 bg_color = mocha.surface0, 72 fg_color = mocha.text, 73 }, 74 new_tab = { 75 bg_color = mocha.base, 76 fg_color = mocha.text, 77 }, 78 new_tab_hover = { 79 bg_color = mocha.mantle, 80 fg_color = mocha.text, 81 italic = true, 82 }, 83 }, 84 visual_bell = mocha.surface0, 85 indexed = { 86 [16] = mocha.peach, 87 [17] = mocha.rosewater, 88 }, 89 scrollbar_thumb = mocha.surface2, 90 split = mocha.overlay0, 91 compose_cursor = mocha.flamingo, -- nightbuild only 92 } 93 94 return colorscheme