Skip to content

ddbrierton/0x96f-theme-for-bat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

0x96f theme for Bat

This is a port of the 0x96f theme for Zed by @filipjanevski that I made primarily for use with Bat, a "cat clone with syntax highlighting and Git integration". I personally use 0x96f as my theme in Zed and Warp (with some minor alterations) and so I wanted to have the same colour scheme in Bat which I use extensively. That said, it is a TextMate theme (as that's what Bat uses), and so presumably is suitable for use with anything else which uses that format. Suggestions for renaming the repo accordingly for better visibility would be welcome.

The initial step to doing this was converting Filip's earlier 0x96f theme for VS Code into TextMate format using @tobiastimm's code-theme-converter. However, that resulted in a number of errors. I've addressed them as best I can and tried to update any older colour choices to the ones found in the Zed theme. However, due to my complete lack of familiarity with the TextMate theme format, I'm certain that improvements could be made. Contributions by PR would be welcome but only if they conform to the original 0x96f Zed theme.

Screenshot

Screenshot

Manual install

  • Copy the 0x96f.tmTheme file from this repo into ~/.config/bat/themes.
  • Run the command bat cache --build.

If you are also using delta then I personally find the following settings complimentary:

git config --global delta.line-numbers-minus-style '#94494a'
git config --global delta.minus-style 'syntax #4c2e31'
git config --global delta.minus-emph-style 'syntax #732628'
git config --global delta.line-numbers-plus-style '#718240'
git config --global delta.plus-style 'syntax #3e432d'
git config --global delta.plus-emph-style 'syntax #607326'

About

A syntax highlighting theme for bat

Topics

Resources

License

Stars

Watchers

Forks