Invert social icons with theme change.

This commit is contained in:
_Zaizen_ 2022-03-24 11:23:56 +01:00
parent bb53de7d88
commit 7dea023089
2 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,9 @@ header {
}
}
}
li a img {
filter: var(--invert-social-logo);
}
}
@media (max-width: 48rem) {

View File

@ -21,6 +21,7 @@ const LightTheme = {
'--table-header-color': '#fefefe',
'--shadow-color': 'rgba(0, 0, 0, 0.1)',
'--invert-logo-color': 'invert(0)',
'--invert-social-logo': 'invert(0)',
themeName: 'LightTheme'
}
@ -37,6 +38,7 @@ const NightTheme = {
'--table-header-color': '#505050',
'--shadow-color': 'rgba(255, 255, 255, 0.1)',
'--invert-logo-color': 'invert(0)',
'--invert-social-logo': 'invert(100%)',
themeName: 'NightTheme'
}