Skip to content

Commit

Permalink
Fixed for new update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gibbu committed Oct 16, 2023
1 parent 97f0ba4 commit 9421a0b
Show file tree
Hide file tree
Showing 9 changed files with 66 additions and 63 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"dependencies": {
"@discordstyles/classes": "^0.0.13",
"bd-scss": "^2.0.14"
"bd-scss": "2.0.14"
},
"devDependencies": {
"prettier": "^2.8.8"
Expand Down
80 changes: 40 additions & 40 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/theme/_vars.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--fluent-version: '1.1.4';
--fluent-version: '1.1.5';

--transition: cubic-bezier(0, 0, 0, 1);

Expand Down Expand Up @@ -63,6 +63,8 @@
--channel-padding: 8px;

--banner-height: 155px;
--profile-modal-height: 700px;
--profile-modal-width: 800px;

--win-btn-height: 32px;
--win-btn-width: 52px;
Expand Down
4 changes: 2 additions & 2 deletions src/theme/app/_scrollbars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}

// Chat scrollbar
.chatContent-3KubbW .scroller-kQBbkU,
.chatContent-2O4SXb .scroller-kQBbkU,
.peopleList-2VBrVI,
.scroller-2qwVWY {
&::-webkit-scrollbar {
Expand All @@ -25,7 +25,7 @@
}

// Other scrollbars
.members-3WRCEx,
.members-2y1nVj,
.container-1NXEtd .scroller-1ox3I2,
.sidebarRegionScroller-FXiQOh,
.scroller-WSmht3 {
Expand Down
10 changes: 5 additions & 5 deletions src/theme/chat/_container.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
@use '../classes' as *;

#{cls('mount')} {
#{cls('chat.container')} {
#app-mount {
.chat-9g_3Xj {
background: transparent;
}
#{cls('chat.content')}::before {
.content-18rAwf::before {
content: none;
}
#{cls('chat.messages.container')} {
.chatContent-2O4SXb {
background: var(--bg-alt);
&:only-child {
margin-right: 0;
border-top-right-radius: 0;
}
}

#{cls('chat.messages.scrollerSpacer')} {
.scrollerSpacer-3AqkT9 {
height: 24px;
}

Expand Down
4 changes: 2 additions & 2 deletions src/theme/chat/_textbox.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use '../assets/mono';

#app-mount {
.form-3gdLxP {
.form-3qe0Ni {
margin: 0 12px 12px 0;
padding: 8px 8px 8px 14px;
background: var(--bg-main);
Expand All @@ -16,7 +16,7 @@
content: none;
}
}
.channelTextArea-1FufC0 {
.channelTextArea-1deLlK {
margin: 0;
background: var(--bg-alt);
position: relative;
Expand Down
10 changes: 5 additions & 5 deletions src/theme/members/_container.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#app-mount {
.container-2o3qEW,
.members-3WRCEx,
.members-3WRCEx > div {
.container-2vWgD2,
.members-2y1nVj,
.members-2y1nVj > div {
background: var(--bg-alt);
}

.membersWrap-3NUR2t {
.membersWrap-3GwLFp {
border-left: 1px solid var(--border-mid);
min-width: var(--members-width);
width: var(--members-width);
height: 100%;
}
.members-3WRCEx {
.members-2y1nVj {
width: 100%;
padding: 8px 2px 8px 8px !important;
box-sizing: border-box;
Expand Down
2 changes: 1 addition & 1 deletion src/theme/modals/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@use '../mixins';

#app-mount .root-1CAIjD:not(.modal-3Crloo, .carouselModal-1eUFoq, .root-2uUafN) {
#app-mount .root-1CAIjD:not(.modal-3Crloo, .carouselModal-1eUFoq, .root-2uUafN, .root-8LYsGj) {
border: 1px solid var(--border-high);
border-radius: var(--rounded);
background: var(--bg-content);
Expand Down
13 changes: 7 additions & 6 deletions src/theme/sidebar/_panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
border: none;

// User area
& > .container-YkUktl {
& > .container-1CH86i {
box-sizing: border-box;
background: var(--bg-main);
padding: 8px 14px;
Expand Down Expand Up @@ -46,15 +46,15 @@
display: none;
}
}
&:hover .container-1zzFcN {
&:hover .container-2NLBJg {
translate: 0 0;
opacity: 1;
visibility: visible;
}
}

// Voice connected
.container-1zzFcN {
.container-2NLBJg {
position: absolute;
left: 11px;
right: 12px;
Expand All @@ -78,6 +78,7 @@
inset: 0;
background: var(--bg-main);
border-radius: var(--rounded) var(--rounded) 0 0;
z-index: -1;
}
& > .flex-2S1XBF {
gap: 4px;
Expand All @@ -86,7 +87,7 @@
@include mixins.btnSecondary;
}
}
&:hover + .actionButtons-2vEOUh {
&:hover + .actionButtons-1DmM2g {
bottom: calc(100% - 8px);
opacity: 1;
visibility: visible;
Expand Down Expand Up @@ -115,7 +116,7 @@
width: 24px;
height: 24px;
}
.actionButtons-2vEOUh {
.actionButtons-1DmM2g {
position: absolute;
bottom: 0;
width: calc(100% - 16px);
Expand All @@ -135,7 +136,7 @@
&:hover {
visibility: visible;
opacity: 1;
bottom: calc(100% - 2px);
bottom: calc(100% - 8px);
}
}
.panel-2ZFCRb {
Expand Down

0 comments on commit 9421a0b

Please sign in to comment.