diff --git a/src/scss/_image.scss b/src/scss/_image.scss new file mode 100644 index 00000000..bcf0feb4 --- /dev/null +++ b/src/scss/_image.scss @@ -0,0 +1,4 @@ +.yfm[data-theme='light'] img[src$='#dark-mode-only'], +.yfm[data-theme='dark'] img[src$='#light-mode-only'] { + display: none; +} diff --git a/src/scss/base.scss b/src/scss/base.scss index d865c1fc..82e21586 100644 --- a/src/scss/base.scss +++ b/src/scss/base.scss @@ -1,4 +1,5 @@ @import 'common'; @import 'anchor'; @import 'highlight'; +@import 'image'; @import 'code';