logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

solarized.lua (2388B)


  1. -- Solarized color codes Copyright (c) 2011 Ethan Schoonover
  2. local lexers = vis.lexers
  3. local colors = {
  4. base03 = '#002b36',
  5. base02 = '#073642',
  6. base01 = '#586e75',
  7. base00 = '#657b83',
  8. base0 = '#839496',
  9. base1 = '#93a1a1',
  10. base2 = '#eee8d5',
  11. base3 = '#fdf6e3',
  12. yellow = '#b58900',
  13. orange = '#cb4b16',
  14. red = '#dc322f',
  15. magenta = '#d33682',
  16. violet = '#6c71c4',
  17. blue = '#268bd2',
  18. cyan = '#2aa198',
  19. green = '#859900',
  20. }
  21. lexers.colors = colors
  22. -- dark
  23. local fg = ',fore:'..colors.base0..','
  24. local bg = ',back:'..colors.base03..','
  25. -- light
  26. -- local fg = ',fore:'..colors.base03..','
  27. -- local bg = ',back:'..colors.base3..','
  28. -- solarized term
  29. -- local fg = ',fore:default,'
  30. -- local bg = ',back:default,'
  31. lexers.STYLE_DEFAULT = bg..fg
  32. lexers.STYLE_NOTHING = bg
  33. lexers.STYLE_CLASS = 'fore:yellow'
  34. lexers.STYLE_COMMENT = 'fore:'..colors.base01
  35. lexers.STYLE_CONSTANT = 'fore:'..colors.cyan
  36. lexers.STYLE_DEFINITION = 'fore:'..colors.blue
  37. lexers.STYLE_ERROR = 'fore:'..colors.red..',italics'
  38. lexers.STYLE_FUNCTION = 'fore:'..colors.blue
  39. lexers.STYLE_KEYWORD = 'fore:'..colors.green
  40. lexers.STYLE_LABEL = 'fore:'..colors.green
  41. lexers.STYLE_NUMBER = 'fore:'..colors.cyan
  42. lexers.STYLE_OPERATOR = 'fore:'..colors.green
  43. lexers.STYLE_REGEX = 'fore:green'
  44. lexers.STYLE_STRING = 'fore:'..colors.cyan
  45. lexers.STYLE_PREPROCESSOR = 'fore:'..colors.orange
  46. lexers.STYLE_TAG = 'fore:'..colors.red
  47. lexers.STYLE_TYPE = 'fore:'..colors.yellow
  48. lexers.STYLE_VARIABLE = 'fore:'..colors.blue
  49. lexers.STYLE_WHITESPACE = 'fore:'..colors.base01
  50. lexers.STYLE_EMBEDDED = 'back:blue'
  51. lexers.STYLE_IDENTIFIER = fg
  52. lexers.STYLE_LINENUMBER = 'fore:'..colors.base00..',back:'..colors.base02
  53. lexers.STYLE_LINENUMBER_CURSOR = 'back:'..colors.base00..',fore:'..colors.base02
  54. lexers.STYLE_CURSOR = 'fore:'..colors.base03..',back:'..colors.base0
  55. lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',back:yellow'
  56. lexers.STYLE_CURSOR_LINE = 'back:'..colors.base02
  57. lexers.STYLE_COLOR_COLUMN = 'back:'..colors.base02
  58. -- lexers.STYLE_SELECTION = 'back:'..colors.base02
  59. lexers.STYLE_SELECTION = 'back:white'
  60. lexers.STYLE_STATUS = 'back:'..colors.base00..',fore:'..colors.base02
  61. lexers.STYLE_STATUS_FOCUSED = 'back:'..colors.base1..',fore:'..colors.base02
  62. lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
  63. lexers.STYLE_INFO = 'fore:default,back:default,bold'
  64. lexers.STYLE_EOF = 'fore:'..colors.base01