Skip to content

Documentation: Add a few details #3288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nilsrennebarth opened this issue May 9, 2025 · 0 comments
Open

Documentation: Add a few details #3288

nilsrennebarth opened this issue May 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@nilsrennebarth
Copy link

I tried to change bat's default theme to my liking (make header-rules easier to spot) and finally succeeded. Could you add the following items to the documentation? That will make things easier for people that want similar customizations.

  • The file name for theme files in "$(bat --config-dir)/themes" must end with .tmTheme
  • The default theme is either Monokai Extended or Monokai Extended Light, depending on the terminal being recognized as having a light or dark theme
  • The name of a custom theme is taken from the file name, not from its name property.
  • Most of the theme is for syntax coloring for various specific languages, but the settings.settings dict of the theme contains general settings for bat's own use. Among these is the key gutterForeground, which is not set in the default theme because it relies on the hardcoded default value.

Thanks for the great software.

@nilsrennebarth nilsrennebarth added the bug Something isn't working label May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant