Comments (5)
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:
- Open Atom, then open styles.less
- On MacOS, go to 'Atom' then 'Stylesheets'
- On Windows, go to 'File' then 'Stylesheets'
- Add in the following lines, and edit the rgb values to the colours you like, then save.
// change Termination theme colours
.termination .homebrew { // change .homebrew to the name of your theme
background-color: rgb(0, 0, 0);
color: rgb(255, 128, 0);
::selection {
background-color: rgba(7, 30, 155, .99);
}
.terminal-cursor {
background-color: rgb(255,128,0);
}
}
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.
- Open Atom settings for Termination, then click 'View Code' (alternatively, navigate to ~/.atom/packages/termination).
- Navigate to folder /lib/themes/homebrew.coffee.
- Edit line 13 from
red: #xxxxxx
tored: '#yyyyyy'
where yyyyyy is the HEX colour code that you would like your text to be. Make sure the # doesn't get missed. - Restart Atom.
- This change will reset with updates.
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.
from termination.
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.
from termination.
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!
from termination.
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.
from termination.
Styles are refreshed automatically, but sometimes some old bits are left behind so it's usually cleanest to just close and reopen the terminals.
from termination.
Related Issues (20)
- Uncaught TypeError: Cannot read property 'stopScrolling' of undefined
- Prevent keys bound in Atom from being captured by xterm.js HOT 2
- [FR] Terminal in folder for foreign files HOT 1
- [FR] Cause Focus to toggle, when terminal closed
- [BR] Printing special characters with Python
- [BR] Command prompt doesn't appear in new terminal until after keypresses
- [BR] Crtl-C for Sigint not working HOT 2
- [FR] : Open terminal at right side instead of bottom HOT 2
- Uncaught Channel closed HOT 2
- [BR] Apm install failed HOT 1
- [BR] Sudo not working HOT 3
- [Q] Is it possible to run "atom" command from termination terminal? HOT 5
- trims the last characters from the bottom if the caret is at the very bottom of the screen HOT 1
- [BR] trims the last characters from the bottom if the caret is at the very bottom of the screen HOT 2
- Gets hang when infinite loop is encountered[BR] HOT 1
- Uncaught Error: Cannot find module './input-dialog'Require stack:- $ATOM_HOME/packages\terminat... HOT 1
- Uncaught Error: Cannot find module '../src/term'Require stack:- $ATOM_HOME/packages\termination... HOT 1
- [Q] atom-space-pen-views
- HTMLDocument.registerElement is deprecated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termination.