Skip to content

Commit

Permalink
fix: panels not being themed correctly
Browse files Browse the repository at this point in the history
closes #70
  • Loading branch information
LuckFire committed Feb 9, 2024
1 parent 062ec04 commit 0767da2
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
7 changes: 5 additions & 2 deletions clients/amoled-cord.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name AMOLED-Cord
* @author LuckFire
* @description A basically pitch black theme for Discord. Lights out, baby!
* @version 4.0.13
* @version 4.0.14
* @invite vYdXbEzqDs
* @authorId 399416615742996480
* @source https://github.com/LuckFire/amoled-cord
Expand Down Expand Up @@ -842,6 +842,9 @@ body .contentWrapper-3RqEiS .accordionContainer-vSTU_l {
background-color: transparent;
}

:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .container_ca50b9, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .panel_bd8c76, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .wrapper__0ed4a > div {
:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 {
background-color: var(--background-primary);
}
:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .container_ca50b9, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .panels__58331, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .wrapper__0ed4a > div {
background-color: var(--background-primary);
}
7 changes: 5 additions & 2 deletions clients/amoled-cord.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@name AMOLED-Cord
@author LuckFire
@description A basically pitch black theme for Discord. Lights out, baby!
@version 4.0.13
@version 4.0.14
@namespace https://github.com/discord-extensions/amoled-cord
@license MIT
==/UserStyle== */
Expand Down Expand Up @@ -841,7 +841,10 @@
background-color: transparent;
}

:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .container_ca50b9, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .panel_bd8c76, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .wrapper__0ed4a > div {
:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 {
background-color: var(--background-primary);
}
:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .container_ca50b9, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .panels__58331, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .wrapper__0ed4a > div {
background-color: var(--background-primary);
}
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "amoled-cord",
"version": "4.0.13",
"version": "4.0.14",
"description": "A basically pitch black theme for Discord. Lights out, baby!",
"author": "LuckFire",
"scripts": {
"dev": "theme-scss dev",
"build": "theme-scss build",
"bump": "pnpm version --commit-hooks false --git-tag-version false patch"
"bump:patch": "pnpm version --commit-hooks false --git-tag-version false patch",
"bump:minor": "pnpm version --commit-hooks false --git-tag-version false minor",
"bump:major": "pnpm version --commit-hooks false --git-tag-version false major"
},
"dependencies": {
"theme-scss": "^1.1.2"
Expand Down
5 changes: 4 additions & 1 deletion src/amoled-cord.css
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,9 @@ body .contentWrapper-3RqEiS .accordionContainer-vSTU_l {
background-color: transparent;
}

:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .container_ca50b9, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .panel_bd8c76, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .wrapper__0ed4a > div {
:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 {
background-color: var(--background-primary);
}
:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .container_ca50b9, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .panels__58331, :is(.theme-dark, .theme-midnight) .sidebar_ded4b5 .panels__58331 .wrapper__0ed4a > div {
background-color: var(--background-primary);
}
3 changes: 2 additions & 1 deletion src/theme/sidebar/_user-area.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
:is(.theme-dark, .theme-midnight) .sidebar_ded4b5 {
.panels__58331 {
.container_ca50b9, .panel_bd8c76, .wrapper__0ed4a > div {
background-color: var(--background-primary);
.container_ca50b9, .panels__58331, .wrapper__0ed4a > div {
background-color: var(--background-primary);
}
}
Expand Down

0 comments on commit 0767da2

Please sign in to comment.