From c3577bd49f92f46fdc76b4aa6f0c9e85b68ebf20 Mon Sep 17 00:00:00 2001 From: Kami Date: Tue, 16 Jul 2024 21:43:08 +1000 Subject: [PATCH] Version 3.0.6.2 --- README.md | 17 +++++++++++++++-- SpotOn/css/colors.css | 24 ++++++++++++------------ SpotOn/css/settings.css | 17 +---------------- SpotOn/manifest.json | 2 +- SpotOn/options/addLyrics.js | 3 ++- SpotOn/options/featInDev.js | 9 ++++++++- SpotOn/settings.html | 14 +++++++++++++- 7 files changed, 52 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 393519f..c1a138b 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,21 @@ Today, on March 18, 2024, this repository has undergone a significant update. Ev
Whats new! +## Changelog - 16/7/2024 + +### Version 3.0.6.2 + +This update is pretty small, so no massive version jump. + +- Added a donation button +- Changed theme `Freya` to `Vesper` +- Added a function to remove open in app popup (in dev) +- Some minor CSS fixes + +I've noticed that in Spotify, the `Seek Forwards` & `Seek Backwards` commands are broken. This is actually an issue with Spotify, and I cannot fix it. So, until Spotify releases a fix, it will sadly remain broken. + +--- + ## Changelog - 13/6/2024 ### Version 3.0.6.1 @@ -75,8 +90,6 @@ Today, on March 18, 2024, this repository has undergone a significant update. Ev - Addressed pathing issues with the `font-face` directive - Implemented various miscellaneous fixes ---- - ## Changelog - 26/5/2024 ### Version 3.0.6.0 diff --git a/SpotOn/css/colors.css b/SpotOn/css/colors.css index ebf3505..291880c 100644 --- a/SpotOn/css/colors.css +++ b/SpotOn/css/colors.css @@ -42,22 +42,22 @@ --shadow: #d1d1d6; } -[data-theme="freya"] { - --background: #2b2b2b; - --second-background: #414449; - --text: #d6e3f0; - --icons: #cc7832; - --text-color: #5e768f; - --highlight: #6897bb; - --border-color: #515658; - --shadow: #383b3d; - --feat-text: #6a8759; - --box-text: #dedede; +[data-theme="vesper"] { + --background: #5D5D5D; + --second-background: #474747; + --text: #E0E0E2; + --icons: #B1B1B3; + --text-color: #FFFFFF; + --highlight: #8A2BE2; + --border-color: #666666; + --shadow: #3C3C3C; + --feat-text: #9e9ea4; + --box-text: #d1d1d6; } [data-theme="dark"], [data-theme="grey"], -[data-theme="freya"], +[data-theme="vesper"], [data-theme="light"] { --feat-text: #9e9ea4; --box-text: #d1d1d6; diff --git a/SpotOn/css/settings.css b/SpotOn/css/settings.css index 8d39025..9776603 100644 --- a/SpotOn/css/settings.css +++ b/SpotOn/css/settings.css @@ -1,22 +1,6 @@ @import "colors.css"; @import "toggle.css"; -/* @font-face { - font-family: 'Open Runde'; - src: url('https://raw.githubusercontent.com/lauridskern/open-runde/main/src/web/OpenRunde-Regular.woff') format('woff'), - url('https://raw.githubusercontent.com/lauridskern/open-runde/main/src/web/OpenRunde-Regular.woff2') format('woff2'); - font-weight: 400; - font-style: normal; - font-display: swap; -} - -* { - font-family: 'Open Runde', sans-serif; - outline: none; -} */ - -/* Font face for now will be commented out until i find a nicer one :smile: */ - body { min-width: 372px; min-height: 600px; @@ -77,6 +61,7 @@ h1, .truncate, span, div, +a, text { color: var(--text); } diff --git a/SpotOn/manifest.json b/SpotOn/manifest.json index 2a6950c..2e2f200 100755 --- a/SpotOn/manifest.json +++ b/SpotOn/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "SpotOn", - "version": "3.0.6.1", + "version": "3.0.6.2", "description": "Upgrade your Spotify Web Player with SpotOn, and enjoy a completely customizable UX/UI redesign!", "author": "Kami", "homepage_url": "https://github.com/senpaihunters/spoton", diff --git a/SpotOn/options/addLyrics.js b/SpotOn/options/addLyrics.js index 583c53f..ee2dfc8 100644 --- a/SpotOn/options/addLyrics.js +++ b/SpotOn/options/addLyrics.js @@ -240,7 +240,8 @@ function getCSS(das) { div.contentSpacing, div.os-padding>div>div>div.main-view-container__scroll-node-child>div>div, div.os-padding>div>div>div.main-view-container__scroll-node-child>main>div>nav, - div.os-padding>div>div>div.main-view-container__scroll-node-child>main>section>div>div>div:nth-child(3)>section:nth-child(2)>div:nth-child(2)>div { + div.os-padding>div>div>div.main-view-container__scroll-node-child>main>section>div>div>div:nth-child(3)>section:nth-child(2)>div:nth-child(2)>div, + .Xf30G8NSPQ3pex0iD4zB { background: 0 0 !important; } diff --git a/SpotOn/options/featInDev.js b/SpotOn/options/featInDev.js index bd75e6e..66f33b7 100644 --- a/SpotOn/options/featInDev.js +++ b/SpotOn/options/featInDev.js @@ -1 +1,8 @@ -console.log("%cSpotOn Started", "font-size: 40px; padding-bottom: 3px; color: white; text-shadow: -1px -1px #2e51a2, 1px -1px #2e51a2, -1px 1px #2e51a2, 1px 1px #2e51a2, 2px 2px #2e51a2, 3px 3px #2e51a2;"); +// console.log("%cSpotOn Started", "font-size: 40px; padding-bottom: 3px; color: white; text-shadow: -1px -1px #2e51a2, 1px -1px #2e51a2, -1px 1px #2e51a2, 1px 1px #2e51a2, 2px 2px #2e51a2, 3px 3px #2e51a2;"); +(function () { + "use strict"; + try { + const config = JSON.parse(document.getElementById("urlSchemeConfig").innerHTML); + window.location.replace(config.redirectUrl); + } catch (err) { } // no urlSchemeConfig, nothing to do +})(); diff --git a/SpotOn/settings.html b/SpotOn/settings.html index 597b21f..b8916fc 100644 --- a/SpotOn/settings.html +++ b/SpotOn/settings.html @@ -61,6 +61,7 @@

Features

+

Import / Export

@@ -100,7 +101,9 @@

Importing Your Settings

+
+

Extension Theme

@@ -109,9 +112,18 @@

Importing Your Settings

- +
+ +
+ +
+ +

Donate

+
+