Code Monkey home page Code Monkey logo

Comments (3)

nekowinston avatar nekowinston commented on June 2, 2024

Hi there, thanks for your issue!

I think it makes sense to support some plugins with >1M installs, so I'll definitely add that one.

And also: (had to use custom hex codes for these)

The latest update added helper functions, so you can actually let the theme generate them for each flavour! Works like this:

    "catppuccin.customUIColors": {
        "all": {
            "errorLens.errorBackground": "red 0.15",
            "errorLens.warningForeground": "peach 0.15",
            "errorLens.hintForeground": "teal 0.15",
        },
    }

See Use palette colours on workbench elements for the docs!

from vscode.

lunaneff avatar lunaneff commented on June 2, 2024

Thanks for the hint about custom opacity! I hadn't noticed that part of the docs when I noticed that UI color overrides were added.

from vscode.

nekowinston avatar nekowinston commented on June 2, 2024

Support added in v2.4.0, which also adds a framework for more extensions in future.

I went with blue instead of your teal, since the rest of the info-level messages across the theme are blue as well, for consistency. I had a look at all available highlights Code Lens provides, and styled them as well:

"errorLens.errorBackground": opacity(palette.red, 0.15),
"errorLens.errorMessageBackground": opacity(palette.red, 0.15),
"errorLens.errorBackgroundLight": opacity(palette.red, 0.15),
"errorLens.errorForeground": palette.red,
"errorLens.errorForegroundLight": palette.red,
"errorLens.warningBackground": opacity(palette.peach, 0.15),
"errorLens.warningMessageBackground": opacity(palette.peach, 0.15),
"errorLens.warningBackgroundLight": opacity(palette.peach, 0.15),
"errorLens.warningForeground": palette.peach,
"errorLens.warningForegroundLight": palette.peach,
"errorLens.infoBackground": opacity(palette.blue, 0.15),
"errorLens.infoMessageBackground": opacity(palette.blue, 0.15),
"errorLens.infoBackgroundLight": opacity(palette.blue, 0.15),
"errorLens.infoForeground": palette.blue,
"errorLens.infoForegroundLight": palette.blue,
"errorLens.hintBackground": opacity(palette.green, 0.15),
"errorLens.hintMessageBackground": opacity(palette.green, 0.15),
"errorLens.hintBackgroundLight": opacity(palette.green, 0.15),
"errorLens.hintForeground": palette.green,
"errorLens.hintForegroundLight": palette.green,
"errorLens.statusBarIconErrorForeground": palette.red,
"errorLens.statusBarIconWarningForeground": palette.peach,
"errorLens.statusBarErrorForeground": palette.red,
"errorLens.statusBarWarningForeground": palette.peach,
"errorLens.statusBarInfoForeground": palette.blue,
"errorLens.statusBarHintForeground": palette.green,

Just noticed the filename is wrong, guess that can wait for the next release πŸ˜…

from vscode.

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.