changes.patch 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --- base16-default-dark.lua.original 2021-08-27 14:03:14.401926000 +0600
  2. +++ base16-custom-dark.lua 2021-08-27 14:28:14.511172408 +0600
  3. @@ -4,31 +4,37 @@
  4. -- Template Repository: https://github.com/rgieseke/base16-textadept
  5. -- Template adapted from Textadept's default templates
  6. -- Copyright 2007-2020 Mitchell mitchell.att.foicica.com. MIT licensed.
  7. +-- Original from: https://raw.githubusercontent.com/rgieseke/base16-textadept/master/themes/base16-default-dark.lua
  8. local view, colors, styles = view, lexer.colors, lexer.styles
  9. -- Base16 colors
  10. -colors.base00 = 0x181818
  11. -colors.base01 = 0x282828
  12. -colors.base02 = 0x383838
  13. -colors.base03 = 0x585858
  14. +colors.base00 = 0x222827 -- * default background [all bg except current line hightlight]
  15. +colors.base01 = 0x252B2A -- * embedded/edge color [current line bg/php tag bg]
  16. +colors.base02 = 0x8A9090 -- line number/call tip
  17. +colors.base03 = 0x585858 -- * comment
  18. colors.base04 = 0xb8b8b8
  19. -colors.base05 = 0xd8d8d8
  20. +colors.base05 = 0xd8d8d8 -- operator
  21. +colors.base0G = 0x7226F9 -- real operator
  22. colors.base06 = 0xe8e8e8
  23. -colors.base07 = 0xf8f8f8
  24. -colors.base08 = 0x4246ab
  25. -colors.base09 = 0x5696dc
  26. -colors.base0A = 0x88caf7
  27. -colors.base0B = 0x6cb5a1
  28. -colors.base0C = 0xb9c186
  29. -colors.base0D = 0xc2af7c
  30. -colors.base0E = 0xaf8bba
  31. -colors.base0F = 0x4669a1
  32. +colors.base07 = 0xf8f8f8 -- caret color
  33. +colors.base08 = 0xF2F8F8 -- error/variable/brace bad/diff red
  34. +colors.base09 = 0xFF81AE -- constant/number/type
  35. +colors.base0A = 0x88caf7 -- class/label/preprocessor
  36. +colors.base0B = 0x74DBE6 -- * string
  37. +colors.base0C = 0xb9c186 -- regex/bracelight
  38. +colors.base0D = 0xc2af7c -- bookmark
  39. +colors.base0E = 0x7226F9 -- * function/keyword
  40. +colors.base0F = 0x4669a1 -- embedded
  41. +
  42. +colors.base0H = 0xEFD966 -- FUNC_IDENTIFIERS
  43. +colors.base0I = 0x0000ff -- php_tag
  44. +colors.base0J = 0x2EE2A6 -- function names, green
  45. -- Default font.
  46. if not font then
  47. - font = WIN32 and 'Courier New' or OSX and 'Monaco' or
  48. - 'Bitstream Vera Sans Mono'
  49. + font = WIN32 and 'Consolas' or OSX and 'Menlo-Regular' or
  50. + 'Monospace'
  51. end
  52. if not size then size = not OSX and 10 or 12 end
  53. @@ -53,7 +59,7 @@ styles.identifier = {}
  54. styles.keyword = {fore = colors.base0E}
  55. styles.label = {fore = colors.base08}
  56. styles.number = {fore = colors.base09}
  57. -styles.operator = {fore = colors.base05}
  58. +styles.operator = {fore = colors.base0G}
  59. styles.preprocessor = {fore = colors.base0B}
  60. styles.regex = {fore = colors.base0C}
  61. styles.string = {fore = colors.base0B}
  62. @@ -61,6 +67,12 @@ styles.type = {fore = colors.base0A}
  63. styles.variable = {fore = colors.base08}
  64. styles.whitespace = {}
  65. +-- Custom additions
  66. +styles.php_tag = {fore = colors.base0I}
  67. +styles.func_tags = {fore = colors.base0H}
  68. +styles.func_head_names = {fore = colors.base0J} -- function function_head_names(...
  69. +styles.special_tags = {fore = colors.base0H, italics = true} -- class, function etc.
  70. +
  71. -- Multiple Selection and Virtual Space
  72. --view.additional_sel_alpha =
  73. --view.additional_sel_fore =