rose-pine / tm-theme

Soho vibes for TextMate
4 stars 0 forks source link
rose-pine soho-vibes theme

Rosé Pine for TextMate theme compatible apps

All natural pine, faux fur and a bit of soho vibes for the classy minimalist

Description

This repository contains the Rosé Pine theme for TextMate theme compatible apps using the .tmTheme XML format. As such, it should largely work with any without any modifications and was tested with sharkdp/bat in particular.

This theme is a variant of the original Rosé Pine Sublime Text theme by ThatOneCalculator which has since migrated to the .sublime-color-scheme format.

Usage

Example: sharkdp/bat

  1. Create a new themes directory in your bat config directory, usually located at ~/.config/bat/themes, this can quickly be done by running the following commands:

    mkdir -p "$(bat --config-dir)/themes"
    cd "$(bat --config-dir)/themes"
  2. Copy one or more rose-pine{-dawn,-moon}.tmTheme to the new themes directory:

    curl --remote-name-all https://raw.githubusercontent.com/rose-pine/tm-theme/main/dist/themes/rose-pine{,-dawn,-moon}.tmTheme
  3. Now, update the theme cache for bat by running the following command:

    bat cache --build
  4. Finally, add export BAT_THEME="rose-pine" into your shell configuration file, or, run the following command:

    echo '--theme="rose-pine"' >> "$(bat --config-file)"

    Remember to change rose-pine to rose-pine-dawn or rose-pine-moon if you prefer those variants.

Gallery

Rosé Pine with bat

Thanks to

Contributing

Prefer using @rose-pine/build when possible

Modify rose-pine-template.tmTheme using Rosé Pine variables, then build variants:

npx @rose-pine/build@0.8.2 -t src/rose-pine-template.tmTheme -o ./dist/themes -f hex

Generated by @rose-pine/build@0.8.2