12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- --- base16-default-dark.lua.original 2021-08-27 14:03:14.401926000 +0600
- +++ base16-custom-dark.lua 2021-08-27 14:28:14.511172408 +0600
- @@ -4,31 +4,37 @@
- -- Template Repository: https://github.com/rgieseke/base16-textadept
- -- Template adapted from Textadept's default templates
- -- Copyright 2007-2020 Mitchell mitchell.att.foicica.com. MIT licensed.
- +-- Original from: https://raw.githubusercontent.com/rgieseke/base16-textadept/master/themes/base16-default-dark.lua
-
- local view, colors, styles = view, lexer.colors, lexer.styles
-
- -- Base16 colors
- -colors.base00 = 0x181818
- -colors.base01 = 0x282828
- -colors.base02 = 0x383838
- -colors.base03 = 0x585858
- +colors.base00 = 0x222827 -- * default background [all bg except current line hightlight]
- +colors.base01 = 0x252B2A -- * embedded/edge color [current line bg/php tag bg]
- +colors.base02 = 0x8A9090 -- line number/call tip
- +colors.base03 = 0x585858 -- * comment
- colors.base04 = 0xb8b8b8
- -colors.base05 = 0xd8d8d8
- +colors.base05 = 0xd8d8d8 -- operator
- +colors.base0G = 0x7226F9 -- real operator
- colors.base06 = 0xe8e8e8
- -colors.base07 = 0xf8f8f8
- -colors.base08 = 0x4246ab
- -colors.base09 = 0x5696dc
- -colors.base0A = 0x88caf7
- -colors.base0B = 0x6cb5a1
- -colors.base0C = 0xb9c186
- -colors.base0D = 0xc2af7c
- -colors.base0E = 0xaf8bba
- -colors.base0F = 0x4669a1
- +colors.base07 = 0xf8f8f8 -- caret color
- +colors.base08 = 0xF2F8F8 -- error/variable/brace bad/diff red
- +colors.base09 = 0xFF81AE -- constant/number/type
- +colors.base0A = 0x88caf7 -- class/label/preprocessor
- +colors.base0B = 0x74DBE6 -- * string
- +colors.base0C = 0xb9c186 -- regex/bracelight
- +colors.base0D = 0xc2af7c -- bookmark
- +colors.base0E = 0x7226F9 -- * function/keyword
- +colors.base0F = 0x4669a1 -- embedded
- +
- +colors.base0H = 0xEFD966 -- FUNC_IDENTIFIERS
- +colors.base0I = 0x0000ff -- php_tag
- +colors.base0J = 0x2EE2A6 -- function names, green
-
- -- Default font.
- if not font then
- - font = WIN32 and 'Courier New' or OSX and 'Monaco' or
- - 'Bitstream Vera Sans Mono'
- + font = WIN32 and 'Consolas' or OSX and 'Menlo-Regular' or
- + 'Monospace'
- end
- if not size then size = not OSX and 10 or 12 end
-
- @@ -53,7 +59,7 @@ styles.identifier = {}
- styles.keyword = {fore = colors.base0E}
- styles.label = {fore = colors.base08}
- styles.number = {fore = colors.base09}
- -styles.operator = {fore = colors.base05}
- +styles.operator = {fore = colors.base0G}
- styles.preprocessor = {fore = colors.base0B}
- styles.regex = {fore = colors.base0C}
- styles.string = {fore = colors.base0B}
- @@ -61,6 +67,12 @@ styles.type = {fore = colors.base0A}
- styles.variable = {fore = colors.base08}
- styles.whitespace = {}
-
- +-- Custom additions
- +styles.php_tag = {fore = colors.base0I}
- +styles.func_tags = {fore = colors.base0H}
- +styles.func_head_names = {fore = colors.base0J} -- function function_head_names(...
- +styles.special_tags = {fore = colors.base0H, italics = true} -- class, function etc.
- +
- -- Multiple Selection and Virtual Space
- --view.additional_sel_alpha =
- --view.additional_sel_fore =
|