Fix the theming of the share menu logos for the system, black and dracula themes (#2329)

This commit is contained in:
absidue 2022-06-19 23:19:52 +02:00 committed by GitHub
parent f4aff3964b
commit 809274182c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,10 +29,15 @@
width: auto
@at-root
.dark &
.dark &, .system[data-system-theme*='dark'] &
filter: brightness(0.868)
.light &
.black &
filter: brightness(0.933)
/* no changes for the dracula theme */
.light &, .system[data-system-theme*='light'] &
filter: invert(0.87)
.invidious
@ -48,8 +53,11 @@
margin-right: 2px
@at-root
.dark &
.dark &,
.black &,
.dracula &,
.system[data-system-theme*='dark'] &
background-image: url(~../../assets/img/invidious-logo-dark.svg)
.light &
.light &, .system[data-system-theme*='light'] &
background-image: url(~../../assets/img/invidious-logo-light.svg)