scratch-gui icon indicating copy to clipboard operation
scratch-gui copied to clipboard

[Probably a deliberate design]The comment preview is white in dark mode

Open MFn233 opened this issue 1 year ago • 2 comments

The comment preview is white in light mode: image

However, in dark mode, it's also white: image

I don't know if this was deliberately designed... If so, please let me know Otherwise, fix it please.

I made a user style to fix this.

/*--color-scheme: dark; is dark mode, but idk how to detect it.*/
.sa-comment-preview-inner {
    color: rgb(255, 255, 255);
    background-color: rgb(0 0 0 / 90%);
    filter: drop-shadow(0px 5px 5px rgb(255 255 255 / 20%));
}
@supports (backdrop-filter: blur(16px)) {
    .sa-comment-preview-inner {
        background-color: rgb(0 0 0 / 75%);
        backdrop-filter: blur(16px);
    }
}

...and it worked well on turbowarp.org/editor image

I wanted to send a pull request, but i have no idea where to put the code...(and also i don't exactly know how to send a pull request) and I am somehow weak in english, perhaps there may be content that you can't understand well, but I don't think there will be too much reading barriers

MFn233 avatar May 11 '24 16:05 MFn233

normally addon stuff goes to Scratch Addons to fix but our dark mode works very differently from theirs so this is our problem

GarboMuffin avatar May 11 '24 18:05 GarboMuffin

normally addon stuff goes to Scratch Addons to fix but our dark mode works very differently from theirs so this is our problem

thanks for telling me this.

MFn233 avatar May 12 '24 02:05 MFn233