CapnKitten / Material-Discord

Material design theme for Discord
343 stars 153 forks source link

Add an option to disable MacOS styled window titlebar buttons #188

Closed coinkillerl closed 1 year ago

coinkillerl commented 1 year ago

Add an option to restore the stock discord window titlebar buttons. image to this image

CapnKitten commented 1 year ago

There's no way to have options with css; you have to override it. Use the code below to do that.

.typeWindows-2-g3UY .winButton-3UMjdg:before, .typeWindows-2-g3UY .winButton-3UMjdg:after {
  display: none;
}
.typeWindows-2-g3UY .winButton-3UMjdg svg {
  display: unset;
}
.typeWindows-2-g3UY .winButtonMinMax-3RsPUg:hover {
  background-color: var(--background-modifier-hover);
}
.typeWindows-2-g3UY .winButtonClose-3Q8ZH5:hover {
  background-color: var(--status-danger);
}