Yummygum / city-lights-sublime

44 stars 2 forks source link

Invisible scroll puck on scroll bars #15

Open oelna opened 3 years ago

oelna commented 3 years ago

Hi, I don't know whether I'm doing something wrong, but ever since I installed the City Lights theme, the handles of the scroll bars have been invisible. I checked City-Lights.sublime-theme and sure enough, the scroll bar has the same color as the scroll puck! That doesn't make any sense.

For my installation I added a rule to the user prefs of the theme, to make the puck the color #718CA1, which comes up in City-Lights.tmTheme a lot and changed opacity to 0.5, to make it less prominent. I think looks decent. Subtle, but still visible. In case anybody else wants to try their luck at this, I'm posting my code here.

your-ST3-dir/Packages/User/City-Lights.sublime-theme

// Documentation at https://www.sublimetext.com/docs/themes.html
{
    "variables":
    {
    },
    "rules":
    [
        // Standard vertical scroll puck
        {
            "class": "puck_control",
            "layer0.tint": [113, 140, 161],
            "layer0.opacity": 0.5
        }
    ]
}

I briefly considered using the color specified for overlay light puck (dark content) but found it too dim for my taste.

Maybe something was wrong with my installation, or maybe this is indeed a problem with the theme (I think most people like having scroll bar handles visible), but I'm glad I found a way to fix it.

lirena00 commented 2 years ago

@oelna this is the issue with me too ty for telling how to fix this