/**
 * @name midnight
 * @description A dark, rounded discord theme.
 * @author refact0r
 * @version 1.6.2
 * @invite nz87hXyvcy
 * @website https://github.com/refact0r/midnight-discord
 * @source https://github.com/refact0r/midnight-discord/blob/master/midnight.theme.css
*/

/* IMPORTANT: make sure to enable dark mode in discord settings for the theme to apply properly!!! */

@import url('https://refact0r.github.io/midnight-discord/build/midnight.css');

/* customize things here */
:root {
	/* font, change to 'gg sans' for default discord font*/
	--font: 'figtree';

	/* top left corner text */
	--corner-text: 'Midnight';

	/* color of status indicators and window controls */
	--online-indicator: #879a39;     /* Green */
	--dnd-indicator: #d14d41;        /* Red */
	--idle-indicator: #d0a215;       /* Yellow */
	--streaming-indicator: #8b7ec8;    /* Purple */

	/* accent colors */
	--accent-1: #4385be;            /* links */
	--accent-2: #8b7ec8;            /* general unread/mention elements */
	--accent-3: #4385be;            /* accent buttons */
	--accent-4: #3aa99f;            /* accent buttons when hovered */
	--accent-5: #879a39;            /* accent buttons when clicked */
	--mention:  rgba(139, 126, 200, 0.1); 
	--mention-hover: rgba(139, 126, 200, 0.2);

	/* text colors */
	--text-0: #100f0f;               /* text on colored elements */
	--text-1: #cecdc3;               /* primary white-ish text */
	--text-2: #fffcf0;               /* headings */
	--text-3: #cecdc3;               /* normal text */
	--text-4: #878580;               /* icon buttons and channels */
	--text-5: #575653;               /* muted channels/timestamps */

	/* background and dark colors */
	--bg-1: #282726;                 /* dark buttons when clicked */
	--bg-2: #1c1b1a;                 /* dark buttons */
	--bg-3: #282726;                 /* spacing, secondary elements */
	--bg-4: #100f0f;                 /* main background color */
	--hover: #282726;                /* channels and buttons when hovered */
	--active: #575653;               /* channels and buttons when selected */
	--message-hover: rgba(28, 27, 26, 0.3);

	/* amount of spacing and padding */
	--spacing: 12px;

	/* animations */
	--list-item-transition: 0.2s ease;
	--unread-bar-transition: 0.2s ease;
	--moon-spin-transition: 0.4s ease;
	--icon-spin-transition: 1s ease;

	/* corner roundness (border-radius) */
	--roundness-xl: 22px;
	--roundness-l: 20px;
	--roundness-m: 16px;
	--roundness-s: 12px;
	--roundness-xs: 10px;
	--roundness-xxs: 8px;

	/* direct messages moon icon */
	--discord-icon: none;
	--moon-icon: block;
	--moon-icon-url: url('https://upload.wikimedia.org/wikipedia/commons/c/c4/Font_Awesome_5_solid_moon.svg');
	--moon-icon-size: auto;

	/* filter uncolorable elements to fit theme */
	--login-bg-filter: saturate(0.3) hue-rotate(-15deg) brightness(0.4);
	--green-to-accent-3-filter: none;
	--blurple-to-accent-3-filter: none;
}

/* Selected chat/friend text */
.selected_f5eb4b,
.selected_f6f816 .link_d8bfb3 {
  color: var(--text-0) !important;
  background: var(--accent-3) !important;
}

.selected_f6f816 .link_d8bfb3 * {
  color: var(--text-0) !important;
  fill: var(--text-0) !important;
}
