Skip to content

Instantly share code, notes, and snippets.

@Tulugaak
Last active June 7, 2025 01:07
Show Gist options
  • Save Tulugaak/e188e5ced06201dc41e31ecae161b178 to your computer and use it in GitHub Desktop.
Save Tulugaak/e188e5ced06201dc41e31ecae161b178 to your computer and use it in GitHub Desktop.
Script to make the new Discord desktop UI look like the old one
.visual-refresh {
div.subtitleContainer_f75fb0,
main.container__133bf section.container__9293f {
width: calc(100% - 216px);
}
div.page_c48ade {
&:not(:has(> div.chat_f75fb0)) {
anchor-name: --vr-header-snippet;
}
& > div.chat_f75fb0 {
anchor-name: --vr-header-snippet;
}
}
div.base_c48ade {
grid-template-rows: [top] 0 [titleBarEnd] min-content [noticeEnd] 1fr [end];
&:has(div.bar_c38106 > div.trailing_c38106 > *:nth-child(3)) {
& div.subtitleContainer_f75fb0,
& main.container__133bf section.container__9293f {
width: calc(100% - 75px);
}
}
& > div.bar_c38106 {
position: absolute;
position-anchor: --vr-header-snippet;
top: 0;
right: anchor(right);
width: anchor-size(width);
padding: 0;
}
& div.trailing_c38106 {
background: var(--background-base-lower);
border: none;
border-bottom: 1px solid var(--border-subtle);
height: var(--custom-channel-header-height);
}
}
:not(:has(div.page_c48ade > div.chat_f75fb0)) div.base_c48ade > div.bar_c38106 {
right: 0 !important;
}
ul[data-list-id="guildsnav"] > div.itemsContainer_ef3116 {
margin-top: 16px;
}
div.topic__6ec1a {
-webkit-app-region: no-drag;
}
}
.visual-refresh .panels_c48ade {
right: var(--space-xs) !important;
left: auto;
bottom: var(--space-xs);
width: calc(119% - var(--space-xs) * 2 - var(--custom-guild-list-width));
}
/* from https://github.com/MaiRiosIPla/unshittify-discord to move profile container :3 */
.visual-refresh .guilds_c48ade {
margin-bottom: 0;
}
.visual-refresh .base_c48ade {
grid-template-rows: [top] 0 [titleBarEnd] min-content [noticeEnd] 1fr [end];
}
@import url("https://scattagain.github.io/VencordStuff/css/GuildbarRevert.css");
.trailing_c38106 {
padding-right: 0px;
gap: 3px !important;
}
.channelTextArea_f75fb0 {
margin-bottom: var(--space-xs);
.inner__74017 {
--custom-channel-textarea-text-area-max-height: 60px;
--custom-channel-textarea-text-area-height: var(
--custom-channel-textarea-text-area-max-height
);
}
}
.visual-refresh {
div.subtitleContainer_f75fb0,
main.container__133bf section.container__9293f {
width: calc(100% - 216px);
}
div.page_c48ade {
&:not(:has(> div.chat_f75fb0)) {
anchor-name: --vr-header-snippet;
}
& > div.chat_f75fb0 {
anchor-name: --vr-header-snippet;
}
}
div.base_c48ade {
grid-template-rows: [top] 0 [titleBarEnd] min-content [noticeEnd] 1fr [end];
&:has(div.bar_c38106 > div.trailing_c38106 > *:nth-child(3)) {
& div.subtitleContainer_f75fb0,
& main.container__133bf section.container__9293f {
width: calc(100% - 75px);
}
}
& > div.bar_c38106 {
position: absolute;
position-anchor: --vr-header-snippet;
top: 0;
right: anchor(right);
width: anchor-size(width);
padding: 0;
}
& div.trailing_c38106 {
background: var(--background-base-lower);
border: none;
border-bottom: 1px solid var(--border-subtle);
height: var(--custom-channel-header-height);
}
}
:not(:has(div.page_c48ade > div.chat_f75fb0)) div.base_c48ade > div.bar_c38106 {
right: 0 !important;
}
ul[data-list-id="guildsnav"] > div.itemsContainer_ef3116 {
margin-top: 16px;
}
div.topic__6ec1a {
-webkit-app-region: no-drag;
}
}
.visual-refresh .panels_c48ade {
right: var(--space-xs) !important;
left: auto;
bottom: var(--space-xs);
width: calc(119% - var(--space-xs) * 2 - var(--custom-guild-list-width));
}
/* from https://github.com/MaiRiosIPla/unshittify-discord to move profile container :3 */
.visual-refresh .guilds_c48ade {
margin-bottom: 0;
}
.visual-refresh .base_c48ade {
grid-template-rows: [top] 0 [titleBarEnd] min-content [noticeEnd] 1fr [end];
}
@import url("https://scattagain.github.io/VencordStuff/css/GuildbarRevert.css");
.trailing_c38106 {
padding-right: 0px;
gap: 3px !important;
}
.channelTextArea_f75fb0 {
margin-bottom: var(--space-xs);
.inner__74017 {
--custom-channel-textarea-text-area-max-height: 60px;
--custom-channel-textarea-text-area-height: var(
--custom-channel-textarea-text-area-max-height
);
}
}
/* Hide Nitro gift button */
button[aria-label="Send a gift"] {
display: none;
}
/* Hide apps button, language dependent*/
button[aria-label="Apps"] {
display: none;
}
@Tulugaak
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment