Theme-based images #12
-
Is there a class exposed for something like this? I'm having trouble finding it if so, and the docs could maybe have it added. .. image:: https://raw.githubusercontent.com/litestar-org/branding/473f54621e55cde9acbb6fcab7fc03036173eb3d/assets/Branding%20-%20SVG%20-%20Transparent/Logo%20-%20Banner%20-%20Inline%20-%20Light.svg#gh-light-mode-only
:align: center
:class: only-light
.. image:: https://raw.githubusercontent.com/litestar-org/branding/473f54621e55cde9acbb6fcab7fc03036173eb3d/assets/Branding%20-%20SVG%20-%20Transparent/Logo%20-%20Banner%20-%20Inline%20-%20Dark.svg#gh-dark-mode-only
:align: center
:class: only-dark |
Beta Was this translation helpful? Give feedback.
Answered by
lepture
Oct 9, 2023
Replies: 2 comments
-
Currently no such class. We can add this class into the theme, but for now, you can get your job done with custom CSS. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JacobCoffee
-
@JacobCoffee I've added |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently no such class. We can add this class into the theme, but for now, you can get your job done with custom CSS.