From 3118123e355219299d1a1d504f97f0363310dbbc Mon Sep 17 00:00:00 2001 From: Metro420yt <84623250+Metro420yt@users.noreply.github.com> Date: Sun, 22 Sep 2024 10:34:51 -0400 Subject: [PATCH] backwards compatibility changed key in 8648966b5c3f9c5471c82a59535a695972e2fa21, didnt realize that others would still have old key + added prettier ignore --- betterdiscord/comfy.theme.css | 2 +- package.json | 4 ++-- stuff/_channel-list.scss | 2 ++ stuff/_other.scss | 2 +- stuff/_server-list.scss | 1 + 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/betterdiscord/comfy.theme.css b/betterdiscord/comfy.theme.css index 15fb05b..3688305 100644 --- a/betterdiscord/comfy.theme.css +++ b/betterdiscord/comfy.theme.css @@ -100,7 +100,7 @@ --online: #43b581; /* Idle - Default value : #FAA61A */ - --iddle: #faa61a; + --idle: #faa61a; /* Do Not Disturb - Default value : #F04747 */ --dnd: #f04747; diff --git a/package.json b/package.json index 036c882..a42ac64 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "build": "replugged build theme", "watch": "replugged build theme --watch", "bundle": "replugged bundle theme", - "lint": "prettier ./stuff --check --config .prettierrc", - "lint:fix": "prettier ./stuff --write --config .prettierrc" + "lint": "prettier **/*.scss --check", + "lint:fix": "prettier **/*.scss --write" }, "author": "Nyria", "license": "WTFPL", diff --git a/stuff/_channel-list.scss b/stuff/_channel-list.scss index 4e93662..9e8637a 100644 --- a/stuff/_channel-list.scss +++ b/stuff/_channel-list.scss @@ -253,6 +253,7 @@ background-color: inherit; border-radius: 100%; z-index: -1; + // prettier-ignore animation: var(--disable-animations), 2s pulse infinite; will-change: transform; } @@ -278,6 +279,7 @@ background-color: inherit; border-radius: 100%; z-index: 1; + // prettier-ignore animation: var(--disable-animations), pulse 2s infinite; will-change: transform; } diff --git a/stuff/_other.scss b/stuff/_other.scss index 916763a..77240a7 100644 --- a/stuff/_other.scss +++ b/stuff/_other.scss @@ -157,7 +157,7 @@ fill: var(--online); } &[fill="#f0b232"] { - fill: var(--idle); + fill: var(--idle, var(--iddle)); //backwards compatibility } &[fill="#f23f43"] { fill: var(--dnd); diff --git a/stuff/_server-list.scss b/stuff/_server-list.scss index ef736df..3f5e96b 100644 --- a/stuff/_server-list.scss +++ b/stuff/_server-list.scss @@ -206,6 +206,7 @@ background-color: inherit; border-radius: 100%; z-index: -1; + // prettier-ignore animation: var(--disable-animations), 2s pulse infinite; will-change: transform; }