From 842daaebf1627084e9248ca5d440520a2fcf9b14 Mon Sep 17 00:00:00 2001 From: danix Date: Sun, 26 Feb 2023 19:34:00 +0100 Subject: [PATCH] colors hardcoded inside the svgs. Ain't nobody got time fo' thatgit add . --- gitweb-danixland/github.svg | 2 +- gitweb-danixland/gitweb.css | 16 ---------------- gitweb-danixland/instagram.svg | 2 +- gitweb-danixland/spotify.svg | 2 +- gitweb-danixland/twitter.svg | 2 +- 5 files changed, 4 insertions(+), 20 deletions(-) diff --git a/gitweb-danixland/github.svg b/gitweb-danixland/github.svg index 881d120..c96ae6e 100644 --- a/gitweb-danixland/github.svg +++ b/gitweb-danixland/github.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 18f9446..3c4f9c4 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -66,13 +66,9 @@ 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; - --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 { @@ -272,27 +268,15 @@ 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; diff --git a/gitweb-danixland/instagram.svg b/gitweb-danixland/instagram.svg index 3c055a6..ee5d30d 100644 --- a/gitweb-danixland/instagram.svg +++ b/gitweb-danixland/instagram.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/gitweb-danixland/spotify.svg b/gitweb-danixland/spotify.svg index 96215fa..8626763 100644 --- a/gitweb-danixland/spotify.svg +++ b/gitweb-danixland/spotify.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/gitweb-danixland/twitter.svg b/gitweb-danixland/twitter.svg index de8387b..2529b86 100644 --- a/gitweb-danixland/twitter.svg +++ b/gitweb-danixland/twitter.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file -- 2.20.1