style: enhance RSS icon for dark theme

This commit is contained in:
gribse 2025-05-22 22:45:03 +02:00
parent 625a2b76ef
commit 521c59c391
2 changed files with 17 additions and 4 deletions

View file

@ -18,10 +18,23 @@
{{- partial "donnees-chargement.html" -}}
{{- print " · "}}
<!-- Lord forgive me for I have sinned -->
<style>
.rss-icon path {
stroke: var(--primary);
}
<a href="/feed.xml">
<svg width="16px" height="16px" stroke-width="2" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" color="#000000"><path d="M12 19C12 14.8 9.2 12 5 12" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M19 19C19 10.6 13.4 5 5 5" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M5 19.01L5.01 18.9989" stroke="#000000" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path></svg>
<span>Flux RSS</span>
.rss-link {
color: var(--primary);
}
</style>
<a href="/feed.xml" class="rss-link">
<svg width="16px" height="16px" stroke-width="2" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" class="rss-icon">
<path d="M12 19C12 14.8 9.2 12 5 12" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M19 19C19 10.6 13.4 5 5 5" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path>
<path d="M5 19.01L5.01 18.9989" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<span>Flux RSS</span>
</a>
{{- print " · "}}