Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invisible scroll puck on scroll bars #15

Open
oelna opened this issue Aug 6, 2021 · 1 comment
Open

Invisible scroll puck on scroll bars #15

oelna opened this issue Aug 6, 2021 · 1 comment

Comments

@oelna
Copy link

oelna commented Aug 6, 2021

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants