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

Add a shadow to the bottom side of the sticky widget #279

Open
ptsl opened this issue Aug 7, 2023 · 1 comment
Open

Add a shadow to the bottom side of the sticky widget #279

ptsl opened this issue Aug 7, 2023 · 1 comment

Comments

@ptsl
Copy link

ptsl commented Aug 7, 2023

Hello, Ayu Mirage has been my favorite VSCode and Sublime Text theme since I first discovered it.

However, on VSCode, it does not work nicely with Sticky Scroll.

Problem Description

  1. Go to the VSCode menu. Enable View -> Sticky Scroll.

This enables the sticky scroll widget. This widget always shows the current class and method.

  1. Go to Settings (Ctrl+,).
  2. Go to Editor > Sticky Scroll: Default Model.
  3. Try all settings. The last setting (indentationModel) will make the sticky window as tall as possible.

Now, there is no line showing the border between the sticky widget and the rest of the editor. There is nothing to show that some lines of the function definition are missing, save for the gap in line numbers. (Line 54 is followed by Line 65 and then by Line 77.)

Dark:
image

Light:
image

Please, add a shadow to the bottom side of the sticky widget (<div class="sticky-widget">). For your inspiration... I've filed a similar issue to Yi Dark & Yi Light Themes and this is how they fixed it:

Dark:
image

Light:
image

Anyway, I said, this is just for inspiration and there are other solutions. For example, Dark High Contrast theme adds a simple line. Or a different background can be used for the sticky widget, just to give you a few ideas.

@deathaxe
Copy link

deathaxe commented Sep 7, 2024

This repo targets Sublime Text, but not VS Code.

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