✨ feat: add dimmable-image shortcode for dark theme
Reduces contrast and brightness of images when the dark theme is active. Useful when invertable-image is not appropriate (photographs, paintings, colour drawings…)
This commit is contained in:
@@ -78,6 +78,10 @@
|
||||
.invertable-image {
|
||||
filter: invert(.88);
|
||||
}
|
||||
|
||||
.dimmable-image {
|
||||
filter: brightness(.8) contrast(1.2);
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
|
Reference in New Issue
Block a user