Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 3.03 KB

README.md

File metadata and controls

88 lines (61 loc) · 3.03 KB

Discord Website NPM Version

Srcery TextMate Theme

Description

Srcery TextMate theme. srcery-vim remains the visual reference; this repository is the canonical TextMate representation for downstream consumers such as srcery-vscode. It can be used anywhere that supports tmTheme.

Downstream consumers

Use srcery.tmTheme as the source for any TextMate-based integration. A downstream consumer should vendor or synchronize the file rather than duplicate its token rules, so fixes and deliberate grammar workarounds land consistently. Consumers with a different scope model, such as tree-sitter-based themes, should map the same visual intent rather than copy TextMate selectors verbatim.

Preview

Javascript

javascript

CSS

css

Usage with bat

bat finds themes anywhere inside its themes folder, so you can clone this repo straight into it:

git clone https://github.com/srcery-colors/srcery-textmate "$(bat --config-dir)/themes/srcery"
bat cache --build

Try it:

bat --theme=srcery README.md

To make it the default, add --theme=srcery to your bat config file (bat --config-file shows where it is), or set BAT_THEME=srcery in your shell.

To update later:

git -C "$(bat --config-dir)/themes/srcery" pull
bat cache --build

Textastic

textastic preview

The theme works great with Textastic.

Follow the official guide on how to add the theme.

Theme Editor

Created with TmTheme Editor.

Contributing

See CONTRIBUTING.md.

License

MIT