cosmic.lua (2513B)
1 local lexers = vis.lexers 2 local colors = { 3 ['base00'] = '#202a31', -- bgi -- gry0/grys 4 -- You might notice a slight difference in the actual background color; this is due to the fake true color here in Vis. ;( To work around this, you can leave the value of base00 empty if you are also using the dark cosmic latte colorscheme for your terminal. 5 ['base0A'] = '#abb0c0', -- fg -- gry3 6 -- normal colors 7 ['base01'] = '#c17b8d', -- red -- sprd/red_ 8 ['base02'] = '#7d9761', -- green -- gren 9 ['base03'] = '#b28761', -- yellow -- srch/gold 10 ['base04'] = '#5496bd', -- blue -- spbl 11 ['base05'] = '#9b85bb', -- magenta -- spmg/mgnt 12 ['base06'] = '#459d90', -- cyan -- spcy 13 ['base07'] = '#abb0c0', -- white 14 -- bright colors 15 ['base08'] = '#898f9e', -- black -- gry2 16 ['base09'] = '#4c5764', -- -- gryp 17 ['base10'] = '#202a31', -- bg2 -- grys 18 ['base15'] = '#c5cbdb', -- white -- gryc 19 ['base16'] = '#2b3740', -- -- gry1 20 } 21 lexers.colors = colors 22 local fg = ',fore:'..colors.base0A..',' 23 local bg = ',back:'..colors.base00..',' 24 lexers.STYLE_DEFAULT = bg..fg 25 lexers.STYLE_NOTHING = bg 26 lexers.STYLE_CLASS = 'fore:'..colors.base05 27 lexers.STYLE_COMMENT = 'fore:'..colors.base08 28 lexers.STYLE_CONSTANT = 'fore:'..colors.base04 29 lexers.STYLE_DEFINITION = 'fore:'..colors.base06 30 lexers.STYLE_ERROR = 'fore:'..colors.base01 31 lexers.STYLE_FUNCTION = 'fore:'..colors.base01 32 lexers.STYLE_KEYWORD = 'fore:'..colors.base02 33 lexers.STYLE_LABEL = 'fore:'..colors.base02 34 lexers.STYLE_NUMBER = 'fore:'..colors.base04 35 lexers.STYLE_OPERATOR = 'fore:'..colors.base02 36 lexers.STYLE_REGEX = 'fore:'..colors.base0A 37 lexers.STYLE_STRING = 'fore:'..colors.base04 38 lexers.STYLE_PREPROCESSOR = 'fore:'..colors.base06 39 lexers.STYLE_TAG = 'fore:'..colors.base03 40 lexers.STYLE_TYPE = 'fore:'..colors.base05 41 lexers.STYLE_VARIABLE = 'fore:'..colors.base05 42 lexers.STYLE_WHITESPACE = '' 43 lexers.STYLE_EMBEDDED = 'back:'..colors.base08 44 lexers.STYLE_IDENTIFIER = fg 45 46 lexers.STYLE_LINENUMBER = 'fore:'..colors.base08 47 lexers.STYLE_CURSOR = 'fore:'..colors.base08..',back:'..colors.base09 48 lexers.STYLE_CURSOR_PRIMARY = 'fore:'..colors.base15..',back:'..colors.base09 49 lexers.STYLE_CURSOR_LINE = 'back:'..colors.base08 50 lexers.STYLE_COLOR_COLUMN = 'back:'..colors.base16 51 lexers.STYLE_SELECTION = 'back:'..colors.base0A 52 lexers.STYLE_STATUS_FOCUSED = 'back:'..colors.base0A..',fore:'..colors.base10 53 lexers.STYLE_STATUS = 'back:'..colors.base10..',fore:'..colors.base0A 54 lexers.STYLE_INFO = 'fore:default,back:default,bold' 55 lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT 56