Skip to content

Commit

Permalink
Revert "Merge branch 'master' into pls-ignore-unless-nyx-or-leo"
Browse files Browse the repository at this point in the history
This reverts commit fcc10c4, reversing
changes made to 8157424.
  • Loading branch information
BabyBoySnow committed Oct 16, 2024
1 parent fcc10c4 commit 01f1401
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 40 deletions.
12 changes: 6 additions & 6 deletions src/channels/specialChannels.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*CUSTOMIZE CHANNELS*/

%customizeChannelsHeader {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.6)) !important;
background-color: rgba(0, 0, 0, calc($bg-shading * 0.6)) !important;
}
%customizeChannels {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.5)) !important;
background-color: rgba(0, 0, 0, calc($bg-shading * 0.5)) !important;
}

/*header*/
Expand Down Expand Up @@ -54,10 +54,10 @@
}

%browseChannelsRow {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.4));
&:hover {
&:not(%browseChannelsDisabled) {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.6));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.6));
}
}
}
Expand Down Expand Up @@ -111,7 +111,7 @@
%serverGuideAction,
%serverGuideSidebarCard,
%serverGuideRow {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
}
%serverGuideAction:hover {
background: $hover-color;
Expand Down Expand Up @@ -140,7 +140,7 @@
}
/*Cases where we get taken to channels*/
%serverGuideChannelHintBanner {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
}
%serverGuideChannelHintIcon {
background: $main-color;
Expand Down
8 changes: 4 additions & 4 deletions src/chat/call.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* PRIVATE CALL */
%callWrapper {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.8));
background: rgba(0, 0, 0, calc($bg-shading * 0.8));
&%callMinimum {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.8));
background: rgba(0, 0, 0, calc($bg-shading * 0.8));
}
}
%callContainer {
Expand All @@ -11,7 +11,7 @@

// VIDEO STREAM
%callTile {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.7));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.7));
}
%callInviteButton {
background-color: $main-color;
Expand Down Expand Up @@ -52,7 +52,7 @@
}

%streamStillRunning {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.7));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.7));
}

// ACTION BUTTON
Expand Down
6 changes: 3 additions & 3 deletions src/chat/stageCall.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
}
}
%stageOptionContainer {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.3));
background: rgba(0, 0, 0, calc($bg-shading * 0.3));
&:hover {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.6));
background: rgba(0, 0, 0, calc($bg-shading * 0.6));
}
}
%stageLeaveButton {
Expand Down Expand Up @@ -99,7 +99,7 @@

// REQUESTS
%stageRequestContainer {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.6));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.6));
}
%stageIconBigBackground {
background-color: $main-color;
Expand Down
2 changes: 1 addition & 1 deletion src/fixespt2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ div.popoutList_da8701.phoneFieldPopout_ff761b.elevationBorderLow_ff8688 {

// Security keys list https://discord.com/channels/212324635356692500/858733936800956427/1270769660039663636
div.credentialList_eaef52 {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.4));
border-radius: 4px;
}
div.name_d808b0 {
Expand Down
2 changes: 1 addition & 1 deletion src/general/scrollbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
%friendsTable {
%scroller {
&::-webkit-scrollbar-track-piece {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.3)) !important;
background-color: rgba(0, 0, 0, calc($bg-shading * 0.3)) !important;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/home/friends.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

// FRIENDS COLUMN
%friendsColumn {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
}
%friendsSearch {
background-color: hsla(0, 0%, 100%, 0.07);
Expand Down Expand Up @@ -117,7 +117,7 @@

// NOW PLAYING
%nowPlayingColumn {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.6));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.6));
}
%nowPlayingColumnContainer {
background-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion src/home/nitro.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

// PERKS PAGE
%nitroPerksScroller {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.6));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.6));
transition: all 0.5s ease-in-out;
}
%nitroPerksBackButton {
Expand Down
2 changes: 1 addition & 1 deletion src/home/requests.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
}
/*was it spam*/
%messageReqSpamCheck {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.3));
background: rgba(0, 0, 0, calc($bg-shading * 0.3));
}
2 changes: 1 addition & 1 deletion src/injectors/ven/plugins.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*Shiki code blocks*/
.shiki-plain {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.2)) !important;
background-color: rgba(0, 0, 0, calc($bg-shading * 0.2)) !important;
}

.shiki-container {
Expand Down
4 changes: 2 additions & 2 deletions src/members/members.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@
}
// MEMBERS ACTIVITY SECTION (as opposed to just the text under members)
%memberActivityContainer {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
border: 2px solid transparent;
&:hover {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
border: 2px solid $hover-color;
}
}
2 changes: 1 addition & 1 deletion src/messages/poll.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%poll {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
}
/* selection */
%pollAnswerSelectionIcon %pollRadioForeground {
Expand Down
4 changes: 2 additions & 2 deletions src/modals/otherModals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
background: rgba(0, 0, 0, 0.4);
}
%activityTag {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.5));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.5));
}
%activityItem {
background: rgba(0, 0, 0, 0.4);
Expand Down Expand Up @@ -197,7 +197,7 @@
}
}
%soundboardHint {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.3));
background: rgba(0, 0, 0, calc($bg-shading * 0.3));
}
}

Expand Down
10 changes: 5 additions & 5 deletions src/pages/appDirectory.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@

// HOME PAGE
%directoryCategory {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
&:hover {
background: $hover-color;
}
}
%directoryCard,
%directoryNewToApps {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
}
%directoryListCard {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
&%directoryCardClickable:hover {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.6));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.6));
color: #fff;
%textMediumNormal {
color: #fff;
}
}
}
%directoryFooter {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background: rgba(0, 0, 0, calc($bg-shading * 0.4));
}

// SEARCH
Expand Down
4 changes: 2 additions & 2 deletions src/pages/discordShop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
background-color: transparent;
}
%shopBackground {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.4));
}
%shopPageWrapper {
background-color: transparent;
Expand Down Expand Up @@ -104,5 +104,5 @@

// Shop what's new
%shopWhatsNew {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.8));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.8));
}
4 changes: 2 additions & 2 deletions src/pages/forums.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@

// GALLERY VIEW
%forumCardContainer {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.3));
background: rgba(0, 0, 0, calc($bg-shading * 0.3));
border: 2px solid $main-color;
&:hover {
background: rgba(0, 0, 0, calc(var(--background-shading) * 0.3));
background: rgba(0, 0, 0, calc($bg-shading * 0.3));
border: 2px solid $hover-color;
}
&%forumOpen {
Expand Down
2 changes: 1 addition & 1 deletion src/popouts/inboxPopout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,5 @@

// CHATTING ABOUT: TOPIC
%inboxChattingAbout {
background-color: hsla(0, 0%, 30%, calc(var(--background-shading) * 0.5));
background-color: hsla(0, 0%, 30%, calc($bg-shading * 0.5));
}
2 changes: 1 addition & 1 deletion src/popouts/searchPopout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
%themeDark %calendarPicker {
%datepicker,
%datepickerHeader {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.8));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.8));
}
> %datepicker {
%datepickerNavigation {
Expand Down
4 changes: 2 additions & 2 deletions src/settings/onboarding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

// FOOTER
%onboardingFooterContainer {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.4)) !important;
background-color: rgba(0, 0, 0, calc($bg-shading * 0.4)) !important;
box-shadow: none;
}

Expand Down Expand Up @@ -193,7 +193,7 @@
}

%onboardingRecommendedReadOnly {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.4));
}

%onboardingPickAnEmoji {
Expand Down
2 changes: 1 addition & 1 deletion src/settings/userSettings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
border-color: transparent;
}
%accountSettingsBadges {
background-color: rgba(0, 0, 0, calc(var(--background-shading) * 0.4));
background-color: rgba(0, 0, 0, calc($bg-shading * 0.4));
}
// MY ACCOUNT - VERIFY PHONE
%phoneInput {
Expand Down
2 changes: 1 addition & 1 deletion src/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ $cv: (
$main-color: cv('colors.main');
$hover-color: cv('colors.hover');
$bg-shading: cv('bg.app.shading');
$text-normal: cv('text.normal');
$text-normal: cv('text.normal');

0 comments on commit 01f1401

Please sign in to comment.