social links coloring svgs
[gitweb-theme-danix.git] / gitweb-danixland / gitweb.css
index 11dd78d..18f9446 100644 (file)
@@ -66,9 +66,13 @@ a { outline: none; }
   --opml-icon:url("opml-dark.svg");
 /* social colors */
   --twitter: #1DA1F2;
+  --twitter-filter: 'invert(58%) sepia(29%) saturate(5279%) hue-rotate(176deg) brightness(96%) contrast(99%)';
   --instagram: #E4405F;
-  --spotify: ##1ed760;
+  --instagram-filter: 'invert(40%) sepia(71%) saturate(3199%) hue-rotate(325deg) brightness(92%) contrast(94%)';
+  --spotify: #1ed760;
+  --spotify-filter: 'invert(80%) sepia(16%) saturate(3018%) hue-rotate(79deg) brightness(90%) contrast(86%)';
   --github: #6e5494;
+  --github-filter: 'invert(34%) sepia(20%) saturate(1263%) hue-rotate(222deg) brightness(96%) contrast(84%)';
 }
 @media screen and (prefers-color-scheme: dark) {
   :root {
@@ -268,15 +272,27 @@ td, th {
 .social-links ul li.spotify a {
   color: var(--spotify);
 }
+.social-links ul li.spotify a img.img-spotify {
+  filter: var(--spotify-filter);
+}
 .social-links ul li.twitter a {
   color: var(--twitter);
 }
+.social-links ul li.twitter a img.img-twitter {
+  filter: var(--twitter-filter);
+}
 .social-links ul li.instagram a {
   color: var(--instagram);
 }
+.social-links ul li.instagram a img.img-instagram {
+  filter: var(--instagram-filter);
+}
 .social-links ul li.github a {
   color: var(--github);
 }
+.social-links ul li.github a img.img-github {
+  filter: var(--github-filter);
+}
 
 a.rss_logo {
   border: 0;