Skip to content

Commit

Permalink
backwards compatibility
Browse files Browse the repository at this point in the history
changed key in 8648966, didnt realize that others would still have old key
+ added prettier ignore
  • Loading branch information
Metro420yt committed Sep 22, 2024
1 parent 2684060 commit 3118123
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion betterdiscord/comfy.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
--online: #43b581;

/* Idle - Default value : #FAA61A */
--iddle: #faa61a;
--idle: #faa61a;

/* Do Not Disturb - Default value : #F04747 */
--dnd: #f04747;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions stuff/_channel-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion stuff/_other.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
fill: var(--online);
}
&[fill="#f0b232"] {
fill: var(--idle);
fill: var(--idle, var(--iddle)); //backwards compatibility
}
&[fill="#f23f43"] {
fill: var(--dnd);
Expand Down
1 change: 1 addition & 0 deletions stuff/_server-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3118123

Please sign in to comment.