Giter Club home page Giter Club logo

Comments (5)

Mi-la-la avatar Mi-la-la commented on June 2, 2024 1

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 to red: '#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-j0k3r avatar the-j0k3r commented on June 2, 2024 1

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.

Mi-la-la avatar Mi-la-la commented on June 2, 2024

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.

the-j0k3r avatar the-j0k3r commented on June 2, 2024

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.

Fred-Barclay avatar Fred-Barclay commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.