KatsuteDev / Background

The most advanced background image extension for VSCode
https://marketplace.visualstudio.com/items?itemName=katsute.code-background
GNU General Public License v2.0
81 stars 5 forks source link

Opacity changes the editor text as well #313

Closed linmar22 closed 4 months ago

linmar22 commented 5 months ago

Operating System

win32 10.0.19045

VSCode Version

1.88.0

Extension Version

2.10.2

Settings

{
    "windowBackgrounds": [],
    "editorBackgrounds": [
        "c:/Users/redacted/Pictures/DarkWallpapers/**"
    ],
    "sidebarBackgrounds": [],
    "panelBackgrounds": [],
    "backgroundAlignment": [
        "Center Center",
        "Center Center",
        "Center Center",
        "Center Center"
    ],
    "backgroundAlignmentValue": [
        "50%",
        "50%",
        "50%",
        "50%"
    ],
    "backgroundBlur": [
        "0",
        "0",
        "0",
        "0"
    ],
    "backgroundOpacity": [
        0.9,
        0.7,
        0.9,
        0.9
    ],
    "backgroundRepeat": [
        "No Repeat",
        "No Repeat",
        "No Repeat",
        "No Repeat"
    ],
    "backgroundSize": [
        "Cover",
        "Cover",
        "Cover",
        "Cover"
    ],
    "backgroundSizeValue": [
        "100%",
        "100%",
        "100%",
        "100%"
    ],
    "backgroundChangeTime": [
        0,
        0,
        0,
        0
    ],
    "autoInstall": false,
    "useWindowOptionsForAllBackgrounds": false,
    "renderContentAboveBackground": false,
    "smoothImageRendering": false,
    "CSS": ""
}

Issue

Basically changing the background opacity also changes the opacity of the text, making it hard to read.

image

How to replicate

This is a fresh install, not sure about steps to reproduce.

Katsute commented 5 months ago

This is intended behavior, this extension works by applying a background behind the editor, then lowers the content opacity so we can actually see the background.

Set a higher opacity to increase the visibility of the content.

linmar22 commented 5 months ago

Any way to make the image less visible (transitioning to the vanilla VSC dark grey), while keeping the content at 100%?

Katsute commented 5 months ago

The renderContentAboveBackground option might have what you are looking for.

kdevbot[bot] commented 5 months ago

This issue has been marked as stale due to inactivity.

kdevbot[bot] commented 4 months ago

This issue has been closed due to inactivity.