summaryrefslogtreecommitdiffstats
path: root/assets/themes
diff options
context:
space:
mode:
authorMitchell Kember <mk12360@gmail.com>2020-07-19 16:49:10 -0400
committerDavid Peter <sharkdp@users.noreply.github.com>2020-08-03 11:39:49 +0200
commitf9d5e81f0e72a130ccbe466c82ee1a0acb919c3d (patch)
tree1c75871180fea7817143c2a67b2762a4f9c96bbe /assets/themes
parent00d1267bddd88e2008910414c25b20b13045c088 (diff)
Add new theme: base16-256
Bat already has a base16 theme. The new base16-256 theme is for users of base16-shell, who configure their terminal with a 256-color variant of a base16 theme. These variants put some of the base16 colors in elsewhere in the 256-color table to avoid clobbering bright color slots (ansi codes 8 to 15) with colors that don't respect the ordinary meaning of that slot (e.g. bright green in ordinary base16 is not green). For more details, see https://github.com/chriskempson/base16-shell
Diffstat (limited to 'assets/themes')
-rw-r--r--assets/themes/base16-256.tmTheme551
-rw-r--r--assets/themes/base16.tmTheme11
2 files changed, 560 insertions, 2 deletions
diff --git a/assets/themes/base16-256.tmTheme b/assets/themes/base16-256.tmTheme
new file mode 100644
index 00000000..a4547e56
--- /dev/null
+++ b/assets/themes/base16-256.tmTheme
@@ -0,0 +1,551 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <!--
+ Most base16 users should use the base16 theme. This theme, base16-256,
+ is for users who configure their terminal with a 256-color variant of a
+ base16 theme, and who use base16-shell. DO NOT use this theme simply
+ because your terminal supports 256 colors.
+
+ base16: https://github.com/chriskempson/base16
+ base16-shell: https://github.com/chriskempson/base16-shell
+
+ The colors in this theme are encoded as #RRGGBBAA where RR is an ANSI
+ palette number from 00 to ff (the 256 terminal colors), and AA is the
+ special value 00 to indicate this encoding is being used.
+ -->
+ <key>author</key>
+ <string>Template: Chris Kempson, Scheme: Mitchell Kember</string>
+ <key>name</key>
+ <string>Base16 256</string>
+ <key>colorSpaceName</key>
+ <string>sRGB</string>
+ <key>settings</key>
+ <array>
+ <dict>
+ <key>settings</key>
+ <dict>
+ <key>background</key>
+ <string>#00000000</string>
+ <key>caret</key>
+ <string>#07000000</string>
+ <key>foreground</key>
+ <string>#07000000</string>
+ <key>invisibles</key>
+ <string>#08000000</string>
+ <key>lineHighlight</key>
+ <string>#08000000</string>
+ <key>selection</key>
+ <string>#13000000</string>
+ <key>gutter</key>
+ <string>#12000000</string>
+ <key>gutterForeground</key>
+ <string>#08000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Text</string>
+ <key>scope</key>
+ <string>variable.parameter.function</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#07000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Comments</string>
+ <key>scope</key>
+ <string>comment, punctuation.definition.comment</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#08000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Punctuation</string>
+ <key>scope</key>
+ <string>punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#07000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Delimiters</string>
+ <key>scope</key>
+ <string>none</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#07000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Operators</string>
+ <key>scope</key>
+ <string>keyword.operator</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#07000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Keywords</string>
+ <key>scope</key>
+ <string>keyword</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#05000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Variables</string>
+ <key>scope</key>
+ <string>variable</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#07000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Functions</string>
+ <key>scope</key>
+ <string>entity.name.function, meta.require, support.function.any-method</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#04000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Labels</string>
+ <key>scope</key>
+ <string>entity.name.label</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#11000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Classes</string>
+ <key>scope</key>
+ <string>support.class, entity.name.class, entity.name.type.class</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#03000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Classes</string>
+ <key>scope</key>
+ <string>meta.class</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#0f000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Methods</string>
+ <key>scope</key>
+ <string>keyword.other.special-method</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#04000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Storage</string>
+ <key>scope</key>
+ <string>storage</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#05000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Support</string>
+ <key>scope</key>
+ <string>support.function</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#06000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Strings, Inherited Class</string>
+ <key>scope</key>
+ <string>string, constant.other.symbol, entity.other.inherited-class</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#02000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Integers</string>
+ <key>scope</key>
+ <string>constant.numeric</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Floats</string>
+ <key>scope</key>
+ <string>none</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Boolean</string>
+ <key>scope</key>
+ <string>none</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Constants</string>
+ <key>scope</key>
+ <string>constant</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Tags</string>
+ <key>scope</key>
+ <string>entity.name.tag</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#01000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Attributes</string>
+ <key>scope</key>
+ <string>entity.other.attribute-name</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Attribute IDs</string>
+ <key>scope</key>
+ <string>entity.other.attribute-name.id, punctuation.definition.entity</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#04000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Selector</string>
+ <key>scope</key>
+ <string>meta.selector</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#05000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Values</string>
+ <key>scope</key>
+ <string>none</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Headings</string>
+ <key>scope</key>
+ <string>markup.heading punctuation.definition.heading, entity.name.section</string>
+ <key>settings</key>
+ <dict>
+ <key>fontStyle</key>
+ <string></string>
+ <key>foreground</key>
+ <string>#04000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Units</string>
+ <key>scope</key>
+ <string>keyword.other.unit</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Bold</string>
+ <key>scope</key>
+ <string>markup.bold, punctuation.definition.bold</string>
+ <key>settings</key>
+ <dict>
+ <key>fontStyle</key>
+ <string>bold</string>
+ <key>foreground</key>
+ <string>#03000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Italic</string>
+ <key>scope</key>
+ <string>markup.italic, punctuation.definition.italic</string>
+ <key>settings</key>
+ <dict>
+ <key>fontStyle</key>
+ <string>italic</string>
+ <key>foreground</key>
+ <string>#05000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Code</string>
+ <key>scope</key>
+ <string>markup.raw.inline</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#02000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Link Text</string>
+ <key>scope</key>
+ <string>string.other.link, punctuation.definition.string.end.markdown, punctuation.definition.string.begin.markdown</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#01000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Link Url</string>
+ <key>scope</key>
+ <string>meta.link</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Quotes</string>
+ <key>scope</key>
+ <string>markup.quote</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#10000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Separator</string>
+ <key>scope</key>
+ <string>meta.separator</string>
+ <key>settings</key>
+ <dict>
+ <key>background</key>
+ <string>#13000000</string>
+ <key>foreground</key>
+ <string>#07000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Inserted</string>
+ <key>scope</key>
+ <string>markup.inserted</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#02000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Deleted</string>
+ <key>scope</key>
+ <string>markup.deleted</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#01000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Changed</string>
+ <key>scope</key>
+ <string>markup.changed</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#05000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Colors</string>
+ <key>scope</key>
+ <string>constant.other.color</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#06000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Regular Expressions</string>
+ <key>scope</key>
+ <string>string.regexp</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#06000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Escape Characters</string>
+ <key>scope</key>
+ <string>constant.character.escape</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#06000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Embedded</string>
+ <key>scope</key>
+ <string>punctuation.section.embedded, variable.interpolation</string>
+ <key>settings</key>
+ <dict>
+ <key>foreground</key>
+ <string>#05000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Illegal</string>
+ <key>scope</key>
+ <string>invalid.illegal</string>
+ <key>settings</key>
+ <dict>
+ <key>background</key>
+ <string>#01000000</string>
+ <key>foreground</key>
+ <string>#0f000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Broken</string>
+ <key>scope</key>
+ <string>invalid.broken</string>
+ <key>settings</key>
+ <dict>
+ <key>background</key>
+ <string>#10000000</string>
+ <key>foreground</key>
+ <string>#00000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Deprecated</string>
+ <key>scope</key>
+ <string>invalid.deprecated</string>
+ <key>settings</key>
+ <dict>
+ <key>background</key>
+ <string>#11000000</string>
+ <key>foreground</key>
+ <string>#0f000000</string>
+ </dict>
+ </dict>
+ <dict>
+ <key>name</key>
+ <string>Unimplemented</string>
+ <key>scope</key>
+ <string>invalid.unimplemented</string>
+ <key>settings</key>
+ <dict>
+ <key>background</key>
+ <string>#08000000</string>
+ <key>foreground</key>
+ <string>#0f000000</string>
+ </dict>
+ </dict>
+ </array>
+ <key>uuid</key>
+ <string>uuid</string>
+ </dict>
+</plist>
diff --git a/assets/themes/base16.tmTheme b/assets/themes/base16.tmTheme
index eff2eba4..7b030068 100644
--- a/assets/themes/base16.tmTheme
+++ b/assets/themes/base16.tmTheme
@@ -3,9 +3,16 @@
<plist version="1.0">
<dict>
<!--
+ This theme is meant for users who configure their terminal with a base16
+ color theme. If you use a 256-color variant along with base16-shell, use
+ the bat theme base16-256 instead.
+
+ base16: https://github.com/chriskempson/base16
+ base16-shell: https://github.com/chriskempson/base16-shell
+
The colors in this theme are encoded as #RRGGBBAA where RR is an ANSI
- palette number from 00 to 0f, and AA is the special value 00 to indicate
- that this encoding is being used.
+ palette number from 00 to 0f (the 8 colors and their bright versions),
+ and AA is the special value 00 to indicate this encoding is being used.
-->
<key>author</key>
<string>Template: Chris Kempson, Scheme: Mitchell Kember</string>