mirror of
https://github.com/minetestblog/minetestblog.github.io.git
synced 2025-07-13 17:58:54 +02:00
Invert social icons with theme change.
This commit is contained in:
parent
bb53de7d88
commit
7dea023089
@ -71,6 +71,9 @@ header {
|
||||
}
|
||||
}
|
||||
}
|
||||
li a img {
|
||||
filter: var(--invert-social-logo);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 48rem) {
|
||||
|
@ -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'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user