polyipseity / obsidian-terminal

Integrate consoles, shells, and terminals inside Obsidian.
GNU Affero General Public License v3.0
154 stars 8 forks source link

[FR] Terminal Theme #39

Open ianTevesAcc opened 6 months ago

ianTevesAcc commented 6 months ago

I'd love a terminal theme to be included in the future.

zanodor commented 6 months ago

+1 Would be nice to blend in the background of my theme. Just a hexa color code in settings would do.

-- Awesome plugin, mate

danieltomasz commented 5 months ago

This plugin is great! yes, in app theme - this would be great! (as start I mean basic dark/light theme also)

or any tutorial how to to change a theme using external system resources: I am on MacOS and I one run it was default dark theme, in other run the terminal picked the theme I am using with Iterm2

polyipseity commented 3 months ago

For themeing, it is possible but no user interface is available for it yet: https://github.com/polyipseity/obsidian-terminal/issues/16#issuecomment-1527965086

Themeing is now supported in the latest version (v3.8.0). It is not so user-friendly right now, however:

  1. Open the profile editing modal.
  2. Click on the Edit button labeled Data. It should open up a new modal in which there is a large textbox.
  3. You should see terminalOptions inside the text area labeled Data.
  4. Refer to the xterm.js documentation to set the options.
  5. Then save the profile and start a new terminal with the new profile.

You can see an example of setting the font in #11.

Not closing this as it would be nice to have an UI interface to expose some of the options.