bus-stop / Termination

Integrated terminal for Atom. Looks like terminal-plus, acts like your native terminal (except every other Friday). Looking for collaborators! :-)
https://atom.io/packages/termination
MIT License
86 stars 7 forks source link

[Q] How to change colors in atom termination terminal. #110

Open pisulski opened 4 years ago

pisulski commented 4 years ago

xxx@xxx:~/.atom/packages/termination/styles$ Please help me to do it. I want to change color for path line in terminal. Similar function to platformio-ide-terminal.

Regards

Mi-la-la commented 3 years ago

I had the same question, and you're the only person I found online who was asking for this. I couldn't find any answers, so I set about working it out and eventually found the following steps to be successful. I use the Homebrew theme.

The-joker below suggested editing the style.less sheet rather than my initial suggestion of editing the homebrew.less file directly, so the answer is revised.

The first two steps here worked on MacOS:

I still can't make the above work with the Windows 10, so have left the rest of the directions for W10 here for the time being.

Let me know how this works out for you, @pisulski.

PS Easy RGB to Hex Converter: https://duckduckgo.com/?q=rgb+to+hex&ia=answer

PS the-joker below has suggested using Terminus, which does't really answer the original question but may well be a reasonable option for the original poster. Termination still has over 64k installs vs the 24k for Terminus, so I reckon this message is still worth leaving here in case anyone else is interested in how to do this.

the-j0k3r commented 3 years ago

The solution is never to actually edit any source files, any such edits are unsupported and will be lost on next update, the solution is always to use style.less in Atom, the same as described in the projects readme https://github.com/bus-stop/Termination#themes

this works on all supported platforms.

Mi-la-la commented 3 years ago

Thank you, this is very useful advice.

I have successfully added the code which overrides the /styles/themes/homebrew.less settings. I will update the original post to reflect this way of doing things.

Still, I can't work out how to override the /lib/themes/homebrew.coffee setting which is needed to make the colour change work in Windows 10 - any advice you have on this would be really welcome!

the-j0k3r commented 3 years ago

Idk if termination refreshes the styles automatically, you may need to close any open terminals and reopen to see the change,

I dont use termination but I know it works in terminus/x-terminal just fine automatically.

Fred-Barclay commented 3 years ago

Styles are refreshed automatically, but sometimes some old bits are left behind so it's usually cleanest to just close and reopen the terminals.