-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitial-dcord.theme.css
More file actions
352 lines (277 loc) · 8.37 KB
/
initial-dcord.theme.css
File metadata and controls
352 lines (277 loc) · 8.37 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
/**
* @name Initial Dcord
* @author Seramicx
* @version 7.0.1
* @description My personal theme with an Initial D aesthetic, custom hover animations, and tweaked visuals.
* @source https://github.com/ClearVision/ClearVision-v7
* @website https://clearvision.github.io
* @invite dHaSxn3
*/
@import url("https://clearvision.github.io/ClearVision-v7/main.css");
@import url("https://clearvision.github.io/ClearVision-v7/vencord.css");
:root {
/* Accent colors */
--main-color: #E12C69;
--hover-color: #A10137;
--success-color: #D93BB6;
--danger-color: #ED4245;
/* App background */
--background-shading-percent: 100%;
--background-image: url('https://i.imgur.com/RRp4fPD.gif');
--background-position: center;
--background-size: cover;
--background-attachment: fixed;
--background-filter: saturate(calc(var(--saturation-factor, 1) * 1));
--background-overlay: rgba(8, 0, 0, 0.6);
/* User popout background */
--user-popout-image: url('https://i.imgur.com/FLsXABC.gif');
--user-popout-position: center;
--user-popout-size: cover;
--user-popout-attachment: fixed;
--user-popout-filter: blur(3px);
/* User modal background */
--user-modal-image: url('https://i.imgur.com/zZWPEy6.gif');
--user-modal-position: center;
--user-modal-size: cover;
--user-modal-attachment: fixed;
--user-modal-filter: blur(3px);
/* Home icon */
--home-icon: url('https://i.postimg.cc/BQN254fW/4862052-0.png');
--home-size: 68px;
/* Fonts */
--main-font: gg sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--code-font: 'Consolas', 'Courier New', monospace;
/* Channel colors */
--channel-normal: var(--interactive-text-default);
--channel-muted: var(--interactive-muted);
--channel-unread: #FFFFFF;
--channel-hover: var(--interactive-text-hover);
--channel-selected: var(--interactive-text-active);
--channel-selected-bg: var(--main-color);
--channel-unread-hover: var(--hover-color);
/* Status colors */
--online-color: #00B361;
--idle-color: #faa61a;
--dnd-color: #982929;
--streaming-color: #593695;
--offline-color: #717171;
/* Accessibility */
--focus-color: var(--main-color);
}
/* Light theme */
:is(.theme-light, .theme-dark .theme-light) {
--background-shading: rgba(252, 252, 252, 0.3);
--card-shading: rgba(252, 252, 252, 0.3);
--popout-shading: rgba(252, 252, 252, 0.7);
--modal-shading: rgba(252, 252, 252, 0.5);
--input-shading: rgba(0, 0, 0, 0.3);
--normal-text: #36363c;
--muted-text: #75757e;
}
/* Ash theme (Discord default dark) */
:is(.theme-dark, .theme-light .theme-dark) {
--background-shading: rgba(0, 0, 0, 0.4);
--card-shading: rgba(0, 0, 0, 0.2);
--popout-shading: rgba(0, 0, 0, 0.6);
--modal-shading: rgba(0, 0, 0, 0.4);
--input-shading: rgba(255, 255, 255, 0.05);
--normal-text: #ddd8d5;
--muted-text: #b2aead;
}
/* Dark theme */
:is(.theme-darker, .theme-light .theme-darker) {
--background-shading: rgba(0, 0, 0, 0.6);
--card-shading: rgba(0, 0, 0, 0.3);
--popout-shading: rgba(0, 0, 0, 0.7);
--modal-shading: rgba(0, 0, 0, 0.5);
--input-shading: rgba(255, 255, 255, 0.05);
--normal-text: #faf8f6;
--muted-text: #9a9496;
}
/* Onyx theme */
:is(.theme-midnight, .theme-light .theme-midnight) {
--background-shading: rgba(0, 0, 0, 0.8);
--card-shading: rgba(0, 0, 0, 0.4);
--popout-shading: rgba(0, 0, 0, 0.8);
--modal-shading: rgba(0, 0, 0, 0.6);
--input-shading: rgba(255, 255, 255, 0.05);
--normal-text: #e0dbd9;
--muted-text: #8e8688;
}
/* ==============================================
Custom CSS - Initial D hover effects + fixes
Animations only use transform/opacity (GPU)
============================================== */
/* Keyframes */
@keyframes scaleIn {
from {
transform: scale(0.92);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
@keyframes slideUp {
from {
transform: translateY(8px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes slideInLeft {
from {
transform: translateX(-8px);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
/* Server icon scale on hover (scoped to guild sidebar so picker icons aren't affected) */
nav[class*="guilds"] [class*="listItem"] {
transition: transform 0.2s ease;
}
nav[class*="guilds"] [class*="listItem"]:hover {
transform: scale(1.08);
}
/* Server folder icon color */
[class*="folderIcon"] {
color: var(--main-color);
}
/* Channel hover: nudge + accent bar (excludes category headers via :has) */
/* Targets the inner link so thread connector spines stay aligned */
[class*="containerDefault_"]:has([class*="link_"]) [class*="link_"] {
transition: transform 0.15s ease;
}
[class*="containerDefault_"]:has([class*="link_"]):hover [class*="link_"] {
transform: translateX(4px);
}
[class*="containerDefault_"]:has([class*="link_"]):hover,
[class*="containerDragAfter_"]:hover,
[class*="containerDragBefore_"]:hover {
box-shadow: inset 3px 0 0 var(--main-color);
}
/* Message hover accent bar */
[class*="message_"][class*="cozy_"] {
transition: opacity 0.15s ease;
}
[class*="message_"][class*="cozy_"]:hover {
opacity: 0.88;
box-shadow: inset 3px 0 0 var(--main-color);
}
/* Button press-in effect */
[class*="button_"][class*="lookFilled_"],
[class*="button_"][class*="lookOutlined_"] {
transition: transform 0.1s ease;
}
[class*="button_"][class*="lookFilled_"]:hover,
[class*="button_"][class*="lookOutlined_"]:hover {
transform: scale(1.04);
}
[class*="button_"][class*="lookFilled_"]:active,
[class*="button_"][class*="lookOutlined_"]:active {
transform: scale(0.96);
}
/* Member list slide on hover */
[class*="member_"] {
transition: transform 0.15s ease, opacity 0.15s ease;
}
[class*="member_"]:hover {
transform: translateX(3px);
}
/* Popout corners + entrance animation
Animating the container breaks ClearVision's ::before bg layering
so the animation goes on the first child instead */
.user-profile-popout {
border-radius: 16px !important;
overflow: hidden !important;
}
.user-profile-popout> :first-child {
animation: slideUp 0.2s ease-out;
}
/* Modal corners + entrance (same deal as popout above) */
.user-profile-modal,
.user-profile-modal-v2 {
border-radius: 16px !important;
overflow: hidden !important;
}
.user-profile-modal> :first-child,
.user-profile-modal-v2> :first-child {
animation: scaleIn 0.25s ease-out;
}
/* Sticker picker header padding fix (ClearVision's packHeader pulls it left) */
[class*="packHeader"],
[class*="sectionContainer"] {
margin-left: 0 !important;
padding-left: 8px !important;
}
/* Board + Wishlist cards: not styled by ClearVision yet so they show up as default gray.
These match the Activity tab's transparent dark bg.
Hashes: container__62dd3 (Board), card__9ed47 (Wishlist)
If they break after an update, re-inspect in DevTools and swap the hashes */
.container__62dd3,
.card__9ed47 {
background: rgba(0, 0, 0, 0.4) !important;
border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
/* Context menu slide-in (no 'forwards' so transform clears after animation, won't break submenus) */
[class*="menu_"] {
animation: slideInLeft 0.12s ease;
}
/* Tooltips */
[class*="tooltip_"] {
animation: scaleIn 0.1s ease forwards;
}
/* Selected/connected channel accent */
[class*="containerDefault_"][class*="modeSelected_"],
[class*="containerDefault_"][class*="modeConnected_"] {
box-shadow: inset 3px 0 0 var(--main-color), inset 6px 0 12px -6px var(--main-color);
}
/* Role pills */
[class*="role_"] {
transition: transform 0.12s ease;
}
[class*="role_"]:hover {
transform: scale(1.06);
}
/* Typing indicator */
[class*="typing_"] {
animation: scaleIn 0.15s ease forwards;
}
/* Voice connection indicator glow */
[class*="rtcConnectionStatus_"] {
box-shadow: 0 0 4px var(--success-color);
}
/* Scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--main-color);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--hover-color);
}
/* Unread indicator glow (scoped to guild sidebar pill only) */
nav[class*="guilds"] [class*="unread_"] {
box-shadow: 0 0 6px var(--main-color);
}
/* Reduced motion a11y fallback */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}