GithubHelp home page GithubHelp logo

Comments (2)

BeardedBear avatar BeardedBear commented on June 8, 2024 1

Hi !

I've had a look at the problem and I know where it's coming from.

When we create a theme for VSCode we can choose between 4 types of themes, (sets in package.json file) :

  • light (vs)
  • dark (vs-dark)
  • high contrast dark (hc-black)
  • high contrast light (hc-light)

(yes, it's completely inconsistent)

The problem is that hc-light has a lot of inconsistent behaviour, notably the fact that icon packs that specify icons for light themes behave like icons for dark themes, or certain CSS properties aren't applied in the same way (for example, the background of the active item in the activity bar). So I tried to work around the problem by specifying in my package.json that hc-light icons are considered hc-black icons.

This gives me 2 options:

  • I fix the light themes in high contrast with the correct type (hc-light), in which case I end up with visual inconsistencies.
  • I leave it as it is, and create issues in the vscode repository to list the problems they cause, and then I can fix the problem!

My slightly manic side can't resign itself to accepting the first solution, so I'm going to take some time this week to create issues to hopefully fix these inconsistencies in future versions of VSCode!

But thank you very much for pointing out the problem, like my work and for being so precise!

from bearded-theme.

chambliss avatar chambliss commented on June 8, 2024 1

Oh no 😂 I had a feeling it was something like that. It does seem like in general there is less robust support in code editors for light themes (and especially once contrast constraints come into the mix). No worries, I'll continue using my workaround until the situation improves.

Thanks for your quick response!

from bearded-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.