Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
refact0r committed Oct 28, 2023
1 parent 2d216b7 commit 3d935b3
Showing 1 changed file with 23 additions and 15 deletions.
38 changes: 23 additions & 15 deletions midnight.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
.searchHeader__19d87 /* search results header */,
.chat__52833.container_d3a736 /* message requests */,
#app-mount .panels__58331 > div /* user panel children */,
.container_d667ff /* vc panel */ {
.container_d667ff /* vc panel */,
.sidebarRegionScroller__1fa7e /* settings left */ {
background: var(--bg-4);
}
.folderIconWrapper__72239 /* closed folder */ {
Expand All @@ -77,18 +78,24 @@
.privateChannels__93473 .scroller__4b984 /* dms list inner */ {
background: none;
}
div[class^="control"] > div[class^="container"]/* settings checkbuttons default */ {
.container__871ba /* settings checkbuttons default */ {
background: var(--bg-1) !important;
}
div[class^="message"][class*="mentioned"]:before /* mention message left edge */,
div[class^="control"] > div[class*="checked"] /* settings checkbuttons */ {
.container_ca50b9 /* user panel button strikethroughs */,
.divider_b9338f /* unread divider */,
.numberBadge__50328 /* unread number badge */,
.toolbar__88c63 /* toolbar button strikethroughs */ {
--status-danger: var(--accent-2);
}
.message__80c10.mentioned__58017:before /* mention message left edge */,
.container__871ba.checked__6bdb0 /* settings checkbuttons */ {
background: var(--accent-3) !important;
}
path[fill='rgba(35, 165, 90, 1)'] {
fill: var(--accent-3);
}
.expandedFolderIconWrapper__458cf svg {
color: var(--accent-3) !important;
color: var(--accent-2) !important;
}

/* separate header bar */
Expand Down Expand Up @@ -116,26 +123,26 @@ a[href="https://support.discord.com"] /* hide help */
{
display: none;
}
div[class^='toolbar'] > div[class^='search'] {
.search__07df0 {
order: 1;
margin: 0 4px 0 12px;
}
.chat__52833:has(.searchResultsWrap__9f374) div[class^='searchBar'] {
.chat__52833:has(.searchResultsWrap__9f374) .searchBar_e0c60b {
width: 394px !important;
margin-left: calc(var(--spacing) + 8px);
}
.chat__52833:has(.profilePanel__12596) div[class^='searchBar'] {
.chat__52833:has(.profilePanel__12596) .searchBar_e0c60b {
width: 316px !important;
margin-left: calc(var(--spacing) + 8px);
}
.chat__52833:has(.membersWrap__90226) div[class^='searchBar'] {
.chat__52833:has(.membersWrap__90226) .searchBar_e0c60b {
width: 216px !important;
margin-left: calc(var(--spacing) + 8px);
}

/* add spacing */
.appAsidePanelWrapper__714a6 /* outside edges */ {
margin: 0 var(--spacing) var(--spacing) var(--spacing);
.base__3e6af /* outside edges */ {
margin: 0 var(--spacing) var(--spacing) 0;
}
.sidebar_ded4b5 /* channel list and user panel */,
.content__1a4fe /* between chat and member list */ {
Expand All @@ -151,7 +158,7 @@ div[class^='toolbar'] > div[class^='search'] {
width: var(--spacing);
}
.wrapper_bd2abe.fullScreen__5263c .callContainer_cbde45 /* fullscreen vc */ {
margin-top: var(--spacing);
margin: var(--spacing) 0 0 var(--spacing);
}

/* fix padding */
Expand Down Expand Up @@ -191,7 +198,7 @@ div[class^='toolbar'] > div[class^='search'] {
.guilds__2b93a {
background: var(--bg-4);
border-radius: var(--roundness);
margin: 0 var(--spacing) 0 0;
margin: 0 var(--spacing) var(--spacing) var(--spacing);
}
.guilds__2b93a.hidden__7c832 {
margin: 0;
Expand Down Expand Up @@ -393,7 +400,7 @@ div[class^='winButtonMinMax']:nth-child(4)::after {
--chat-border: var(--primary-700);
--chat-input-container-background: var(--primary-600);
--chat-swipe-to-reply-background: var(--primary-660);
--control-brand-foreground: var(--brand-360);
--control-brand-foreground: var(--accent-2);
--control-brand-foreground-new: var(--brand-360);
--creator-revenue-icon-gradient-end: var(--teal-430);
--creator-revenue-icon-gradient-start: var(--teal-360);
Expand Down Expand Up @@ -556,7 +563,7 @@ div[class^='winButtonMinMax']:nth-child(4)::after {
--scrollbar-thin-track: transparent;
--spoiler-hidden-background: var(--primary-700);
--spoiler-revealed-background: var(--primary-660);
--status-danger: var(--accent-2);
--status-danger: var(--red-400);
--status-danger-background: var(--red-400);
--status-danger-text: var(--white-500);
--status-dnd: var(--red-400);
Expand Down Expand Up @@ -608,5 +615,6 @@ div[class^='winButtonMinMax']:nth-child(4)::after {
); /* background of reacted reactions */

--primary-500: var(--bg-2); /* progress bars */
--primary-600: var(--bg-3); /* delete message preview */
--primary-660: var(--bg-3); /* search popout "enter" bar */
}

0 comments on commit 3d935b3

Please sign in to comment.