fawni / dracula

🧛🏻‍♂️ Dark theme for discord based on dracula
ISC License
46 stars 83 forks source link

Vignette on hover #11

Closed ItzSylex closed 3 years ago

ItzSylex commented 3 years ago

Hey, so I am trying to figure out if its possible to disable a vignette that shows up whenever u hover over the screenshare section of a call

Here's what im talking about

This is without hovering unknown

And this with hover

unknown (1)

This looks like a box-shadow, not sure if theres a way to remove it or change the color, if so, please let me know

fawni commented 3 years ago

that's comes from discord. it's black by default so theme changes its color to match the background color, except it doesn't look like the background color is correct in your screenshots. if i'm looking at the right thing this is what it should look like (with hover): scrot are you using a different theme with dracula maybe?

if you want to remove the vintage you can either:

  1. put .gradientContainer-10lXLB {background: transparent !important;} in the quick/custom css section of your client mod
  2. replace line 776 to line 792 with the code snippet above if you want to use your own fork

if you want to change its color either:

  1. copy the same lines, change the initial 3 values of each line prefixed with 'rgba' to whichever rgb color you want, and paste it in quick/custom css
  2. directly replace the colors in the theme file if you want to use your fork
ItzSylex commented 3 years ago

Thanks for the quick reply .gradientContainer-10lXLB {background: transparent !important;} is exactly what I was looking for, thanks!

ItzSylex commented 3 years ago

Looks like the vignette also shows up in the video reproducer

image

How would you go about turning it off there as well?

fawni commented 3 years ago

.metadata-13NcHb {background: transparent !important;} same as above

ItzSylex commented 3 years ago

Thanks again 🎉