diff --git a/README.mkd b/README.md similarity index 66% rename from README.mkd rename to README.md index 251acdb..e0c451d 100644 --- a/README.mkd +++ b/README.md @@ -1,32 +1,42 @@ Solarized Colorscheme for TextMate -============================= +================================== -See the [Solarized homepage](http://ethanschoonover.com/solarized) for screenshots, -details and colorscheme versions for Vim, Mutt, popular terminal emulators and -other applications. +See the [Solarized homepage] for screenshots, details, and +colorscheme versions for Vim, Mutt, popular terminal emulators, +and other applications. Downloads --------- -If you have come across this page via github please visit the main [Solarized homepage](http://ethanschoonover.com/solarized) +If you have come across this page via GitHub, +please visit the [Solarized homepage]. [Solarized homepage]: http://ethanschoonover.com/solarized [Solarized repository]: https://github.com/altercation/solarized -Contribute ---------- - -The goal is to get as-close-as-possible to the rendering of the same file in Vim. If you would like to help, here's how to get involved. +Contribute +---------- +The goal is to get as-close-as-possible to the rendering of the same file in Vim. +If you would like to help, here's how to get involved: 1. Fork this repo and checkout your own copy. 2. Download the [sample documents](https://github.com/altercation/solarized/tree/master/utils/tests). -3. Checkout this guide to [TextMate theme development](http://manual.macromates.com/en/themes). -4. Check the [issues](https://github.com/deplorableword/textmate-solarized/issues) to see what needs working on. +3. Make your changes to files under `src/` + - Please change only one language per commit. (Changing both light & dark is okay.) + - Please specify colors using the `__«COLOR»__` convention seen throughout the files. + (This ensures color consistency with the official Solarized colors, as well as + color consistency between different languages.) + +Here are a couple of useful resources: + +* [Guide to TextMate theme development](http://manual.macromates.com/en/themes). +* [Issues](https://github.com/deplorableword/textmate-solarized/issues) lists what needs to be worked on. + Contributors ---------- +------------ * [deplorableword](https://github.com/deplorableword) * [fentie](https://github.com/fentie) * [bmthykm](https://github.com/bmthykm) @@ -39,6 +49,8 @@ Contributors * [evanmoran](https://github.com/evanmoran) * [iristyle](https://github.com/iristyle) * [albertboada](https://github.com/albertboada) +* [Zearin](https://github.com/Zearin) + License ------- diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..546ca0c --- /dev/null +++ b/build.sh @@ -0,0 +1,215 @@ +#!/usr/bin/env bash +# -*- coding: utf-8 -*- + + +#-------------------------------------------------------------------- +# Concatenates language-specific pieces of the Solarized them +# under $DIRSRC (default: ‘src’), and builds them into the +# dark and light *.tmTheme files under $DIRBUILD (default: ‘build’). +#-------------------------------------------------------------------- + + +#-------------------------------------------------------------------- +# DIRECTORIES +# +readonly DIRSRC='src' +readonly DIRBUILD='build' + + +#-------------------------------------------------------------------- +# Solarized colors +# http://ethanschoonover.com/solarized/#the-values +# +readonly BASE03='#002b36' +readonly BASE02='#073642' +readonly BASE01='#586e75' +readonly BASE00='#657b83' + +readonly BASE0='#839496' +readonly BASE1='#93a1a1' +readonly BASE2='#eee8d5' +readonly BASE3='#fdf6e3' + +readonly YELLOW='#b58900' +readonly ORANGE='#cb4b16' +readonly RED='#dc322f' +readonly MAGENTA='#d33682' +readonly VIOLET='#6c71c4' +readonly BLUE='#268bd2' +readonly CYAN='#2aa198' +readonly GREEN='#859900' + + +#-------------------------------------------------------------------- +# Array containing parts for concatenation +# +declare -a PARTS=( + '_HEAD' + 'css' + 'js' + 'html' + 'ruby' + 'php' + 'c' + 'diff' + 'markdown' + 'rest' + 'other' + 'tex' + 'python' + 'shell' + 'java' + 'perl' + 'text' + 'sublimelinter' + '_TAIL' +); + + +#-------------------------------------------------------------------- +# Returns path and filename for a theme being built +# +getBuildFile () +{ + local _DIRBUILD=$1 + local THEMESTYLE=$2 + + outfile="${_DIRBUILD}"/"Solarized (${THEMESTYLE}).tmTheme" + + echo "${outfile}" +} + + +#-------------------------------------------------------------------- +# Cleans previous builds +# +clean () +{ + echo "Cleaning ‘${DIRBUILD}/’..." + rm -rf "$DIRBUILD" && mkdir "$DIRBUILD" +} + + +#-------------------------------------------------------------------- +# Accepts either 'light' or 'dark' argument, +# concatenates files under $DIRSRC with that suffix, +# and outputs result to $DIRBUILD. +# +concat () +{ + echo "Concatenating ‘${outfile}’..." + + outfile=$1 + + if [[ $outfile = '' ]]; then + echo "ERROR: no outfile to concat()" + exit 1 + fi + + for i in "${PARTS[@]}" + do + infile="${DIRSRC}/${i}" + cat "${infile}" >> "${outfile}" + done +} + + +#-------------------------------------------------------------------- +# Replace variables with Solarized color values +# +colorize () +{ + style=$1 + filename=$2 + + + + echo "Colorizing ‘${filename}’..." + + # Solarized (dark) is the default color palette; + # For (light), swap the four "base" colors by + # "toggling" a leading zero for each of them. + case $style in + + "dark") + STYLE='dark' + UUID='A4299D9B-1DE5-4BC4-87F6-A757E71B1597' + sed -i '' \ + -e "s/__STYLE__/"$STYLE"/g" \ + -e "s/__BASE03__/"$BASE03"/g" \ + -e "s/__BASE02__/"$BASE02"/g" \ + -e "s/__BASE01__/"$BASE01"/g" \ + -e "s/__BASE00__/"$BASE00"/g" \ + -e "s/__BASE0__/"$BASE0"/g" \ + -e "s/__BASE1__/"$BASE1"/g" \ + -e "s/__BASE2__/"$BASE2"/g" \ + -e "s/__BASE3__/"$BASE3"/g" \ + -e "s/__YELLOW__/"$YELLOW"/g" \ + -e "s/__ORANGE__/"$ORANGE"/g" \ + -e "s/__RED__/"$RED"/g" \ + -e "s/__MAGENTA__/"$MAGENTA"/g"\ + -e "s/__VIOLET__/"$VIOLET"/g" \ + -e "s/__BLUE__/"$BLUE"/g" \ + -e "s/__CYAN__/"$CYAN"/g" \ + -e "s/__GREEN__/"$GREEN"/g" \ + -e "s/__UUID__/"$UUID"/g" \ + -- "${filename}" + ;; + + "light") + STYLE='light' + UUID='38E819D9-AE02-452F-9231-ECC3B204AFD7' + sed -i '' \ + -e "s/__STYLE__/"$STYLE"/g" \ + -e "s/__BASE03__/"$BASE3"/g" \ + -e "s/__BASE02__/"$BASE2"/g" \ + -e "s/__BASE01__/"$BASE1"/g" \ + -e "s/__BASE00__/"$BASE0"/g" \ + -e "s/__BASE0__/"$BASE00"/g" \ + -e "s/__BASE1__/"$BASE01"/g" \ + -e "s/__BASE2__/"$BASE02"/g" \ + -e "s/__BASE3__/"$BASE03"/g" \ + -e "s/__YELLOW__/"$YELLOW"/g" \ + -e "s/__ORANGE__/"$ORANGE"/g" \ + -e "s/__RED__/"$RED"/g" \ + -e "s/__MAGENTA__/"$MAGENTA"/g"\ + -e "s/__VIOLET__/"$VIOLET"/g" \ + -e "s/__BLUE__/"$BLUE"/g" \ + -e "s/__CYAN__/"$CYAN"/g" \ + -e "s/__GREEN__/"$GREEN"/g" \ + -e "s/__UUID__/"$UUID"/g" \ + -- "${filename}" + ;; + + *) + echo "ERROR in colorize()!" + echo "The first argument must be 'light' or 'dark'" + exit 1 + ;; + esac +} + + +#-------------------------------------------------------------------- +# Cleans $DIRBUILD and regenerates theme files +# +run () +{ + clean + for style in "light" "dark" + do + outfile=$( getBuildFile "${DIRBUILD}" "${style}" ) + concat "${outfile}" + colorize "${style}" "${outfile}" + done + + echo "Done!" && exit 0 +} + + +#-------------------------------------------------------------------- +# It’s run() time +# +run && exit 0 + +exit 1 diff --git a/src/README.md b/src/README.md new file mode 100644 index 0000000..f32febf --- /dev/null +++ b/src/README.md @@ -0,0 +1,40 @@ +# `src/` + + +## How this directory is organized + +Files in this directory each contain a piece of the Solarized code. +Each file is named for a specific language, and contains the instructions +for syntax highlights according to Solarized. + +The only exceptions to this naming scheme are the `_HEAD` and `_TAIL` files. +These contain the beginning and end of each `*.tmTheme` file, and the only files +that do not contain language-specific code. + +The build process automatically generates both the “dark” and “light” flavors +of the Solarized theme from this single set of files. The files in this +directory contain the colors for the “dark” flavor. The “light” Solarized theme +is generated by the `build.sh` script, which flips the 4 base pairs of colors. + + +### Files here are **not** valid (or well-formed) XML + +To build the two `*.tmTheme` files, these files are simply concatenated together. +Therefore, they’re *not* valid (or well-formed), but the build results are. + +(There are other XML tools, like XInclude, that could combine these files together, as well. +However, they often require Java, and they're more complicated than necessary here. +The current build method is a nice simple shell script.) + + +## Use `__«COLOR»__`s + +In this directory, nearly all color values are specified using the form `__«COLOR»__`, +where `__«COLOR»__` is one of the color names as seen on +[the official Solarized color table](http://ethanschoonover.com/solarized#the-values). + +During the build process, these placeholders are replaced with their hex color values. + +There are a few places where a literal color value is used. +Occasionally this is desireable--but it should always be the exception, not the rule. +Use your best judgment. \ No newline at end of file diff --git a/src/_HEAD b/src/_HEAD new file mode 100644 index 0000000..4745722 --- /dev/null +++ b/src/_HEAD @@ -0,0 +1,361 @@ + + + + + name + Solarized (__STYLE__) + semanticClass + solarized.__STYLE__ + gutterSettings + + background + __BASE02__ + divider + __BASE02__ + foreground + __BASE01__ + selectionBackground + __BASE02__ + selectionForeground + __BASE01__ + + settings + + + settings + + background + __BASE03__ + caret + __BASE3__ + foreground + __BASE0__ + invisibles + __BASE02__ + lineHighlight + __BASE02__ + selection + __BASE02__ + + + + name + Comment + scope + comment + settings + + fontStyle + + foreground + __BASE01__ + + + + name + String + scope + string + settings + + foreground + __CYAN__ + + + + name + StringNumber + scope + string + settings + + foreground + __BASE01__ + + + + name + Regexp + scope + string.regexp + settings + + foreground + __RED__ + + + + name + Number + scope + constant.numeric + settings + + foreground + __MAGENTA__ + + + + name + Variable + scope + variable.language, variable.other + settings + + foreground + __BLUE__ + + + + name + Keyword + scope + keyword + settings + + foreground + __GREEN__ + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + __GREEN__ + + + + name + Class name + scope + entity.name.class, entity.name.type.class + settings + + foreground + __BLUE__ + + + + name + Function name + scope + entity.name.function + settings + + foreground + __BLUE__ + + + + name + Variable start + scope + punctuation.definition.variable + settings + + foreground + __GREEN__ + + + + name + Embedded code markers + scope + punctuation.section.embedded.begin, punctuation.section.embedded.end + settings + + foreground + __RED__ + + + + name + Built-in constant + scope + constant.language, meta.preprocessor + settings + + foreground + __YELLOW__ + + + + name + Support.construct + scope + support.function.construct, keyword.other.new + settings + + foreground + __RED__ + + + + name + User-defined constant + scope + constant.character, constant.other + settings + + foreground + __ORANGE__ + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + + + name + Function argument + scope + variable.parameter + settings + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + bold + foreground + __BLUE__ + + + + name + Tag start/end + scope + punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end + settings + + foreground + __BASE01__ + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + foreground + __BASE1__ + + + + name + Library function + scope + support.function + settings + + foreground + __BLUE__ + + + + name + Continuation + scope + punctuation.separator.continuation + settings + + foreground + __RED__ + + + + name + Library constant + scope + support.constant + settings + + + + name + Library class/type + scope + support.type, support.class + settings + + foreground + __GREEN__ + + + + name + Library Exception + scope + support.type.exception + settings + + foreground + __ORANGE__ + + + + name + Special + scope + keyword.other.special-method + settings + + foreground + __ORANGE__ + + + + name + Library variable + scope + support.other.variable + settings + + + + name + Invalid + scope + invalid + settings + + + + name + Quoted String + scope + string.quoted.double, string.quoted.single + settings + + foreground + __CYAN__ + + + + name + Quotes + scope + punctuation.definition.string.begin, punctuation.definition.string.end + settings + + foreground + __RED__ + + diff --git a/src/_TAIL b/src/_TAIL new file mode 100644 index 0000000..8dc26a6 --- /dev/null +++ b/src/_TAIL @@ -0,0 +1,5 @@ + + uuid + __UUID__ + + diff --git a/src/c b/src/c new file mode 100644 index 0000000..3d392b4 --- /dev/null +++ b/src/c @@ -0,0 +1,104 @@ + + name + C: constant + scope + constant.numeric.c + settings + + fontStyle + + foreground + __CYAN__ + + + + name + C: Meta Preprocessor + scope + meta.preprocessor.c.include, meta.preprocessor.macro.c + settings + + fontStyle + + foreground + __ORANGE__ + + + + name + C: Keyword + scope + keyword.control.import.define.c, keyword.control.import.include.c + settings + + fontStyle + + foreground + __ORANGE__ + + + + name + C: Function Preprocessor + scope + entity.name.function.preprocessor.c + settings + + fontStyle + + foreground + __ORANGE__ + + + + name + C: include <something.c> + scope + meta.preprocessor.c.include string.quoted.other.lt-gt.include.c, meta.preprocessor.c.include punctuation.definition.string.begin.c, meta.preprocessor.c.include punctuation.definition.string.end.c + settings + + fontStyle + + foreground + __CYAN__ + + + + name + C: Function + scope + support.function.C99.c, support.function.any-method.c, entity.name.function.c + settings + + fontStyle + + foreground + __BASE01__ + + + + name + C: " + scope + punctuation.definition.string.begin.c, punctuation.definition.string.end.c + settings + + fontStyle + + foreground + __CYAN__ + + + + name + C: Storage Type + scope + storage.type.c + settings + + fontStyle + + foreground + __YELLOW__ + + diff --git a/src/css b/src/css new file mode 100644 index 0000000..d82f360 --- /dev/null +++ b/src/css @@ -0,0 +1,159 @@ + + name + CSS: Property + scope + entity.name.tag.css, support.type.property-name.css, meta.property-name.css + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + CSS: @font-face + scope + source.css + settings + + foreground + __RED__ + + + + name + CSS: Selector + scope + meta.selector.css + settings + + fontStyle + + foreground + __BASE01__ + + + + name + CSS: {} + scope + punctuation.section.property-list.css + settings + + foreground + __VIOLET__ + + + + name + CSS: Numeric Value + scope + meta.property-value.css constant.numeric.css, keyword.other.unit.css,constant.other.color.rgb-value.css + settings + + fontStyle + + foreground + __CYAN__ + + + + name + CSS: Value + scope + meta.property-value.css + settings + + fontStyle + + foreground + __CYAN__ + + + + name + CSS: !Important + scope + keyword.other.important.css + settings + + foreground + __RED__ + + + + name + CSS: Standard Value + scope + support.constant.color + settings + + foreground + __CYAN__ + + + + name + CSS: Tag + scope + entity.name.tag.css + settings + + foreground + __GREEN__ + + + + name + CSS: : , + scope + punctuation.separator.key-value.css, punctuation.terminator.rule.css + settings + + fontStyle + + foreground + __BASE01__ + + + + name + CSS .class + scope + entity.other.attribute-name.class.css + settings + + fontStyle + + foreground + __BLUE__ + + + + name + CSS :pseudo + scope + entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css + settings + + fontStyle + + foreground + __ORANGE__ + + + + name + CSS: #id + scope + entity.other.attribute-name.id.css + settings + + fontStyle + + foreground + __BLUE__ + + diff --git a/src/diff b/src/diff new file mode 100644 index 0000000..bd3793e --- /dev/null +++ b/src/diff @@ -0,0 +1,58 @@ + + name + diff: header + scope + meta.diff, meta.diff.header + settings + + background + __YELLOW__ + fontStyle + italic + foreground + __BASE2__ + + + + name + diff: deleted + scope + markup.deleted + settings + + background + __BASE2__ + fontStyle + + foreground + __RED__ + + + + name + diff: changed + scope + markup.changed + settings + + background + __BASE2__ + fontStyle + + foreground + __ORANGE__ + + + + name + diff: inserted + scope + markup.inserted + settings + + background + __BASE2__ + foreground + __CYAN__ + + diff --git a/src/html b/src/html new file mode 100644 index 0000000..d205e8f --- /dev/null +++ b/src/html @@ -0,0 +1,159 @@ + + name + HTML: Doctype + scope + entity.name.tag.doctype.html, meta.tag.sgml.html, string.quoted.double.doctype.identifiers-and-DTDs.html + settings + + fontStyle + italic + foreground + __BASE1__ + + + + name + HTML: Comment Block + scope + comment.block.html + settings + + fontStyle + italic + foreground + __BASE0__ + + + + name + HTML: Script + scope + entity.name.tag.script.html + settings + + fontStyle + italic + + + + name + HTML: Style + scope + source.css.embedded.html string.quoted.double.html + settings + + fontStyle + + foreground + __CYAN__ + + + + name + HTML: Text + scope + text.html.ruby + settings + + fontStyle + bold + foreground + __ORANGE__ + + + + name + HTML: = + scope + text.html.basic meta.tag.other.html, text.html.basic meta.tag.any.html, text.html.basic meta.tag.block.any, text.html.basic meta.tag.inline.any, text.html.basic meta.tag.structure.any.html, text.html.basic source.js.embedded.html, punctuation.separator.key-value.html + settings + + fontStyle + + foreground + __BASE00__ + + + + name + HTML: something= + scope + text.html.basic entity.other.attribute-name.html + settings + + foreground + __BASE00__ + + + + name + HTML: " + scope + text.html.basic meta.tag.structure.any.html punctuation.definition.string.begin.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html + settings + + fontStyle + + foreground + __CYAN__ + + + + name + HTML: <tag> + scope + entity.name.tag.block.any.html + settings + + fontStyle + bold + foreground + __BLUE__ + + + + name + HTML: style + scope + source.css.embedded.html entity.name.tag.style.html + settings + + fontStyle + italic + + + + name + HTML: <style> + scope + entity.name.tag.style.html + settings + + fontStyle + + + + + name + HTML: {} + scope + text.html.basic punctuation.section.property-list.css + settings + + fontStyle + + + + + name + HTML: Embeddable + scope + source.css.embedded.html, comment.block.html + settings + + fontStyle + italic + foreground + __BASE0__ + + diff --git a/src/java b/src/java new file mode 100644 index 0000000..11d07f7 --- /dev/null +++ b/src/java @@ -0,0 +1,65 @@ + + name + Java: import + scope + keyword.other.import.java + settings + + fontStyle + + foreground + __ORANGE__ + + + + name + Java: meta-import + scope + storage.modifier.import.java + settings + + fontStyle + + foreground + __BASE01__ + + + + name + Java: Class + scope + meta.class.java storage.modifier.java + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + Java: /* comment */ + scope + source.java comment.block + settings + + fontStyle + + foreground + __BASE01__ + + + + name + Java: /* @param */ + scope + comment.block meta.documentation.tag.param.javadoc keyword.other.documentation.param.javadoc + settings + + fontStyle + + foreground + __BASE01__ + + diff --git a/src/js b/src/js new file mode 100644 index 0000000..0d172c4 --- /dev/null +++ b/src/js @@ -0,0 +1,90 @@ + + name + JS: Function Name + scope + meta.function.js, entity.name.function.js, support.function.dom.js + settings + + foreground + __YELLOW__ + + + + name + JS: Source + scope + text.html.basic source.js.embedded.html + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + JS: Function + scope + storage.type.function.js + settings + + foreground + __BLUE__ + + + + name + JS: Numeric Constant + scope + constant.numeric.js + settings + + foreground + __CYAN__ + + + + name + JS: [] + scope + meta.brace.square.js + settings + + foreground + __BLUE__ + + + + name + JS: Storage Type + scope + storage.type.js + settings + + foreground + __BLUE__ + + + + name + () + scope + meta.brace.round, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js + settings + + foreground + __BASE1__ + + + + name + {} + scope + meta.brace.curly.js + settings + + foreground + __BLUE__ + + diff --git a/src/markdown b/src/markdown new file mode 100644 index 0000000..9ee0b8c --- /dev/null +++ b/src/markdown @@ -0,0 +1,184 @@ + + name + Markdown: Linebreak + scope + text.html.markdown meta.dummy.line-break + settings + + background + __YELLOW__ + foreground + __BASE2__ + + + + name + Markdown: Raw + scope + text.html.markdown markup.raw.inline + settings + + foreground + __CYAN__ + + + + name + Markdown: Headings + scope + markup.heading.markdown, markup.heading.1.markdown, markup.heading.2.markdown, markup.heading.3.markdown, markup.heading.4.markdown, markup.heading.5.markdown, markup.heading.6.markdown + settings + + foreground + __BLUE__ + + + + name + Markdown: Bold + scope + markup.bold.markdown + settings + + fontStyle + bold + foreground + __BASE0__ + + + + name + Markdown: Italic + scope + markup.italic.markdown + settings + + fontStyle + italic + foreground + __BASE0__ + + + + name + Markdown: Punctuation for Bold, Italic, and Inline Block + scope + punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.raw.markdown + settings + + foreground + __RED__ + + + + name + Markdown: Bulleted List + scope + markup.list.unnumbered.markdown + settings + + foreground + __YELLOW__ + + + + name + Markdown: Numbered List + scope + markup.list.numbered.markdown + settings + + foreground + __GREEN__ + + + + name + Markdown: Block and Inline Block + scope + markup.raw.block.markdown, markup.raw.inline.markdown + settings + + foreground + __CYAN__ + + + + name + Markdown: Quote Block and Punctuation + scope + markup.quote.markdown, punctuation.definition.blockquote.markdown + settings + + foreground + __VIOLET__ + + + + name + Markdown: Seperator + scope + meta.separator.markdown + settings + + foreground + __MAGENTA__ + + + + name + Markdown: Link and Reference URL + scope + meta.image.inline.markdown, markup.underline.link.markdown + settings + + fontStyle + italic + foreground + __BASE01__ + + + + name + Markdown: Link Title, Image Description + scope + string.other.link.title.markdown, string.other.link.description.markdown + settings + + foreground + __BASE1__ + + + + name + Markdown: Angle Brakets on Link and Image + scope + punctuation.definition.link.markdown + settings + + foreground + __BASE01__ + + + + name + Markdown: Parens on Link and Image + scope + punctuation.definition.metadata.markdown + settings + + foreground + __BASE01__ + + + + name + Markdown: Square Brakets on Link, Image, and Reference + scope + punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.constant.markdown + settings + + foreground + __BASE01__ + + diff --git a/src/other b/src/other new file mode 100644 index 0000000..69bfcce --- /dev/null +++ b/src/other @@ -0,0 +1,24 @@ + + name + Other: Removal + scope + other.package.exclude, other.remove + settings + + fontStyle + + foreground + __RED__ + + + + name + Other: Add + scope + other.add + settings + + foreground + __CYAN__ + + diff --git a/src/perl b/src/perl new file mode 100644 index 0000000..3535c23 --- /dev/null +++ b/src/perl @@ -0,0 +1,57 @@ + + name + Perl: variables + scope + punctuation.definition.variable.perl, variable.other.readwrite.global.perl, variable.other.predefined.perl, keyword.operator.comparison.perl + settings + + foreground + __YELLOW__ + + + + name + Perl: functions + scope + support.function.perl + settings + + foreground + __GREEN__ + + + + name + Perl: comments + scope + comment.line.number-sign.perl + settings + + fontStyle + italic + foreground + __BASE01__ + + + + name + Perl: quotes + scope + punctuation.definition.string.begin.perl, punctuation.definition.string.end.perl + settings + + foreground + __CYAN__ + + + + name + Perl: \char + scope + constant.character.escape.perl + settings + + foreground + __RED__ + + diff --git a/src/php b/src/php new file mode 100644 index 0000000..339435e --- /dev/null +++ b/src/php @@ -0,0 +1,245 @@ + + name + PHP: Quoted Single + scope + punctuation.definition.string.begin, punctuation.definition.string.end + settings + + foreground + __BASE0__ + + + + name + PHP: Class Names + scope + support.class.php + settings + + foreground + __BASE0__ + + + + name + PHP: [] + scope + keyword.operator.index-start.php, keyword.operator.index-end.php + settings + + foreground + __RED__ + + + + name + PHP: Array + scope + meta.array.php + settings + + foreground + __BASE01__ + + + + name + PHP: Array() + scope + meta.array.php support.function.construct.php, meta.array.empty.php support.function.construct.php + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + PHP: Array Construct + scope + support.function.construct.php + settings + + foreground + __YELLOW__ + + + + name + PHP: Array Begin + scope + punctuation.definition.array.begin, punctuation.definition.array.end + settings + + foreground + __RED__ + + + + name + PHP: Numeric Constant + scope + constant.numeric.php + settings + + foreground + __CYAN__ + + + + name + PHP: New + scope + keyword.other.new.php + settings + + foreground + __ORANGE__ + + + + name + PHP: :: + scope + keyword.operator.class + settings + + fontStyle + + foreground + __BASE0__ + + + + name + PHP: Other Property + scope + variable.other.property.php + settings + + foreground + __BASE1__ + + + + name + PHP: Class + scope + storage.modifier.extends.php, storage.type.class.php, keyword.operator.class.php + settings + + foreground + __YELLOW__ + + + + name + PHP: Class Function + settings + + + + name + PHP: Semicolon + scope + punctuation.terminator.expression.php + settings + + foreground + __BASE0__ + + + + name + PHP: Inherited Class + scope + meta.other.inherited-class.php + settings + + fontStyle + + foreground + __BASE01__ + + + + name + PHP: Storage Type + scope + storage.type.php + settings + + foreground + __GREEN__ + + + + name + PHP: Function + scope + entity.name.function.php + settings + + foreground + __BASE1__ + + + + name + PHP: Function Construct + scope + support.function.construct.php + settings + + foreground + __GREEN__ + + + + name + PHP: Function Call + scope + entity.name.type.class.php, meta.function-call.php, meta.function-call.static.php, meta.function-call.object.php + settings + + foreground + __BASE0__ + + + + name + PHP: Comment + scope + keyword.other.phpdoc + settings + + fontStyle + + foreground + __BASE1__ + + + + name + PHP: Source Emebedded + scope + source.php.embedded.block.html + settings + + foreground + __ORANGE__ + + + + name + PHP: Storage Type Function + scope + storage.type.function.php + settings + + foreground + __ORANGE__ + + diff --git a/src/python b/src/python new file mode 100644 index 0000000..02bb72d --- /dev/null +++ b/src/python @@ -0,0 +1,48 @@ + + name + Python: docstring + scope + string.quoted.double.block.python + settings + + fontStyle + + foreground + __BASE01__ + + + + name + Python: storage + scope + storage.type.class.python, storage.type.function.python, storage.modifier.global.python + settings + + fontStyle + + foreground + __GREEN__ + + + + name + Python: import + scope + keyword.control.import.python, keyword.control.import.from.python + settings + + foreground + __ORANGE__ + + + + name + Python: Support.exception + scope + support.type.exception.python + settings + + foreground + __YELLOW__ + + diff --git a/src/rest b/src/rest new file mode 100644 index 0000000..c9b59f5 --- /dev/null +++ b/src/rest @@ -0,0 +1,11 @@ + + name + reST raw + scope + text.restructuredtext markup.raw + settings + + foreground + __CYAN__ + + diff --git a/src/ruby b/src/ruby new file mode 100644 index 0000000..4043b08 --- /dev/null +++ b/src/ruby @@ -0,0 +1,216 @@ + + name + Ruby: Variable definition + scope + punctuation.definition.variable.ruby + settings + + fontStyle + + foreground + __BLUE__ + + + + name + Ruby: Function Name + scope + meta.function.method.with-arguments.ruby + settings + + foreground + __BASE00__ + + + + name + Ruby: Variable + scope + variable.language.ruby + settings + + foreground + __CYAN__ + + + + name + Ruby: Function + scope + entity.name.function.ruby + settings + + foreground + __BLUE__ + + + + name + Ruby: Keyword Control + scope + keyword.control.ruby, keyword.control.def.ruby + settings + + fontStyle + bold + foreground + __GREEN__ + + + + name + Ruby: Class + scope + keyword.control.class.ruby, meta.class.ruby + settings + + foreground + __GREEN__ + + + + name + Ruby: Class Name + scope + entity.name.type.class.ruby + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + Ruby: Keyword + scope + keyword.control.ruby + settings + + fontStyle + + foreground + __GREEN__ + + + + name + Ruby: Support Class + scope + support.class.ruby + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + Ruby: Special Method + scope + keyword.other.special-method.ruby + settings + + foreground + __GREEN__ + + + + name + Ruby: Constant + scope + constant.language.ruby, constant.numeric.ruby + settings + + foreground + __CYAN__ + + + + name + Ruby: Constant Other + scope + variable.other.constant.ruby + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + Ruby: :symbol + scope + constant.other.symbol.ruby + settings + + fontStyle + + foreground + __CYAN__ + + + + name + Ruby: Punctuation Section '' + scope + punctuation.section.embedded.ruby, punctuation.definition.string.begin.ruby, punctuation.definition.string.end.ruby + settings + + foreground + __RED__ + + + + name + Ruby: Special Method + scope + keyword.other.special-method.ruby + settings + + foreground + __ORANGE__ + + + + name + PHP: Include + scope + keyword.control.import.include.php + settings + + foreground + __ORANGE__ + + + + name + Ruby: erb = + scope + text.html.ruby meta.tag.inline.any.html + settings + + fontStyle + + foreground + __BASE0__ + + + + name + Ruby: erb "" + scope + text.html.ruby punctuation.definition.string.begin, text.html.ruby punctuation.definition.string.end + settings + + fontStyle + + foreground + __CYAN__ + + diff --git a/src/shell b/src/shell new file mode 100644 index 0000000..32996cd --- /dev/null +++ b/src/shell @@ -0,0 +1,98 @@ + + name + Shell: builtin + scope + support.function.builtin.shell + settings + + foreground + __GREEN__ + + + + name + Shell: variable + scope + variable.other.normal.shell + settings + + foreground + __ORANGE__ + + + + name + Shell: DOT_FILES + scope + source.shell + settings + + fontStyle + + foreground + __BLUE__ + + + + name + Shell: meta scope in loop + scope + meta.scope.for-in-loop.shell, variable.other.loop.shell + settings + + fontStyle + + foreground + __BASE01__ + + + + name + Shell: "" + scope + punctuation.definition.string.end.shell, punctuation.definition.string.begin.shell + settings + + fontStyle + + foreground + __GREEN__ + + + + name + Shell: Meta Block + scope + meta.scope.case-block.shell, meta.scope.case-body.shell + settings + + fontStyle + + foreground + __BASE01__ + + + + name + Shell: [] + scope + punctuation.definition.logical-expression.shell + settings + + fontStyle + + foreground + __RED__ + + + + name + Shell: Comment + scope + comment.line.number-sign.shell + settings + + fontStyle + italic + + diff --git a/src/sublimelinter b/src/sublimelinter new file mode 100644 index 0000000..3ad6a1b --- /dev/null +++ b/src/sublimelinter @@ -0,0 +1,85 @@ + + name + SublimeLinter Annotations + scope + sublimelinter.notes + settings + + background + __BASE2__ + foreground + __BASE2__ + + + + name + SublimeLinter Error Outline + scope + sublimelinter.outline.illegal + settings + + background + __BASE1__ + foreground + __BASE1__ + + + + name + SublimeLinter Error Underline + scope + sublimelinter.underline.illegal + settings + + background + __RED__ + + + + name + SublimeLinter Warning Outline + scope + sublimelinter.outline.warning + settings + + background + __BASE0__ + foreground + __BASE0__ + + + + name + SublimeLinter Warning Underline + scope + sublimelinter.underline.warning + settings + + background + __YELLOW__ + + + + name + SublimeLinter Violation Outline + scope + sublimelinter.outline.violation + settings + + background + __BASE00__ + foreground + __BASE00__ + + + + name + SublimeLinter Violation Underline + scope + sublimelinter.underline.violation + settings + + background + __ORANGE__ + + diff --git a/src/tex b/src/tex new file mode 100644 index 0000000..4c333ea --- /dev/null +++ b/src/tex @@ -0,0 +1,193 @@ + + name + Tex: {} + scope + punctuation.section.group.tex , punctuation.definition.arguments.begin.latex, punctuation.definition.arguments.end.latex, punctuation.definition.arguments.latex + settings + + fontStyle + + foreground + __RED__ + + + + name + Tex: {text} + scope + meta.group.braces.tex + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + Tex: Other Math + scope + string.other.math.tex + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + Tex: {var} + scope + variable.parameter.function.latex + settings + + fontStyle + + foreground + __ORANGE__ + + + + name + Tex: Math \\ + scope + punctuation.definition.constant.math.tex + settings + + fontStyle + + foreground + __RED__ + + + + name + Tex: Constant Math + scope + text.tex.latex constant.other.math.tex, constant.other.general.math.tex, constant.other.general.math.tex, constant.character.math.tex + settings + + fontStyle + + foreground + __CYAN__ + + + + name + Tex: Other Math String + scope + string.other.math.tex + settings + + fontStyle + + foreground + __YELLOW__ + + + + name + Tex: $ + scope + punctuation.definition.string.begin.tex, punctuation.definition.string.end.tex + settings + + fontStyle + + foreground + __RED__ + + + + name + Tex: \label + scope + keyword.control.label.latex, text.tex.latex constant.other.general.math.tex + settings + + fontStyle + + foreground + __CYAN__ + + + + name + Tex: \label { } + scope + variable.parameter.definition.label.latex + settings + + fontStyle + + foreground + __RED__ + + + + name + Tex: Function + scope + support.function.be.latex + settings + + fontStyle + + foreground + __GREEN__ + + + + name + Tex: Support Function Section + scope + support.function.section.latex + settings + + fontStyle + + foreground + __ORANGE__ + + + + name + Tex: Support Function + scope + support.function.general.tex + settings + + fontStyle + + foreground + __CYAN__ + + + + name + Tex: Comment + scope + punctuation.definition.comment.tex, comment.line.percentage.tex + settings + + fontStyle + italic + + + + name + Tex: Reference Label + scope + keyword.control.ref.latex + settings + + fontStyle + + foreground + __CYAN__ + + diff --git a/src/text b/src/text new file mode 100644 index 0000000..222e61b --- /dev/null +++ b/src/text @@ -0,0 +1,11 @@ + + name + text plain + scope + text.plain + settings + + foreground + __CYAN__ + +