Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

NOTE: This article is 3 years or older so its information may no longer be relevant. Read on at your own discretion! Comments for this article have automatically been locked, refer to the FAQ for more details.
I really like Atom as a text editor for programming (after adding a few essential packages to it). I use it exclusively for the development of my new project, AtariGamer.com in fact. However, one feature of the IDE that has been driving me nuts was the use of extremely thing scroll bars. These scrollbars are around 3px in width and are hard to grab. So, since Atom is very customisable I decided to do something about these malnourished scroll bars!

This is what the scrollbars were looking like before my change...

Changing them was very easy. The required changes were in the Stylesheet (style.less) that Atom uses to render the interface...

I added this to the bottom of the stylesheet...
.scrollbars-visible-always {
::-webkit-scrollbar {
width: 12px;
height: 12px;
&-track {
border: 0px;
border-radius: 0px;
background-color: #444 !important;
&-thumb {
background-color: rgba(255,200,200,0.35) !important;
border: 0px;
border-radius: 9px;

The above changes made the overall thickness of the scroll bars wider, 12px in my case. The height controls the thickness of the horizontal scroll bars and width controls the thickness of the vertical ones. I also made the track stand out more from the rest of the editor. The 'thumb' or the bit of the scrollbar that does the scrolling was also updated to stand out more using a reddish tinge and having a pill shape (via border-radius).

Of course this is all highly customisable and you can pick and choose your own colours, widths and other styles.

This is what it looked like for me after the change...

A huge improvement in terms of usability!

In my case saving the stylesheet automatically applied the changes, but from what I read sometimes it is necessary to switch tabs before changes take effect.

If you have ideas or improvements on the above changes I've made, please share them in the comments.


Skip down to comments...
A quick disclaimer...

Although I put in a great effort into researching all the topics I cover, mistakes can happen. If you spot something out of place, please do let me know.

All content and opinions expressed on this Blog are my own and do not represent the opinions of my employer (Oracle). Use of any information contained in this blog post/article is subject to this disclaimer.
comments powered by Disqus
Other posts you may like...