Skip to content

Different images for light and dark modes #131

Closed Answered by pradyunsg
kjelljorner asked this question in Ideas
Discussion options

You must be logged in to vote

You can set the "only-dark" and "only-light" classes on those images:

.. image:: https://source.unsplash.com/200x200/daily?cute+dogs
   :align: center
   :class: only-light

.. image:: https://source.unsplash.com/200x200/daily?cute+cats
   :align: center
   :class: only-dark

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pradyunsg
Comment options

@gumityolcu
Comment options

Answer selected by kjelljorner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants