Coder Social home page Coder Social logo

Comments (2)

simurai avatar simurai commented on July 28, 2024 1

@isidorn thanks for raising this issue.. 🙇

Selection + focus are stronger than just selection and thus the color should be stronger, not lighter.

Hmmm.. yeah, this seems tricky to fix. I couldn't find a way to change the "selected, but unfocused" color. 🤔 It seems that it gets automatically darkened by 10% based on the list.activeSelectionBackground color. I assume that works ok for dark themes, but not really for light themes that use a selection color that is slightly darker than the background.

An option would be to make the list.focusBackground color even darker than the darken(listActiveSelectionBackground, 0.1). But that feels a bit too dark:

selection

Or something like white text on a blue background, but it's still a bit odd that when the focus moves away from the selection that it becomes "stronger" (darker).

selection-invert

Would it be possible if VS Code would use darken() for dark themes and lighten() for light themes?

Or add a list.focusAndSelectionBackground token? But that's probably a lot more work. 😬

from github-vscode-theme.

simurai avatar simurai commented on July 28, 2024 1

This should be improved by now:

Screen.Recording.2022-07-15.at.14.14.30.mov

from github-vscode-theme.

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.