Skip to content

Commit

Permalink
add to variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Leozard committed Apr 1, 2024
1 parent fc3dfee commit 8b72b1b
Show file tree
Hide file tree
Showing 17 changed files with 40 additions and 19 deletions.
16 changes: 16 additions & 0 deletions src/app/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,19 @@ textarea,
color: #fff;
background: $main-color;
}


// FUNNI DAY
.appMount_c99875:after {
content: 'ClearVision has stopped responding, please try again later';
position: absolute;
width: 90%;
height: fit-content;
font-size: 5rem;
color: #fff;
text-align: center;
top: 50%;
transform: translateY(-50%);
z-index: -1;
margin: 0 100px ;
}
2 changes: 1 addition & 1 deletion src/chat/textAreaAutoComplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
%autocomplete {
%autocompleteInner {
background: var(--popout-color);
background: cv('bg.general.popout');
animation: cv-menu-slide-bottom 0.2s ease-in-out;
transform-origin: 50% 100%;
}
Expand Down
2 changes: 1 addition & 1 deletion src/messages/textContainer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@

// CHANGE LANGUAGE POPOUT
%textContainerLanguageSelector {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
}
2 changes: 1 addition & 1 deletion src/modals/otherModals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@

// SOUNDBOARD MODAL
%soundboard {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
%soundboardSound,
%soundboardGuildSelected {
background-color: $main-color;
Expand Down
4 changes: 2 additions & 2 deletions src/popouts/emojiPicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
min-width: 430px;
}
%emojiPickerWrapper {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
Expand All @@ -13,7 +13,7 @@
}

%emojiPicker {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
min-width: 430px;
border-radius: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/popouts/groupInvite.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
%themeDark {
%groupInvitePopout {
&%modalRoot {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/popouts/inboxPopout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* MESSAGES POPOUT */
%messagesPopoutWrap,
%recentMentionsPopout {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
animation: cv-menu-fold-y 0.2s cubic-bezier(0.2, 0.6, 0.5, 1.1);
transform-origin: 50% 0;
border-radius: 5px;
Expand Down
2 changes: 1 addition & 1 deletion src/popouts/mentionEveryone.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%themeDark {
%everyoneWarningPopout {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
}
%everyoneWarningFooter {
background-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion src/popouts/menuPopout.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* MENU POPOUT */
%menuPopout {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
animation: cv-menu-fold-y 0.2s cubic-bezier(0.2, 0.6, 0.5, 1.1);
transform-origin: 50% 0;
%menuPopoutItem {
Expand Down
6 changes: 3 additions & 3 deletions src/popouts/otherPopouts.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// EMOJI INFO POPOUT
%emojiInfoContainer {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
}
%emojiInfoTip {
background-color: transparent;
Expand All @@ -11,7 +11,7 @@

// CHAT TOOLBAR
%chatToolbar {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
&::before {
border-top: 8px solid hsla(0, 0%, 0%, 0.8);
}
Expand All @@ -27,7 +27,7 @@
// STREAM POPOUT
%themeDark {
%streamPopoutPreview {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
}
%streamPopoutPreviewContainer {
background-color: transparent;
Expand Down
2 changes: 1 addition & 1 deletion src/popouts/searchPopout.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SEARCH POPOUT */
%themeDark %searchPopout {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
animation: cv-menu-fold-y 0.2s cubic-bezier(0.2, 0.6, 0.5, 1.1) 0.1s backwards;
transform-origin: 50% 0;
Expand Down
2 changes: 1 addition & 1 deletion src/popouts/threadPopout.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* THREADS POPOUT */
%popoutLayer %threadsPopoutContainer {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
animation: cv-menu-fold-y 0.2s cubic-bezier(0.2, 0.6, 0.5, 1.1);
transform-origin: 50% 0;
border-radius: 5px;
Expand Down
2 changes: 1 addition & 1 deletion src/popouts/voiceChannelListeningTo.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//Voice Channel listening to or playing x game
%voiceChannelListening {
background: var(--popout-color);
background: cv('bg.general.popout');
}
%voiceChannelListeningIcon {
background: $main-color;
Expand Down
2 changes: 1 addition & 1 deletion src/settings/channelSettings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
// ROLES/MEMBERS DROPDOWN
%themeDark %channelSettingsRoleDropdownHeader,
%themeDark %channelSettingsRoleDropdownContainer %channelSettingsRoleDropdownTag {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
}
%channelSettingsRoleDropdownRow%channelSettingsRoleDropdownSelected %channelSettingsRoleDropdownRowInner {
background-color: hsla(0, 0%, 100%, 0.1);
Expand Down
2 changes: 1 addition & 1 deletion src/settings/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
border-color: hsla(0, 0%, 100%, 0.09);
}
%settingsDropdownPopout {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
border: none;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
Expand Down
4 changes: 2 additions & 2 deletions src/settings/onboarding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// POPOUT
%onboardingEduPopout {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
}
%onboardingEduPopoutArrow {
border-bottom-color: rgba(0, 0, 0, 0.8);
Expand Down Expand Up @@ -125,7 +125,7 @@
border: 2px solid $main-color;
}
%onboardingQuestionDropdown {
background-color: var(--popout-color);
background-color: cv('bg.general.popout');
border: 1px solid hsla(0, 0%, 100%, 0.07);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
Expand Down
5 changes: 5 additions & 0 deletions src/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ $cv: (
pos: var(--home-position),
size: var(--home-size),
)
// GENERAL
general:
(
popout: var(--popout-color),
)
)
),
// DISCORD
Expand Down

0 comments on commit 8b72b1b

Please sign in to comment.