Skip to content

Commit c10f115

Browse files
authored
fix: background color in lightbox image container doesn't match light/dark mode
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
1 parent e01d32c commit c10f115

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

dist/assets/stylesheets/modern/main.1e981d71.min.css renamed to dist/assets/stylesheets/modern/main.fba56155.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{% endblock %}
4848
{% block styles %}
4949
{% if config.theme.variant == "modern" %}
50-
{% set href = 'assets/stylesheets/modern/main.1e981d71.min.css' | url %}
50+
{% set href = 'assets/stylesheets/modern/main.fba56155.min.css' | url %}
5151
{% else %}
5252
{% set href = 'assets/stylesheets/classic/main.a2001754.min.css' | url %}
5353
{% endif %}

src/assets/stylesheets/modern/main/extensions/_glightbox.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ html.glightbox-open {
3636
// GLightbox
3737
html .gslide {
3838

39+
// Image background
40+
.gslide-image img {
41+
background: var(--md-default-bg-color);
42+
}
43+
3944
// Description background
4045
.gslide-description {
4146
background: var(--md-default-bg-color);

0 commit comments

Comments
 (0)