mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 15:56:15 +02:00

Reduces contrast and brightness of images when the dark theme is active. Useful when invertable-image is not appropriate (photographs, paintings, colour drawings…)
1 line
162 B
HTML
1 line
162 B
HTML
<img class="dimmable-image" {% if src %}src={{ src | safe | replace(from="$BASE_URL", to=config.base_url) }} {% endif %} {% if alt %}alt="{{ alt }}"{% endif %}/>
|