-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmidnight-kanagawa.css
143 lines (129 loc) · 5.08 KB
/
midnight-kanagawa.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/*
Credit to refact0r's midnight theme for discord
https://github.com/refact0r/midnight-discord
*/
@import url('https://refact0r.github.io/midnight-discord/midnight.css');
:root {
--fujiWhite: #DCD7BA;
--oldWhite: #C8C093;
--sumiInk0: #16161D;
--sumiInk1: #1F1F28;
--sumiInk2: #2A2A37;
--sumiInk3: #363646;
--sumiInk4: #54546D;
--waveBlue1: #223249;
--waveBlue2: #2D4F67;
--winterGreen: #2B3328;
--winterYellow: #49443C;
--winterRed: #43242B;
--winterBlue: #252535;
--autumnGreen: #76946A;
--autumnRed: #C34043;
--autumnYellow: #DCA561;
--samuraiRed: #E82424;
--roninYellow: #FF9E3B;
--waveAqua1: #6A9589;
--dragonBlue: #658594;
--fujiGray: #727169;
--springViolet1: #938AA9;
--oniViolet: #957FB8;
--crystalBlue: #7E9CD8;
--springViolet2: #9CABCA;
--springBlue: #7FB4CA;
--lightBlue: #A3D4D5;
--waveAqua2: #7AA89F;
--springGreen: #98BB6C;
--boatYellow1: #938056;
--boatYellow2: #C0A36E;
--carpYellow: #E6C384;
--sakuraPink: #D27E99;
--waveRed: #E46876;
--peachRed: #FF5D62;
--surimiOrange: #FFA066;
--katanaGrey: #717C7C;
/* top left corner text */
--corner-text: 'Kanagawa';
/* color of status indicators and window controls */
--online-indicator: var(--springGreen);
--dnd-indicator: var(--autumnRed);
--idle-indicator: var(--autumnYellow);
--streaming-indicator: var(--oniViolet);
/* accent colors */
--accent-1: var(--springBlue); /* links */
--accent-2: var(--fujiWhite); /* general unread/mention elements */
--accent-3: var(--fujiWhite); /* accent buttons */
--accent-4: var(--oldWhite); /* accent buttons when hovered */
--accent-5: var(--oldWhite); /* accent buttons when clicked */
--mention: hsla(220, 54%, 67%, 0.1); /* mentions & mention messages (--crystalBlue)*/
--mention-hover: hsla(220, 54%, 67%, 0.08); /* mentions & mention messages when hovered (--crystalBlue)*/
/* text colors */
--text-0: var(--bg-4); /* text on colored elements ????*/
--text-1: var(--fujiWhite); /* bright text on colored elements ????*/
--text-2: var(--fujiWhite); /* headings and important text */
--text-3: var(--fujiWhite); /* normal text */
--text-4: var(--katanaGrey); /* icon buttons and channels */
--text-5: var(--sumiInk4); /* muted channels/chats and timestamps */
/* background and dark colors */
--bg-1: var(--sumiInk3); /* dark buttons when clicked */
--bg-2: var(--sumiInk2); /* dark buttons */
--bg-3: var(--sumiInk0); /* spacing, secondary elements */
--bg-4: var(--sumiInk1); /* main background color */
--hover: var(--sumiInk2); /* channels and buttons when hovered */
--active: var(--sumiInk2); /* channels and buttons when clicked or selected */
--message-hover: hsla(240, 0%, 0%, 0.1); /* messages when hovered */
/* amount of spacing and padding */
--spacing: 12px;
/* animations */
/* ALL ANIMATIONS CAN BE DISABLED WITH REDUCED MOTION IN DISCORD SETTINGS */
--list-item-transition: 0.2s ease; /* channels/members/settings hover transition */
--unread-bar-transition: 0.2s ease; /* unread bar moving into view transition */
--moon-spin-transition: 0.4s ease; /* moon icon spin */
--icon-spin-transition: 1s ease; /* round icon button spin (settings, emoji, etc.) */
/* corner roundness (border-radius) */
--roundness-xl: 22px; /* roundness of big panel outer corners */
--roundness-l: 20px; /* popout panels */
--roundness-m: 16px; /* smaller panels, images, embeds */
--roundness-s: 12px; /* members, settings inputs */
--roundness-xs: 10px; /* channels, buttons */
--roundness-xxs: 8px; /* searchbar, small elements */
/* filter uncolorable elements to fit theme */
/* (just set to none, they're too much work to configure) */
--login-bg-filter: none; /* login background artwork */
--green-to-accent-3-filter: none; /* add friend page explore icon */
--blurple-to-accent-3-filter: none; /* add friend page school icon */
}
/* minified memberlist (midnight theme version) */
:root {
--collapsed: 62px;
--expanded: 240px;
--transition: 0.2s ease-out;
}
.membersWrap_cbd271 {
min-width: unset;
width: var(--collapsed);
transition: var(--transition);
height: 100%;
}
.members_cbd271,
.container_cbd271 {
width: var(--collapsed);
transition: var(--transition);
}
.membersWrap_cbd271:hover,
.membersWrap_cbd271:hover .members_cbd271,
.container_cbd271:hover {
width: var(--expanded);
}
.membersGroup_cbd271 {
height: 0;
padding-top: 0;
transition: var(--transition);
}
.membersWrap_cbd271:hover .membersGroup_cbd271 {
padding: 24px 8px 0 16px;
height: 40px;
}
.chat_a7d72e:has(.membersWrap_cbd271:not(:hover)) .searchBar_a46bef{
width: calc(var(--collapsed) - 24px) !important;
margin-left: calc(var(--spacing) + 8px);
}