Skip to content

Commit

Permalink
var(--main-color) -> $main-color
Browse files Browse the repository at this point in the history
var(--hover-color) -> $hover-color
new shop layout fixed
  • Loading branch information
BabyBoySnow committed Sep 29, 2024
1 parent 5f975a7 commit 28dc49c
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 12 deletions.
8 changes: 7 additions & 1 deletion lib/selectors/selectorPlaceholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5103,7 +5103,13 @@ pre {
@extend %profileEffectDescriptionContainer !optional;
}
.shop_e77fa3 {
@extend %shop !optional;
@extend %shopAll !optional;
}
.shopAll_ebba41 {
@extend %popularPicksShopAll !optional;
}
.shop_ebba41 {
@extend %shopPreview !optional;
}
.shopScroll_e77fa3 {
@extend %shopBackground !optional;
Expand Down
2 changes: 1 addition & 1 deletion src/channels/panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ button%panelButton {
color: $hover-color;
}
%panelActionButtonLottieIcon {
--__lottieIconColor: var(--main-color) !important;
--__lottieIconColor: $main-color !important;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/general/spinner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
background-color: hsla(0, 0%, 0%, 0.6);
}
%spinnerPulsingEllipsis %spinnerPulsingEllipsisItem {
background-color: var(--main-color);
background-color: $main-color;
}
4 changes: 2 additions & 2 deletions src/headerBar/headerBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
}
%headerChannelNameInput:focus {
background: transparent;
box-shadow: inset 0 0 0 1px var(--main-color);
box-shadow: inset 0 0 0 1px $main-color;
}
%headerChannelNameOuter:hover %headerChannelNameInput {
box-shadow: inset 0 0 0 1px var(--main-color);
box-shadow: inset 0 0 0 1px $main-color;
}
2 changes: 1 addition & 1 deletion src/members/members.scss
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,6 @@
border: 2px solid transparent;
&:hover {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
border: 2px solid var(--hover-color);
border: 2px solid $hover-color;
}
}
14 changes: 11 additions & 3 deletions src/pages/discordShop.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
/* DISCORD SHOP */

%shop {
%shopPreview {
background: rgba(0, 0, 0, 0.6);
}
%popularPicksShopAll {
background: $main-color;
&:hover {
background: $hover-color;
}
}
%shopAll {
background-color: transparent;
}
%shopBackground {
Expand Down Expand Up @@ -91,7 +99,7 @@

// Shop new pill
%shopNewPill {
background: radial-gradient(ellipse at 120%200%, var(--main-color) 10%, transparent 70%);
background: radial-gradient(ellipse at 120%200%, $main-color 10%, transparent 70%);
}

// Shop what's new
Expand Down
6 changes: 3 additions & 3 deletions src/popouts/otherPopouts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
border-color: hsla(0, 0%, 100%, 0.09);
&:hover {
background-color: hsla(0, 0%, 100%, 0.07);
border-color: var(--hover-color);
border-color: $hover-color;
}
}
%vcSetActivityPopoutButton {
background-color: var(--main-color);
background-color: $main-color;
border-color: transparent;
&:hover {
background-color: var(--hover-color);
background-color: $hover-color;
border-color: transparent;
}
}
Expand Down

0 comments on commit 28dc49c

Please sign in to comment.