/**
 * @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: #f3ecd4;     /* Green */
	--dnd-indicator: #5f8787;        /* Red */
	--idle-indicator: #eecc6c;       /* Yellow */
	--streaming-indicator: #999999;    /* Purple */

	/* accent colors */
	--accent-1: #888888;            /* links */
	--accent-2: #999999;            /* general unread/mention elements */
	--accent-3: #888888;            /* accent buttons */
	--accent-4: #aaaaaa;            /* accent buttons when hovered */
	--accent-5: #f3ecd4;            /* accent buttons when clicked */
	--mention:  rgba(153, 153, 153, 0.1); 
	--mention-hover: rgba(153, 153, 153, 0.2);

	/* text colors */
	--text-0: #000000;               /* text on colored elements */
	--text-1: #c1c1c1;               /* primary white-ish text */
	--text-2: #c1c1c1;               /* headings */
	--text-3: #c1c1c1;               /* normal text */
	--text-4: #999999;               /* icon buttons and channels */
	--text-5: #333333;               /* muted channels/timestamps */

	/* background and dark colors */
	--bg-1: #222222;                 /* dark buttons when clicked */
	--bg-2: #121212;                 /* dark buttons */
	--bg-3: #222222;                 /* spacing, secondary elements */
	--bg-4: #000000;                 /* main background color */
	--hover: #222222;                /* channels and buttons when hovered */
	--active: #333333;               /* channels and buttons when selected */
	--message-hover: rgba(18, 18, 18, 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;
}
