From e4141f4f7852d02067b0fd59a3c0a4726da20867 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 27 Nov 2023 19:55:14 +1100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20Spotify=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + assets/css/compiled/main.css | 4 ++++ assets/css/main.css | 5 ++++- assets/icons/spotify.svg | 1 + exampleSite/content/styles.md | 1 + 5 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 assets/icons/spotify.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ea6052..310a672 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Support for X (Twitter) ([#107](https://github.com/jpanther/lynx/pull/107)) +- Support for Spotify ## [1.3.1] - 2023-09-10 diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 950feb6..597f246 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1193,6 +1193,10 @@ video { background: linear-gradient(120deg, #ff8800, #ff3300); } +.link-spotify { + background-color: #1db954; +} + .link-steam { background-color: #000; } diff --git a/assets/css/main.css b/assets/css/main.css index 710b0c1..e0ab178 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -11,7 +11,7 @@ /* Links */ .link { - @apply bg-primary-700 text-white hover:brightness-90; + @apply text-white bg-primary-700 hover:brightness-90; } .link-amazon { @@ -103,6 +103,9 @@ background-color: #ff8800; background: linear-gradient(120deg, #ff8800, #ff3300); } +.link-spotify { + background-color: #1db954; +} .link-steam { background-color: #000; } diff --git a/assets/icons/spotify.svg b/assets/icons/spotify.svg new file mode 100644 index 0000000..e1f123f --- /dev/null +++ b/assets/icons/spotify.svg @@ -0,0 +1 @@ + diff --git a/exampleSite/content/styles.md b/exampleSite/content/styles.md index 8ec8fca..10e3cbd 100644 --- a/exampleSite/content/styles.md +++ b/exampleSite/content/styles.md @@ -35,6 +35,7 @@ These are all the built-in link styles available in Lynx. Don't forget that you {{< link slack >}} {{< link snapchat >}} {{< link soundcloud >}} +{{< link spotify >}} {{< link stack-exchange >}} {{< link stack-overflow >}} {{< link steam >}}