forked from KeyZox71/seekersrealcolor
-
Notifications
You must be signed in to change notification settings - Fork 2
/
styling.js
24 lines (22 loc) · 1.05 KB
/
styling.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Check if Seekers
if (document.body.textContent.includes('Seekers'))
{
console.log('✅ he is a gigachad');
var css = ':root { \n --theme-color: #D950FF;\n --theme-color-dark: #9d36ad;\n --theme-color-light: #e99cff;\n --logtime-chart-24h-color: #e99cff;\n}\n.coalition-flag--flag { \n fill: #D950FF !important;\n}\n.coalition-span {\n color: #D950FF !important;\n}\n#metrics li {\n background-color: #d950ff !important;\n}\n#metrics ol {\n border-left: 1px solid rgb(217, 50, 255) !important;\n}\n.progress-bar {\n background: #d950ff !important;\n}\ndiv#coalition-top-body a {\n color: #d950ff !important;\n}\ndiv#coalition-global-data a {\n color: #d950ff !important;\n}\n';
head = document.head || document.getElementsByTagName('head')[0],
style = document.createElement('style');
head.appendChild(style);
style.type = 'text/css';
if (style.styleSheet)
{
// This is required for IE8 and below.
style.styleSheet.cssText = css;
}
else {
style.appendChild(document.createTextNode(css));
}
}
else
{
console.log('⛔️ booooo loosers');
}