Skip to content

Commit

Permalink
Merge pull request #101 from FedeIlLeone/main
Browse files Browse the repository at this point in the history
Theme new app launcher and quests discovery
  • Loading branch information
LuckFire authored Aug 21, 2024
2 parents 5b7601f + 674224c commit a96d3ed
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 19 deletions.
37 changes: 32 additions & 5 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.1.4
* @version 4.1.5
* @invite vYdXbEzqDs
* @authorId 399416615742996480
* @source https://github.com/LuckFire/amoled-cord
Expand Down Expand Up @@ -82,7 +82,7 @@ html.theme-dark .theme-light .root_f9a4c9,
--background-floating: var(--primary-830) !important;
--background-message-hover: hsl(var(--white-hsl)/0.015) !important;
--background-mobile-primary: var(--black) !important;
--background-mobile-secondary: var(--primary-860) !important;
--background-mobile-secondary: var(--primary-830) !important;
--background-modifier-accent: hsl(var(--primary-760-hsl)/0.48) !important;
--background-modifier-active: hsl(var(--primary-760-hsl)/0.48) !important;
--background-modifier-hover: hsl(var(--primary-760-hsl)/0.4) !important;
Expand All @@ -92,9 +92,12 @@ html.theme-dark .theme-light .root_f9a4c9,
--background-secondary: var(--primary-830) !important;
--background-secondary-alt: var(--primary-800) !important;
--background-tertiary: var(--primary-860) !important;
--bg-base-primary: var(--black) !important;
--bg-base-secondary: var(--primary-830) !important;
--bg-base-tertiary: var(--primary-860) !important;
--bg-mod-faint: var(--black) !important;
--bg-surface-overlay: var(--primary-830) !important;
--bg-surface-raised: var(--primary-700) !important;
--bg-surface-raised: var(--black) !important;
--button-outline-primary-background: var(--primary-700) !important;
--button-outline-primary-background-active: var(--primary-600) !important;
--button-outline-primary-background-hover: var(--primary-630) !important;
Expand Down Expand Up @@ -209,7 +212,7 @@ html.theme-dark .theme-light .root_f9a4c9,
) !important;
--background-mobile-secondary: color-mix(
in oklab,
var(--primary-860) 100%,
var(--primary-830) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--background-modifier-accent: color-mix(
Expand Down Expand Up @@ -257,6 +260,21 @@ html.theme-dark .theme-light .root_f9a4c9,
var(--primary-860) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--bg-base-primary: color-mix(
in oklab,
var(--black) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-base-secondary: color-mix(
in oklab,
var(--primary-830) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-base-tertiary: color-mix(
in oklab,
var(--primary-860) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-mod-faint: color-mix(
in oklab,
var(--black) 100%,
Expand All @@ -269,7 +287,7 @@ html.theme-dark .theme-light .root_f9a4c9,
) !important;
--bg-surface-raised: color-mix(
in oklab,
var(--primary-700) 100%,
var(--black) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--channeltextarea-background: color-mix(
Expand Down Expand Up @@ -894,6 +912,15 @@ body .contentWrapper-3RqEiS .accordionContainer-vSTU_l {
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .searchBox_d83b4d .searchIcon_f69601, :is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .searchBox_d83b4d .closeIcon_f69601 {
color: var(--interactive-normal);
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .container_a56260, :is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .bannerImage_fc867b {
background-color: var(--background-primary) !important;
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .contentContainer_a56260 {
background: linear-gradient(180deg, hsla(var(--black-hsl)/0.5) 0%, var(--background-primary) 257px) !important;
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .darkThemeGradient_f2bc91 {
background: linear-gradient(0deg, var(--background-secondary-alt) 0%, hsla(var(--primary-800-hsl)/0.95) 20.31%, hsla(var(--primary-800-hsl)/0) 100%);
}

:is(.theme-dark, .theme-midnight) #app-mount .page_d20375 {
background-color: var(--background-primary) !important;
Expand Down
37 changes: 32 additions & 5 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.1.4
@version 4.1.5
@namespace https://github.com/discord-extensions/amoled-cord
@license MIT
==/UserStyle== */
Expand Down Expand Up @@ -81,7 +81,7 @@
--background-floating: var(--primary-830) !important;
--background-message-hover: hsl(var(--white-hsl)/0.015) !important;
--background-mobile-primary: var(--black) !important;
--background-mobile-secondary: var(--primary-860) !important;
--background-mobile-secondary: var(--primary-830) !important;
--background-modifier-accent: hsl(var(--primary-760-hsl)/0.48) !important;
--background-modifier-active: hsl(var(--primary-760-hsl)/0.48) !important;
--background-modifier-hover: hsl(var(--primary-760-hsl)/0.4) !important;
Expand All @@ -91,9 +91,12 @@
--background-secondary: var(--primary-830) !important;
--background-secondary-alt: var(--primary-800) !important;
--background-tertiary: var(--primary-860) !important;
--bg-base-primary: var(--black) !important;
--bg-base-secondary: var(--primary-830) !important;
--bg-base-tertiary: var(--primary-860) !important;
--bg-mod-faint: var(--black) !important;
--bg-surface-overlay: var(--primary-830) !important;
--bg-surface-raised: var(--primary-700) !important;
--bg-surface-raised: var(--black) !important;
--button-outline-primary-background: var(--primary-700) !important;
--button-outline-primary-background-active: var(--primary-600) !important;
--button-outline-primary-background-hover: var(--primary-630) !important;
Expand Down Expand Up @@ -208,7 +211,7 @@
) !important;
--background-mobile-secondary: color-mix(
in oklab,
var(--primary-860) 100%,
var(--primary-830) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--background-modifier-accent: color-mix(
Expand Down Expand Up @@ -256,6 +259,21 @@
var(--primary-860) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--bg-base-primary: color-mix(
in oklab,
var(--black) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-base-secondary: color-mix(
in oklab,
var(--primary-830) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-base-tertiary: color-mix(
in oklab,
var(--primary-860) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-mod-faint: color-mix(
in oklab,
var(--black) 100%,
Expand All @@ -268,7 +286,7 @@
) !important;
--bg-surface-raised: color-mix(
in oklab,
var(--primary-700) 100%,
var(--black) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--channeltextarea-background: color-mix(
Expand Down Expand Up @@ -893,6 +911,15 @@
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .searchBox_d83b4d .searchIcon_f69601, :is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .searchBox_d83b4d .closeIcon_f69601 {
color: var(--interactive-normal);
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .container_a56260, :is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .bannerImage_fc867b {
background-color: var(--background-primary) !important;
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .contentContainer_a56260 {
background: linear-gradient(180deg, hsla(var(--black-hsl)/0.5) 0%, var(--background-primary) 257px) !important;
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .darkThemeGradient_f2bc91 {
background: linear-gradient(0deg, var(--background-secondary-alt) 0%, hsla(var(--primary-800-hsl)/0.95) 20.31%, hsla(var(--primary-800-hsl)/0) 100%);
}

:is(.theme-dark, .theme-midnight) #app-mount .page_d20375 {
background-color: var(--background-primary) !important;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "amoled-cord",
"version": "4.1.4",
"version": "4.1.5",
"description": "A basically pitch black theme for Discord. Lights out, baby!",
"author": "LuckFire",
"scripts": {
Expand Down
35 changes: 31 additions & 4 deletions src/amoled-cord.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ html.theme-dark .theme-light .root_f9a4c9,
--background-floating: var(--primary-830) !important;
--background-message-hover: hsl(var(--white-hsl)/0.015) !important;
--background-mobile-primary: var(--black) !important;
--background-mobile-secondary: var(--primary-860) !important;
--background-mobile-secondary: var(--primary-830) !important;
--background-modifier-accent: hsl(var(--primary-760-hsl)/0.48) !important;
--background-modifier-active: hsl(var(--primary-760-hsl)/0.48) !important;
--background-modifier-hover: hsl(var(--primary-760-hsl)/0.4) !important;
Expand All @@ -79,9 +79,12 @@ html.theme-dark .theme-light .root_f9a4c9,
--background-secondary: var(--primary-830) !important;
--background-secondary-alt: var(--primary-800) !important;
--background-tertiary: var(--primary-860) !important;
--bg-base-primary: var(--black) !important;
--bg-base-secondary: var(--primary-830) !important;
--bg-base-tertiary: var(--primary-860) !important;
--bg-mod-faint: var(--black) !important;
--bg-surface-overlay: var(--primary-830) !important;
--bg-surface-raised: var(--primary-700) !important;
--bg-surface-raised: var(--black) !important;
--button-outline-primary-background: var(--primary-700) !important;
--button-outline-primary-background-active: var(--primary-600) !important;
--button-outline-primary-background-hover: var(--primary-630) !important;
Expand Down Expand Up @@ -196,7 +199,7 @@ html.theme-dark .theme-light .root_f9a4c9,
) !important;
--background-mobile-secondary: color-mix(
in oklab,
var(--primary-860) 100%,
var(--primary-830) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--background-modifier-accent: color-mix(
Expand Down Expand Up @@ -244,6 +247,21 @@ html.theme-dark .theme-light .root_f9a4c9,
var(--primary-860) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--bg-base-primary: color-mix(
in oklab,
var(--black) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-base-secondary: color-mix(
in oklab,
var(--primary-830) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-base-tertiary: color-mix(
in oklab,
var(--primary-860) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-mod-faint: color-mix(
in oklab,
var(--black) 100%,
Expand All @@ -256,7 +274,7 @@ html.theme-dark .theme-light .root_f9a4c9,
) !important;
--bg-surface-raised: color-mix(
in oklab,
var(--primary-700) 100%,
var(--black) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--channeltextarea-background: color-mix(
Expand Down Expand Up @@ -881,6 +899,15 @@ body .contentWrapper-3RqEiS .accordionContainer-vSTU_l {
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .searchBox_d83b4d .searchIcon_f69601, :is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .searchBox_d83b4d .closeIcon_f69601 {
color: var(--interactive-normal);
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .container_a56260, :is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .bannerImage_fc867b {
background-color: var(--background-primary) !important;
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .contentContainer_a56260 {
background: linear-gradient(180deg, hsla(var(--black-hsl)/0.5) 0%, var(--background-primary) 257px) !important;
}
:is(.theme-dark, .theme-midnight) #app-mount .content_a4d4d9 .darkThemeGradient_f2bc91 {
background: linear-gradient(0deg, var(--background-secondary-alt) 0%, hsla(var(--primary-800-hsl)/0.95) 20.31%, hsla(var(--primary-800-hsl)/0) 100%);
}

:is(.theme-dark, .theme-midnight) #app-mount .page_d20375 {
background-color: var(--background-primary) !important;
Expand Down
26 changes: 22 additions & 4 deletions src/core/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ html.theme-dark .theme-light .root_f9a4c9,
--background-floating: var(--primary-830) !important;
--background-message-hover: hsl(var(--white-hsl)/0.015) !important;
--background-mobile-primary: var(--black) !important;
--background-mobile-secondary: var(--primary-860) !important;
--background-mobile-secondary: var(--primary-830) !important;
--background-modifier-accent: hsl(var(--primary-760-hsl)/0.48) !important;
--background-modifier-active: hsl(var(--primary-760-hsl)/0.48) !important;
--background-modifier-hover: hsl(var(--primary-760-hsl)/0.4) !important;
Expand All @@ -80,9 +80,12 @@ html.theme-dark .theme-light .root_f9a4c9,
--background-secondary: var(--primary-830) !important;
--background-secondary-alt: var(--primary-800) !important;
--background-tertiary: var(--primary-860) !important;
--bg-base-primary: var(--black) !important;
--bg-base-secondary: var(--primary-830) !important;
--bg-base-tertiary: var(--primary-860) !important;
--bg-mod-faint: var(--black) !important;
--bg-surface-overlay: var(--primary-830) !important;
--bg-surface-raised: var(--primary-700) !important;
--bg-surface-raised: var(--black) !important;
--button-outline-primary-background: var(--primary-700) !important;
--button-outline-primary-background-active: var(--primary-600) !important;
--button-outline-primary-background-hover: var(--primary-630) !important;
Expand Down Expand Up @@ -200,7 +203,7 @@ html.theme-dark .theme-light .root_f9a4c9,
) !important;
--background-mobile-secondary: color-mix(
in oklab,
var(--primary-860) 100%,
var(--primary-830) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--background-modifier-accent: color-mix(
Expand Down Expand Up @@ -248,6 +251,21 @@ html.theme-dark .theme-light .root_f9a4c9,
var(--primary-860) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--bg-base-primary: color-mix(
in oklab,
var(--black) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-base-secondary: color-mix(
in oklab,
var(--primary-830) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-base-tertiary: color-mix(
in oklab,
var(--primary-860) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
);
--bg-mod-faint: color-mix(
in oklab,
var(--black) 100%,
Expand All @@ -260,7 +278,7 @@ html.theme-dark .theme-light .root_f9a4c9,
) !important;
--bg-surface-raised: color-mix(
in oklab,
var(--primary-700) 100%,
var(--black) 100%,
var(--theme-base-color, black) var(--theme-base-color-amount, 0%)
) !important;
--channeltextarea-background: color-mix(
Expand Down
10 changes: 10 additions & 0 deletions src/theme/pages/_discovery.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,14 @@
color: var(--interactive-normal);
}
}
// Quests
.container_a56260, .bannerImage_fc867b {
background-color: var(--background-primary) !important;
}
.contentContainer_a56260 {
background: linear-gradient(180deg, hsla(var(--black-hsl)/0.5) 0%, var(--background-primary) 257px) !important;
}
.darkThemeGradient_f2bc91 {
background: linear-gradient(0deg, var(--background-secondary-alt) 0%, hsla(var(--primary-800-hsl)/0.95) 20.31%, hsla(var(--primary-800-hsl)/0) 100%);
}
}

0 comments on commit a96d3ed

Please sign in to comment.