-
Notifications
You must be signed in to change notification settings - Fork 0
/
botag.theme.css
41 lines (38 loc) · 1.23 KB
/
botag.theme.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
/**
* @name BoTag
* @version 1.0.0
* @description Replaces app for bot
* @author inventionpro
* @authorId 816691475844694047
* @source https://github.com/inventionpro/Discord-themes
*/
/* Detect type */
[class*="botTag_"], [data-tag="app"] {
--width: 24px;
--text: "BOT";
}
[class*="systemTag_"], [data-tag="oficial"], [data-tag="official"] {
--width: 52px;
--text: "OFFICIAL";
}
[data-tag="webhook"] {
--width: 62px;
--text: "WEBHOOK";
}
[class*="botTagOP_"] {
--width: 18px;
--color: var(--brand-560, #4752c4);
--text: "OP";
}
/* Hide old */
span[class*="botTag_"][data-tag="app"] [class*="botText_"], span[class*="botTag_"][data-tag="oficial"] [class*="botText_"], span[class*="botTag_"][data-tag="webhook"] [class*="botText_"], span[class*="botTag_"]:not([data-tag]) [class*="botText_"] {
width: var(--width);
display: inline-block;
color: transparent;
word-wrap: normal;
}
/* Add new */
span[class*="botTag_"][data-tag="app"] [class*="botText_"]::before, span[class*="botTag_"][data-tag="oficial"] [class*="botText_"]::before, span[class*="botTag_"][data-tag="webhook"] [class*="botText_"]::before, span[class*="botTag_"]:not([data-tag]) [class*="botText_"]::before {
content: var(--text);
color: var(--color, #fff);
}