├── README.md └── base16 └── templates └── textadept ├── templates ├── config.yaml └── default.mustache └── themes ├── base16-3024.lua ├── base16-apathy.lua ├── base16-apprentice.lua ├── base16-ashes.lua ├── base16-atelier-cave-light.lua ├── base16-atelier-cave.lua ├── base16-atelier-dune-light.lua ├── base16-atelier-dune.lua ├── base16-atelier-estuary-light.lua ├── base16-atelier-estuary.lua ├── base16-atelier-forest-light.lua ├── base16-atelier-forest.lua ├── base16-atelier-heath-light.lua ├── base16-atelier-heath.lua ├── base16-atelier-lakeside-light.lua ├── base16-atelier-lakeside.lua ├── base16-atelier-plateau-light.lua ├── base16-atelier-plateau.lua ├── base16-atelier-savanna-light.lua ├── base16-atelier-savanna.lua ├── base16-atelier-seaside-light.lua ├── base16-atelier-seaside.lua ├── base16-atelier-sulphurpool-light.lua ├── base16-atelier-sulphurpool.lua ├── base16-atlas.lua ├── base16-ayu-dark.lua ├── base16-ayu-light.lua ├── base16-ayu-mirage.lua ├── base16-bespin.lua ├── base16-black-metal-bathory.lua ├── base16-black-metal-burzum.lua ├── base16-black-metal-dark-funeral.lua ├── base16-black-metal-gorgoroth.lua ├── base16-black-metal-immortal.lua ├── base16-black-metal-khold.lua ├── base16-black-metal-marduk.lua ├── base16-black-metal-mayhem.lua ├── base16-black-metal-nile.lua ├── base16-black-metal-venom.lua ├── base16-black-metal.lua ├── base16-blueforest.lua ├── base16-blueish.lua ├── base16-brewer.lua ├── base16-bright.lua ├── base16-brogrammer.lua ├── base16-brushtrees-dark.lua ├── base16-brushtrees.lua ├── base16-caroline.lua ├── base16-catppuccin-frappe.lua ├── base16-catppuccin-latte.lua ├── base16-catppuccin-macchiato.lua ├── base16-catppuccin-mocha.lua ├── base16-chalk.lua ├── base16-circus.lua ├── base16-classic-dark.lua ├── base16-classic-light.lua ├── base16-codeschool.lua ├── base16-colors.lua ├── base16-cupcake.lua ├── base16-cupertino.lua ├── base16-da-one-black.lua ├── base16-da-one-gray.lua ├── base16-da-one-ocean.lua ├── base16-da-one-paper.lua ├── base16-da-one-sea.lua ├── base16-da-one-white.lua ├── base16-danqing-light.lua ├── base16-danqing.lua ├── base16-darcula.lua ├── base16-darkmoss.lua ├── base16-darktooth.lua ├── base16-darkviolet.lua ├── base16-decaf.lua ├── base16-default-dark.lua ├── base16-default-light.lua ├── base16-dirtysea.lua ├── base16-dracula.lua ├── base16-edge-dark.lua ├── base16-edge-light.lua ├── base16-eighties.lua ├── base16-embers.lua ├── base16-emil.lua ├── base16-equilibrium-dark.lua ├── base16-equilibrium-gray-dark.lua ├── base16-equilibrium-gray-light.lua ├── base16-equilibrium-light.lua ├── base16-eris.lua ├── base16-espresso.lua ├── base16-eva-dim.lua ├── base16-eva.lua ├── base16-evenok-dark.lua ├── base16-everforest-dark-hard.lua ├── base16-everforest.lua ├── base16-flat.lua ├── base16-framer.lua ├── base16-fruit-soda.lua ├── base16-gigavolt.lua ├── base16-github.lua ├── base16-google-dark.lua ├── base16-google-light.lua ├── base16-gotham.lua ├── base16-grayscale-dark.lua ├── base16-grayscale-light.lua ├── base16-greenscreen.lua ├── base16-gruber.lua ├── base16-gruvbox-dark-hard.lua ├── base16-gruvbox-dark-medium.lua ├── base16-gruvbox-dark-pale.lua ├── base16-gruvbox-dark-soft.lua ├── base16-gruvbox-light-hard.lua ├── base16-gruvbox-light-medium.lua ├── base16-gruvbox-light-soft.lua ├── base16-gruvbox-material-dark-hard.lua ├── base16-gruvbox-material-dark-medium.lua ├── base16-gruvbox-material-dark-soft.lua ├── base16-gruvbox-material-light-hard.lua ├── base16-gruvbox-material-light-medium.lua ├── base16-gruvbox-material-light-soft.lua ├── base16-hardcore.lua ├── base16-harmonic16-dark.lua ├── base16-harmonic16-light.lua ├── base16-heetch-light.lua ├── base16-heetch.lua ├── base16-helios.lua ├── base16-hopscotch.lua ├── base16-horizon-dark.lua ├── base16-horizon-light.lua ├── base16-horizon-terminal-dark.lua ├── base16-horizon-terminal-light.lua ├── base16-humanoid-dark.lua ├── base16-humanoid-light.lua ├── base16-ia-dark.lua ├── base16-ia-light.lua ├── base16-icy.lua ├── base16-irblack.lua ├── base16-isotope.lua ├── base16-kanagawa.lua ├── base16-katy.lua ├── base16-kimber.lua ├── base16-lime.lua ├── base16-macintosh.lua ├── base16-marrakesh.lua ├── base16-materia.lua ├── base16-material-darker.lua ├── base16-material-lighter.lua ├── base16-material-palenight.lua ├── base16-material-vivid.lua ├── base16-material.lua ├── base16-mellow-purple.lua ├── base16-mexico-light.lua ├── base16-mocha.lua ├── base16-monokai.lua ├── base16-mountain.lua ├── base16-nebula.lua ├── base16-nord.lua ├── base16-nova.lua ├── base16-ocean.lua ├── base16-oceanicnext.lua ├── base16-one-light.lua ├── base16-onedark.lua ├── base16-outrun-dark.lua ├── base16-oxocarbon-dark.lua ├── base16-oxocarbon-light.lua ├── base16-pandora.lua ├── base16-papercolor-dark.lua ├── base16-papercolor-light.lua ├── base16-paraiso.lua ├── base16-pasque.lua ├── base16-phd.lua ├── base16-pico.lua ├── base16-pinky.lua ├── base16-pop.lua ├── base16-porple.lua ├── base16-primer-dark-dimmed.lua ├── base16-primer-dark.lua ├── base16-primer-light.lua ├── base16-purpledream.lua ├── base16-qualia.lua ├── base16-railscasts.lua ├── base16-rebecca.lua ├── base16-rose-pine-dawn.lua ├── base16-rose-pine-moon.lua ├── base16-rose-pine.lua ├── base16-sagelight.lua ├── base16-sakura.lua ├── base16-sandcastle.lua ├── base16-selenized-black.lua ├── base16-selenized-dark.lua ├── base16-selenized-light.lua ├── base16-selenized-white.lua ├── base16-seti.lua ├── base16-shades-of-purple.lua ├── base16-shadesmear-dark.lua ├── base16-shadesmear-light.lua ├── base16-shapeshifter.lua ├── base16-silk-dark.lua ├── base16-silk-light.lua ├── base16-snazzy.lua ├── base16-solarflare-light.lua ├── base16-solarflare.lua ├── base16-solarized-dark.lua ├── base16-solarized-light.lua ├── base16-spaceduck.lua ├── base16-spacemacs.lua ├── base16-standardized-dark.lua ├── base16-standardized-light.lua ├── base16-stella.lua ├── base16-still-alive.lua ├── base16-summercamp.lua ├── base16-summerfruit-dark.lua ├── base16-summerfruit-light.lua ├── base16-synth-midnight-dark.lua ├── base16-synth-midnight-light.lua ├── base16-tango.lua ├── base16-tarot.lua ├── base16-tender.lua ├── base16-tokyo-city-dark.lua ├── base16-tokyo-city-light.lua ├── base16-tokyo-city-terminal-dark.lua ├── base16-tokyo-city-terminal-light.lua ├── base16-tokyo-night-dark.lua ├── base16-tokyo-night-light.lua ├── base16-tokyo-night-storm.lua ├── base16-tokyo-night-terminal-dark.lua ├── base16-tokyo-night-terminal-light.lua ├── base16-tokyo-night-terminal-storm.lua ├── base16-tokyodark-terminal.lua ├── base16-tokyodark.lua ├── base16-tomorrow-night-eighties.lua ├── base16-tomorrow-night.lua ├── base16-tomorrow.lua ├── base16-tube.lua ├── base16-twilight.lua ├── base16-unikitty-dark.lua ├── base16-unikitty-light.lua ├── base16-unikitty-reversible.lua ├── base16-uwunicorn.lua ├── base16-vice.lua ├── base16-vulcan.lua ├── base16-windows-10-light.lua ├── base16-windows-10.lua ├── base16-windows-95-light.lua ├── base16-windows-95.lua ├── base16-windows-highcontrast-light.lua ├── base16-windows-highcontrast.lua ├── base16-windows-nt-light.lua ├── base16-windows-nt.lua ├── base16-woodland.lua ├── base16-xcode-dusk.lua ├── base16-zenbones.lua └── base16-zenburn.lua /README.md: -------------------------------------------------------------------------------- 1 | ## Base16 themes for the [Textadept](https://orbitalquark.github.io/textadept/) editor 2 | 3 | ### Installation 4 | 5 | Clone the repository, e.g.: 6 | 7 | cd ~/.textadept/themes 8 | git clone https://github.com/rgieseke/base16-textadept.git 9 | 10 | Copy or symlink all or some themes into `.textadept/themes` 11 | 12 | Set a theme by putting the following in your `~/.textadept/init.lua`, e.g. for 13 | Solarized Light: 14 | 15 | ```lua 16 | view:set_theme(not CURSES and 'base16-solarized-light' or 'term') 17 | ``` 18 | 19 | This repo tracks the latest Textadept 12 changes. 20 | 21 | The themes and tools from [Tinted Theming](https://github.com/tinted-theming/) are used. 22 | 23 | Preview: 24 | 25 | To build or develop locally (using [`base16-builder-node`](https://github.com/tinted-theming/base16-builder-node)): 26 | 27 | ```shell 28 | npm install base16-builder-node 29 | ``` 30 | 31 | Clone (or update) the schemes, which are tracked in as a submodule: 32 | 33 | ```shell 34 | cd base16 35 | git clone https://github.com/tinted-theming/base16-schemes.git schemes 36 | ``` 37 | 38 | To update the themes, run `git pull` in the `schemes` directory. 39 | 40 | 41 | To generate the themes from `default.mustache`: 42 | 43 | ``` 44 | npx base16 build base16 --prefix base16- 45 | ``` 46 | 47 | If this repo is in `.textadept/themes/base16-textadept` one can symlink the themes so Textadept can find them: 48 | 49 | ```shell 50 | ln -s base16-textadept/base16/templates/textadept/themes/base16*.lua . 51 | ``` 52 | 53 | ### Base16 Themes 54 | 55 | Tinted Theming: 56 | Base16: 57 | -------------------------------------------------------------------------------- /base16/templates/textadept/templates/config.yaml: -------------------------------------------------------------------------------- 1 | default: 2 | extension: .lua 3 | output: themes 4 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-apprentice.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Apprentice 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: romainl 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x262626 12 | colors.base01 = 0x5F5FAF 13 | colors.base02 = 0x5F875F 14 | colors.base03 = 0x5F8787 15 | colors.base04 = 0xAF875F 16 | colors.base05 = 0x875F5F 17 | colors.base06 = 0x87875F 18 | colors.base07 = 0x6C6C6C 19 | colors.base08 = 0x444444 20 | colors.base09 = 0x0087FF 21 | colors.base0A = 0x87AF87 22 | colors.base0B = 0xAFFFFF 23 | colors.base0C = 0xD7AF87 24 | colors.base0D = 0xAF8787 25 | colors.base0E = 0xAFAF5F 26 | colors.base0F = 0xBCBCBC 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-bespin.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Bespin 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Jan T. Sott 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x1c2128 12 | colors.base01 = 0x2e3136 13 | colors.base02 = 0x5c5d5e 14 | colors.base03 = 0x666666 15 | colors.base04 = 0x777979 16 | colors.base05 = 0x86898a 17 | colors.base06 = 0x979b9d 18 | colors.base07 = 0x9eaeba 19 | colors.base08 = 0x4c6acf 20 | colors.base09 = 0x347dcf 21 | colors.base0A = 0x98eef9 22 | colors.base0B = 0x0dbe54 23 | colors.base0C = 0xdbc4af 24 | colors.base0D = 0xeaa65e 25 | colors.base0E = 0x9d859b 26 | colors.base0F = 0x217193 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-blueish.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Blueish 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Ben Mayoras 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x302418 12 | colors.base01 = 0x543C24 13 | colors.base02 = 0x0A2946 14 | colors.base03 = 0x786D61 15 | colors.base04 = 0xE7AF74 16 | colors.base05 = 0xF8E1C8 17 | colors.base06 = 0xF6EADD 18 | colors.base07 = 0xA0988F 19 | colors.base08 = 0x87E54C 20 | colors.base09 = 0x5CA8F6 21 | colors.base0A = 0xFFAA82 22 | colors.base0B = 0x8DE8C3 23 | colors.base0C = 0xFFD15F 24 | colors.base0D = 0xFFAA82 25 | colors.base0E = 0xDD84FF 26 | colors.base0F = 0xE8D2BB 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-codeschool.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Codeschool 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: blockloop 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x312c23 12 | colors.base01 = 0x57361c 13 | colors.base02 = 0x3a342a 14 | colors.base03 = 0x44493f 15 | colors.base04 = 0x8c8984 16 | colors.base05 = 0xa6a79e 17 | colors.base06 = 0xa3cfa7 18 | colors.base07 = 0xf6d8b5 19 | colors.base08 = 0x91542a 20 | colors.base09 = 0x0d8243 21 | colors.base0A = 0x1e3ba0 22 | colors.base0B = 0x867923 23 | colors.base0C = 0x302fb0 24 | colors.base0D = 0x794d48 25 | colors.base0E = 0x2098c5 26 | colors.base0F = 0x4483c9 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-colors.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Colors 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: mrmrs (http://clrs.cc) 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x111111 12 | colors.base01 = 0x333333 13 | colors.base02 = 0x555555 14 | colors.base03 = 0x777777 15 | colors.base04 = 0x999999 16 | colors.base05 = 0xbbbbbb 17 | colors.base06 = 0xdddddd 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x3641ff 20 | colors.base09 = 0x1b85ff 21 | colors.base0A = 0x00dcff 22 | colors.base0B = 0x40cc2e 23 | colors.base0C = 0xffdb7f 24 | colors.base0D = 0xd97400 25 | colors.base0E = 0xc90db1 26 | colors.base0F = 0x4b1485 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-cupertino.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Cupertino 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Defman21 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0xffffff 12 | colors.base01 = 0xc0c0c0 13 | colors.base02 = 0xc0c0c0 14 | colors.base03 = 0x808080 15 | colors.base04 = 0x808080 16 | colors.base05 = 0x404040 17 | colors.base06 = 0x404040 18 | colors.base07 = 0x5e5e5e 19 | colors.base08 = 0x151ac4 20 | colors.base09 = 0x0085eb 21 | colors.base0A = 0x286b82 22 | colors.base0B = 0x007400 23 | colors.base0C = 0x958431 24 | colors.base0D = 0xff0000 25 | colors.base0E = 0x910da9 26 | colors.base0F = 0x286b82 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-darcula.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Darcula 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: jetbrains 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x2b2b2b 12 | colors.base01 = 0x323232 13 | colors.base02 = 0x323232 14 | colors.base03 = 0x666360 15 | colors.base04 = 0xa3a3a4 16 | colors.base05 = 0xc6b7a9 17 | colors.base06 = 0x6dc6ff 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0xe5ad4e 20 | colors.base09 = 0x579768 21 | colors.base0A = 0x29b5bb 22 | colors.base0B = 0x59876a 23 | colors.base0C = 0x559762 24 | colors.base0D = 0xaa7698 25 | colors.base0E = 0x3278cc 26 | colors.base0F = 0x808080 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-dirtysea.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: dirtysea 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Kahlil (Kal) Hodgson 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0xe0e0e0 12 | colors.base01 = 0xd0dad0 13 | colors.base02 = 0xd0d0d0 14 | colors.base03 = 0x707070 15 | colors.base04 = 0x202020 16 | colors.base05 = 0x000000 17 | colors.base06 = 0xf8f8f8 18 | colors.base07 = 0xc4d9c4 19 | colors.base08 = 0x000084 20 | colors.base09 = 0x656500 21 | colors.base0A = 0x005B75 22 | colors.base0B = 0x730073 23 | colors.base0C = 0x005B75 24 | colors.base0D = 0x007300 25 | colors.base0E = 0x900000 26 | colors.base0F = 0x005B75 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-emil.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: emil 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: limelier 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0xefefef 12 | colors.base01 = 0xd2bebe 13 | colors.base02 = 0xaf9e9e 14 | colors.base03 = 0x987c7c 15 | colors.base04 = 0x635050 16 | colors.base05 = 0x453131 17 | colors.base06 = 0x3a2222 18 | colors.base07 = 0x2f1a1a 19 | colors.base08 = 0x7939f4 20 | colors.base09 = 0x8b2ad2 21 | colors.base0A = 0x9b66ff 22 | colors.base0B = 0xa87300 23 | colors.base0C = 0xd65521 24 | colors.base0D = 0x971347 25 | colors.base0E = 0xb61669 26 | colors.base0F = 0xa5178d 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-eris.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: eris 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: ed (https://codeberg.org/ed) 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x20090a 12 | colors.base01 = 0x3a1313 13 | colors.base02 = 0x5a2523 14 | colors.base03 = 0x733733 15 | colors.base04 = 0x93524a 16 | colors.base05 = 0xac6b60 17 | colors.base06 = 0xc58679 18 | colors.base07 = 0xe5aa9a 19 | colors.base08 = 0xa368f7 20 | colors.base09 = 0xa368f7 21 | colors.base0A = 0xa2aefa 22 | colors.base0B = 0xa2aefa 23 | colors.base0C = 0xc48f25 24 | colors.base0D = 0xc48f25 25 | colors.base0E = 0xa368f7 26 | colors.base0F = 0xa368f7 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-evenok-dark.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Evenok Dark 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Mekeor Melire 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x000000 12 | colors.base01 = 0x202020 13 | colors.base02 = 0x303030 14 | colors.base03 = 0x505050 15 | colors.base04 = 0xb0b0b0 16 | colors.base05 = 0xd0d0d0 17 | colors.base06 = 0xe0e0e0 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x8a70f5 20 | colors.base09 = 0x2281ee 21 | colors.base0A = 0x00a3b8 22 | colors.base0B = 0x5cbc54 23 | colors.base0C = 0xb3ba00 24 | colors.base0D = 0xf2af00 25 | colors.base0E = 0xff9590 26 | colors.base0F = 0xda7ad4 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-fruit-soda.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Fruit Soda 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: jozip 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0xf1ecf1 12 | colors.base01 = 0xe0dee0 13 | colors.base02 = 0xd5d5d8 14 | colors.base03 = 0xb6b4b5 15 | colors.base04 = 0x989597 16 | colors.base05 = 0x515151 17 | colors.base06 = 0x454547 18 | colors.base07 = 0x2c2c2d 19 | colors.base08 = 0x313efe 20 | colors.base09 = 0x086dfe 21 | colors.base0A = 0x03e2f7 22 | colors.base0B = 0x4cf747 23 | colors.base0C = 0xfd9c0f 24 | colors.base0D = 0xdf3129 25 | colors.base0E = 0xce1f61 26 | colors.base0F = 0x406fb1 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-github.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Github 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Defman21 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0xffffff 12 | colors.base01 = 0xf5f5f5 13 | colors.base02 = 0xfac8c8 14 | colors.base03 = 0x969896 15 | colors.base04 = 0xe8e8e8 16 | colors.base05 = 0x333333 17 | colors.base06 = 0xffffff 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x436aed 20 | colors.base09 = 0xb38600 21 | colors.base0A = 0xa35d79 22 | colors.base0B = 0x913618 23 | colors.base0C = 0x913618 24 | colors.base0D = 0xa35d79 25 | colors.base0E = 0x5d1da7 26 | colors.base0F = 0x333333 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-hardcore.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Hardcore 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Chris Caller 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x212121 12 | colors.base01 = 0x303030 13 | colors.base02 = 0x353535 14 | colors.base03 = 0x4A4A4A 15 | colors.base04 = 0x707070 16 | colors.base05 = 0xcdcdcd 17 | colors.base06 = 0xe5e5e5 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x7226f9 20 | colors.base09 = 0x1f97fd 21 | colors.base0A = 0x74dbe6 22 | colors.base0B = 0x2ee2a6 23 | colors.base0C = 0x878370 24 | colors.base0D = 0xefd966 25 | colors.base0E = 0xfe6f9e 26 | colors.base0F = 0x82b8e8 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-hopscotch.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Hopscotch 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Jan T. Sott 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x312932 12 | colors.base01 = 0x423b43 13 | colors.base02 = 0x5b545c 14 | colors.base03 = 0x797379 15 | colors.base04 = 0x989498 16 | colors.base05 = 0xb8b5b9 17 | colors.base06 = 0xd5d3d5 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x4c46dd 20 | colors.base09 = 0x198bfd 21 | colors.base0A = 0x59ccfd 22 | colors.base0B = 0x3ec18f 23 | colors.base0C = 0x939b14 24 | colors.base0D = 0xbf9012 25 | colors.base0E = 0x7c5ec8 26 | colors.base0F = 0x0835b3 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-icy.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Icy Dark 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: icyphox (https://icyphox.ga) 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x121002 12 | colors.base01 = 0x191603 13 | colors.base02 = 0x231f04 14 | colors.base03 = 0x342e05 15 | colors.base04 = 0x484006 16 | colors.base05 = 0x675b09 17 | colors.base06 = 0x8c7c0c 18 | colors.base07 = 0xb09c10 19 | colors.base08 = 0xd9c116 20 | colors.base09 = 0xf2ebb3 21 | colors.base0A = 0xeade80 22 | colors.base0B = 0xe1d04d 23 | colors.base0C = 0xdac626 24 | colors.base0D = 0xd4bc00 25 | colors.base0E = 0xc1ac00 26 | colors.base0F = 0xa79700 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-isotope.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Isotope 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Jan T. Sott 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x000000 12 | colors.base01 = 0x404040 13 | colors.base02 = 0x606060 14 | colors.base03 = 0x808080 15 | colors.base04 = 0xc0c0c0 16 | colors.base05 = 0xd0d0d0 17 | colors.base06 = 0xe0e0e0 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x0000ff 20 | colors.base09 = 0x0099ff 21 | colors.base0A = 0x9900ff 22 | colors.base0B = 0x00ff33 23 | colors.base0C = 0xffff00 24 | colors.base0D = 0xff6600 25 | colors.base0E = 0xff00cc 26 | colors.base0F = 0xff0033 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-lime.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: lime 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: limelier 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x2f1a1a 12 | colors.base01 = 0x302020 13 | colors.base02 = 0x3f2a2a 14 | colors.base03 = 0x403131 15 | colors.base04 = 0x555151 16 | colors.base05 = 0x758181 17 | colors.base06 = 0xd1f2ff 18 | colors.base07 = 0xe1f8ff 19 | colors.base08 = 0x2a66ff 20 | colors.base09 = 0x3a77ff 21 | colors.base0A = 0x5ed1ff 22 | colors.base0B = 0x7cd98c 23 | colors.base0C = 0x83ad4c 24 | colors.base0D = 0x6f922b 25 | colors.base0E = 0x5f821b 26 | colors.base0F = 0x7cd9b4 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-materia.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Materia 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Defman21 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x383226 12 | colors.base01 = 0x3F392C 13 | colors.base02 = 0x4F4737 14 | colors.base03 = 0x807870 15 | colors.base04 = 0xD3CCC9 16 | colors.base05 = 0xDED3CD 17 | colors.base06 = 0xE5DBD5 18 | colors.base07 = 0xFFFFFF 19 | colors.base08 = 0x675FEC 20 | colors.base09 = 0x6095EA 21 | colors.base0A = 0x00CCFF 22 | colors.base0B = 0x49D68B 23 | colors.base0C = 0xC4CB80 24 | colors.base0D = 0xFFDD89 25 | colors.base0E = 0xFFAA82 26 | colors.base0F = 0x675FEC 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-material-vivid.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Material Vivid 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: joshyrobot 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x242120 12 | colors.base01 = 0x2c2927 13 | colors.base02 = 0x393632 14 | colors.base03 = 0x4d4644 15 | colors.base04 = 0x716c67 16 | colors.base05 = 0x8b8680 17 | colors.base06 = 0x9e9e9e 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x3643f4 20 | colors.base09 = 0x0098ff 21 | colors.base0A = 0x3bebff 22 | colors.base0B = 0x76e600 23 | colors.base0C = 0xd4bc00 24 | colors.base0D = 0xf39621 25 | colors.base0E = 0xb73a67 26 | colors.base0F = 0x636e8d 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-material.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Material 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Nate Peterson 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x383226 12 | colors.base01 = 0x433C2E 13 | colors.base02 = 0x494531 14 | colors.base03 = 0x7A6E54 15 | colors.base04 = 0xD6CCB2 16 | colors.base05 = 0xFFFFEE 17 | colors.base06 = 0xFFFFEE 18 | colors.base07 = 0xFFFFFF 19 | colors.base08 = 0x7871F0 20 | colors.base09 = 0x6C8CF7 21 | colors.base0A = 0x6BCBFF 22 | colors.base0B = 0x8DE8C3 23 | colors.base0C = 0xFFDD89 24 | colors.base0D = 0xFFAA82 25 | colors.base0E = 0xEA92C7 26 | colors.base0F = 0x7053FF 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-mellow-purple.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Mellow Purple 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: gidsi 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x28051e 12 | colors.base01 = 0x2D091A 13 | colors.base02 = 0x541333 14 | colors.base03 = 0x550f32 15 | colors.base04 = 0x823587 16 | colors.base05 = 0xffeeff 17 | colors.base06 = 0xffeeff 18 | colors.base07 = 0xffc0f8 19 | colors.base08 = 0xe9d900 20 | colors.base09 = 0xa300aa 21 | colors.base0A = 0xe75a95 22 | colors.base0B = 0x0dcb05 23 | colors.base0C = 0xb100b9 24 | colors.base0D = 0x680055 25 | colors.base0E = 0xbb9189 26 | colors.base0F = 0xff6f4d 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-nord.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Nord 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: arcticicestudio 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x40342E 12 | colors.base01 = 0x52423B 13 | colors.base02 = 0x5E4C43 14 | colors.base03 = 0x6A564C 15 | colors.base04 = 0xE9DED8 16 | colors.base05 = 0xF0E9E5 17 | colors.base06 = 0xF4EFEC 18 | colors.base07 = 0xBBBC8F 19 | colors.base08 = 0x6A61BF 20 | colors.base09 = 0x7087D0 21 | colors.base0A = 0x8BCBEB 22 | colors.base0B = 0x8CBEA3 23 | colors.base0C = 0xD0C088 24 | colors.base0D = 0xC1A181 25 | colors.base0E = 0xAD8EB4 26 | colors.base0F = 0xAC815E 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-pandora.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: pandora 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Cassandra Fox 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x131213 12 | colors.base01 = 0x23182f 13 | colors.base02 = 0x342247 14 | colors.base03 = 0xe3beff 15 | colors.base04 = 0x462a9b 16 | colors.base05 = 0x995cf1 17 | colors.base06 = 0x6a5081 18 | colors.base07 = 0x272263 19 | colors.base08 = 0x690bb0 20 | colors.base09 = 0x5391ff 21 | colors.base0A = 0x00ccff 22 | colors.base0B = 0x69df9d 23 | colors.base0C = 0xa64c71 24 | colors.base0D = 0x808000 25 | colors.base0E = 0x3040a2 26 | colors.base0F = 0x3040a2 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-paraiso.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Paraiso 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Jan T. Sott 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x2e1e2f 12 | colors.base01 = 0x3f3241 13 | colors.base02 = 0x4c424f 14 | colors.base03 = 0x716e77 15 | colors.base04 = 0x87868d 16 | colors.base05 = 0x9b9ea3 17 | colors.base06 = 0xb0b6b9 18 | colors.base07 = 0xdbe9e7 19 | colors.base08 = 0x5561ef 20 | colors.base09 = 0x159bf9 21 | colors.base0A = 0x18c4fe 22 | colors.base0B = 0x85b648 23 | colors.base0C = 0xbfc45b 24 | colors.base0D = 0xefb606 25 | colors.base0E = 0xa45b81 26 | colors.base0F = 0xa86be9 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-primer-dark.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Primer Dark 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Jimmy Lin 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x090401 12 | colors.base01 = 0x2d2621 13 | colors.base02 = 0x3d3630 14 | colors.base03 = 0x584f48 15 | colors.base04 = 0x9e948b 16 | colors.base05 = 0xc4bab1 17 | colors.base06 = 0xd9d1c9 18 | colors.base07 = 0xfcf6f0 19 | colors.base08 = 0x727bff 20 | colors.base09 = 0x3e88f0 21 | colors.base0A = 0x2299d2 22 | colors.base0B = 0x50b93f 23 | colors.base0C = 0xffd6a5 24 | colors.base0D = 0xffa658 25 | colors.base0E = 0xba78f7 26 | colors.base0F = 0x1d56bd 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-primer-light.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Primer Light 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Jimmy Lin 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0xfcfbfa 12 | colors.base01 = 0xe8e4e1 13 | colors.base02 = 0xdad5d1 14 | colors.base03 = 0xa59d95 15 | colors.base04 = 0x564d44 16 | colors.base05 = 0x3d362f 17 | colors.base06 = 0x2e2924 18 | colors.base07 = 0x231f1b 19 | colors.base08 = 0x493ad7 20 | colors.base09 = 0x0a6af6 21 | colors.base0A = 0x3dd3ff 22 | colors.base0B = 0x45a728 23 | colors.base0C = 0xffb879 24 | colors.base0D = 0xd66603 25 | colors.base0E = 0xaa4aea 26 | colors.base0F = 0x0041a0 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-purpledream.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Purpledream 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: malet 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x100510 12 | colors.base01 = 0x302030 13 | colors.base02 = 0x403040 14 | colors.base03 = 0x605060 15 | colors.base04 = 0xbbb0bb 16 | colors.base05 = 0xddd0dd 17 | colors.base06 = 0xeee0ee 18 | colors.base07 = 0xfff0ff 19 | colors.base08 = 0x0D1DFF 20 | colors.base09 = 0x14AECC 21 | colors.base0A = 0xA000F0 22 | colors.base0B = 0x64CC14 23 | colors.base0C = 0xB07500 24 | colors.base0D = 0xF0A000 25 | colors.base0E = 0xD000B0 26 | colors.base0F = 0x3C2A6A 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-qualia.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Qualia 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: isaacwhanson 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x101010 12 | colors.base01 = 0x454545 13 | colors.base02 = 0x454545 14 | colors.base03 = 0x454545 15 | colors.base04 = 0x808080 16 | colors.base05 = 0xC0C0C0 17 | colors.base06 = 0xC0C0C0 18 | colors.base07 = 0x454545 19 | colors.base08 = 0xA2A6EF 20 | colors.base09 = 0xEFB8A3 21 | colors.base0A = 0xDCA3E6 22 | colors.base0B = 0x90C980 23 | colors.base0C = 0x74C8C8 24 | colors.base0D = 0xCDCA50 25 | colors.base0E = 0x85AFE0 26 | colors.base0F = 0x808080 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-seti.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Seti UI 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x181715 12 | colors.base01 = 0x2b2a28 13 | colors.base02 = 0x8C753B 14 | colors.base03 = 0x5B5341 15 | colors.base04 = 0xd5a543 16 | colors.base05 = 0xd6d6d6 17 | colors.base06 = 0xeeeeee 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x453fCd 20 | colors.base09 = 0x557bdb 21 | colors.base0A = 0x69cde6 22 | colors.base0B = 0x56ca9f 23 | colors.base0C = 0xbedb55 24 | colors.base0D = 0xdbb555 25 | colors.base0E = 0xc474a0 26 | colors.base0F = 0x3f558a 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-stella.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Stella 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Shrimpram 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x3C212B 12 | colors.base01 = 0x482B36 13 | colors.base02 = 0x60414D 14 | colors.base03 = 0x785965 15 | colors.base04 = 0x92717F 16 | colors.base05 = 0xAD8B99 17 | colors.base06 = 0xC8A5B4 18 | colors.base07 = 0xFFDCEB 19 | colors.base08 = 0x8799C7 20 | colors.base09 = 0xC66588 21 | colors.base0A = 0x91C6C7 22 | colors.base0B = 0x9BC7AC 23 | colors.base0C = 0xBFC79B 24 | colors.base0D = 0xD4AAA5 25 | colors.base0E = 0xFF94C5 26 | colors.base0F = 0x87ABC7 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-tube.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: London Tube 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Jan T. Sott 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x201f23 12 | colors.base01 = 0x953f1c 13 | colors.base02 = 0x58575a 14 | colors.base03 = 0x717173 15 | colors.base04 = 0xa19c95 16 | colors.base05 = 0xd8d8d9 17 | colors.base06 = 0xe8e7e7 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0x242eee 20 | colors.base09 = 0xa186f3 21 | colors.base0A = 0x04d2ff 22 | colors.base0B = 0x3e8500 23 | colors.base0C = 0xbcce85 24 | colors.base0D = 0xdc9d00 25 | colors.base0E = 0x5d0098 26 | colors.base0F = 0x1061b0 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-vulcan.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: vulcan 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: Andrey Varfolomeev 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x231504 12 | colors.base01 = 0x392312 13 | colors.base02 = 0x523500 14 | colors.base03 = 0x59577a 15 | colors.base04 = 0x77696b 16 | colors.base05 = 0x8c775b 17 | colors.base06 = 0x383233 18 | colors.base07 = 0x684d21 19 | colors.base08 = 0x918581 20 | colors.base09 = 0xa39891 21 | colors.base0A = 0xb9b4ad 22 | colors.base0B = 0x7c7d97 23 | colors.base0C = 0x7c7d97 24 | colors.base0D = 0x7c7d97 25 | colors.base0E = 0xa39891 26 | colors.base0F = 0x7c7d97 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-zenbones.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Zenbones 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: mcchrish 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x191919 12 | colors.base01 = 0x7C6EDE 13 | colors.base02 = 0x699B81 14 | colors.base03 = 0x647EB7 15 | colors.base04 = 0xC09960 16 | colors.base05 = 0xA779B2 17 | colors.base06 = 0xADA566 18 | colors.base07 = 0xBBBBBB 19 | colors.base08 = 0x39383D 20 | colors.base09 = 0x8F83E8 21 | colors.base0A = 0x68AE8B 22 | colors.base0B = 0x678CD6 23 | colors.base0C = 0xDAAB61 24 | colors.base0D = 0xC186CF 25 | colors.base0E = 0xC1B865 26 | colors.base0F = 0x8E8E8E 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | -------------------------------------------------------------------------------- /base16/templates/textadept/themes/base16-zenburn.lua: -------------------------------------------------------------------------------- 1 | -- Base16 Theme: Zenburn 2 | -- http://chriskempson.com/projects/base16/ 3 | -- Theme author: elnawe 4 | -- Template Repository: https://github.com/rgieseke/base16-textadept 5 | -- Template adapted from Textadept's default themes 6 | -- Copyright 2007-2023 Mitchell mitchell.att.foicica.com. MIT licensed. 7 | 8 | local view, colors, styles = view, view.colors, view.styles 9 | 10 | -- Base16 colors 11 | colors.base00 = 0x383838 12 | colors.base01 = 0x404040 13 | colors.base02 = 0x606060 14 | colors.base03 = 0x6f6f6f 15 | colors.base04 = 0x808080 16 | colors.base05 = 0xccdcdc 17 | colors.base06 = 0xc0c0c0 18 | colors.base07 = 0xffffff 19 | colors.base08 = 0xa3a3dc 20 | colors.base09 = 0x8fafdf 21 | colors.base0A = 0x9fcfe0 22 | colors.base0B = 0x5f7f5f 23 | colors.base0C = 0xe3e093 24 | colors.base0D = 0xbbb87c 25 | colors.base0E = 0xc38cdc 26 | colors.base0F = 0x000000 27 | 28 | -- Default font. 29 | if not font then font = WIN32 and 'Consolas' or OSX and 'Monaco' or 'Monospace' end 30 | if not size then size = not OSX and 10 or 12 end 31 | 32 | -- Predefined styles. 33 | styles[view.STYLE_DEFAULT] = { 34 | font = font, size = size, fore = colors.base05, back = colors.base00 35 | } 36 | styles[view.STYLE_LINENUMBER] = {fore = colors.base03, back = colors.base01} 37 | styles[view.STYLE_BRACELIGHT] = {fore = colors.base0E, bold = true} 38 | styles[view.STYLE_BRACEBAD] = {fore = colors.base08} 39 | -- styles[view.STYLE_CONTROLCHAR] = {} 40 | styles[view.STYLE_INDENTGUIDE] = {fore = colors.base03} 41 | styles[view.STYLE_CALLTIP] = {fore = colors.base04, back = colors.base01} 42 | styles[view.STYLE_FOLDDISPLAYTEXT] = {fore = colors.base01, back = colors.base03} 43 | 44 | -- Tag styles. 45 | styles[lexer.ANNOTATION] = {fore = colors.base08} 46 | styles[lexer.ATTRIBUTE] = {fore = colors.base0A} 47 | styles[lexer.BOLD] = {bold = true} 48 | styles[lexer.CLASS] = {fore = colors.base0A} 49 | styles[lexer.CODE] = {eol_filled = true} 50 | styles[lexer.COMMENT] = {fore = colors.base03} 51 | styles[lexer.CONSTANT] = {fore = colors.base09} 52 | -- styles[lexer.CONSTANT_BUILTIN] = {} 53 | styles[lexer.EMBEDDED] = {fore = colors.base0F, back = colors.base01} 54 | styles[lexer.ERROR] = {fore = colors.base08} 55 | -- styles[lexer.FUNCTION] = {} 56 | styles[lexer.FUNCTION_BUILTIN] = {fore = colors.base0D} 57 | -- styles[lexer.FUNCTION_METHOD] = {} 58 | styles[lexer.HEADING] = {bold = true} 59 | -- styles[lexer.IDENTIFIER] = {} 60 | styles[lexer.ITALIC] = {italic = true} 61 | styles[lexer.KEYWORD] = {fore = colors.base0E} 62 | styles[lexer.LABEL] = {fore = colors.base08} 63 | styles[lexer.LINK] = {underline = true} 64 | -- styles[lexer.LIST] = {} 65 | styles[lexer.NUMBER] = {fore = colors.base09} 66 | styles[lexer.OPERATOR] = {fore = colors.base05} 67 | styles[lexer.PREPROCESSOR] = {fore = colors.base0B} 68 | styles[lexer.REFERENCE] = {underline = true} 69 | styles[lexer.REGEX] = {fore = colors.base0C} 70 | styles[lexer.STRING] = {fore = colors.base0B} 71 | styles[lexer.TAG] = {} 72 | styles[lexer.TYPE] = {fore = colors.base0A} 73 | styles[lexer.UNDERLINE] = {underline = true} 74 | -- styles[lexer.VARIABLE] = {} 75 | styles[lexer.VARIABLE_BUILTIN] = {fore = colors.base08} 76 | -- styles[lexer.WHITESPACE] = {} 77 | 78 | -- CSS. 79 | styles.property = styles[lexer.ATTRIBUTE] 80 | -- styles.pseudoclass = {} 81 | -- styles.pseudoelement = {} 82 | -- Diff. 83 | styles.addition = {fore = colors.base0B} 84 | styles.deletion = {fore = colors.base08} 85 | styles.change = {fore = colors.base0E} 86 | -- HTML. 87 | styles.tag_unknown = styles.tag .. {italic = true} 88 | styles.attribute_unknown = styles.attribute .. {italic = true} 89 | -- Latex, TeX, and Texinfo. 90 | styles.command = styles[lexer.KEYWORD] 91 | styles.command_section = styles[lexer.HEADING] 92 | styles.environment = styles[lexer.TYPE] 93 | styles.environment_math = styles[lexer.NUMBER] 94 | -- Makefile. 95 | -- styles.target = {} 96 | -- Markdown. 97 | -- styles.hr = {} 98 | -- Python. 99 | styles.keyword_soft = {} 100 | -- XML. 101 | -- styles.cdata = {} 102 | -- YAML. 103 | styles.error_indent = {back = colors.base08} 104 | 105 | -- Element colors. 106 | -- view.element_color[view.ELEMENT_SELECTION_TEXT] = 107 | view.element_color[view.ELEMENT_SELECTION_BACK] = colors.base02 108 | -- view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_TEXT] = 109 | view.element_color[view.ELEMENT_SELECTION_ADDITIONAL_BACK] = colors.base03 110 | -- view.element_color[view.ELEMENT_SELECTION_SECONDARY_TEXT] = 111 | view.element_color[view.ELEMENT_SELECTION_SECONDARY_BACK] = colors.base03 112 | -- view.element_color[view.ELEMENT_SELECTION_INACTIVE_TEXT] = 113 | view.element_color[view.ELEMENT_SELECTION_INACTIVE_BACK] = colors.base02 114 | view.element_color[view.ELEMENT_CARET] = colors.base05 115 | -- view.element_color[view.ELEMENT_CARET_ADDITIONAL] = 116 | if view ~= ui.command_entry then 117 | view.element_color[view.ELEMENT_CARET_LINE_BACK] = colors.base03 | 0x60000000 118 | end 119 | view.caret_line_layer = view.LAYER_UNDER_TEXT 120 | 121 | -- Fold Margin. 122 | view:set_fold_margin_color(true, colors.base00) 123 | view:set_fold_margin_hi_color(true, colors.base00) 124 | 125 | -- Markers. 126 | -- view.marker_fore[textadept.bookmarks.MARK_BOOKMARK] = colors.base01 127 | view.marker_back[textadept.bookmarks.MARK_BOOKMARK] = colors.base0D 128 | -- view.marker_fore[textadept.run.MARK_WARNING] = 129 | view.marker_back[textadept.run.MARK_WARNING] = colors.base0E 130 | -- view.marker_fore[textadept.run.MARK_ERROR] = 131 | view.marker_back[textadept.run.MARK_ERROR] = colors.base08 132 | for i = buffer.MARKNUM_FOLDEREND, buffer.MARKNUM_FOLDEROPEN do -- fold margin 133 | view.marker_fore[i] = colors.base00 134 | view.marker_back[i] = colors.base02 135 | view.marker_back_selected[i] = colors.base03 136 | end 137 | 138 | -- Indicators. 139 | view.indic_fore[ui.find.INDIC_FIND] = colors.base0E 140 | view.indic_alpha[ui.find.INDIC_FIND] = 0x80 141 | view.indic_fore[textadept.editing.INDIC_HIGHLIGHT] = colors.base09 142 | view.indic_alpha[textadept.editing.INDIC_HIGHLIGHT] = 0x80 143 | view.indic_fore[textadept.snippets.INDIC_PLACEHOLDER] = colors.base03 144 | view.indic_fore[textadept.run.INDIC_WARNING] = colors.base0E 145 | view.indic_fore[textadept.run.INDIC_ERROR] = colors.base08 146 | 147 | -- Call tips. 148 | view.call_tip_fore_hlt = colors.base06 149 | 150 | -- Long Lines. 151 | view.edge_color = colors.base02 152 | 153 | -- Find & replace pane entries. 154 | ui.find.entry_font = font .. ' ' .. size 155 | --------------------------------------------------------------------------------