From a9da28e256ae42324499dfac722c40ccede15e9e Mon Sep 17 00:00:00 2001
From: George <31376482+george-gca@users.noreply.github.com>
Date: Thu, 12 Dec 2024 12:45:04 -0300
Subject: [PATCH] Renamed `repo-img-` to `only-` to allow setting images for
only one theme (#2886)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Closes #930.
We already had classes for this kind of feature, but it was used
specifically for repository information. Just renamed the classes so it
is clear how they can be used.
To use them with markdown, just do it like this:
```markdown
{: .only-light}
{: .only-dark}
```
and with html:
```html
```
Signed-off-by: George Araújo
---
_includes/repository/repo.liquid | 4 ++--
_includes/repository/repo_trophies.liquid | 12 ++++++------
_includes/repository/repo_user.liquid | 4 ++--
_sass/_themes.scss | 10 ++++++----
4 files changed, 16 insertions(+), 14 deletions(-)
diff --git a/_includes/repository/repo.liquid b/_includes/repository/repo.liquid
index c9837bb..0f1afd4 100644
--- a/_includes/repository/repo.liquid
+++ b/_includes/repository/repo.liquid
@@ -14,12 +14,12 @@