Compare commits
3 Commits
b42a0ef9ec
...
7b598a98d3
Author | SHA1 | Date |
---|---|---|
marzavec | 7b598a98d3 | |
marzavec | 511d00b8a3 | |
xyzpw | c9b5d8b30b |
|
@ -977,7 +977,9 @@ var schemes = [
|
|||
'fried-egg',
|
||||
'rainbow',
|
||||
'amoled',
|
||||
'retro'
|
||||
'retro',
|
||||
'Waifu',
|
||||
'flamingo'
|
||||
];
|
||||
|
||||
var highlights = [
|
||||
|
|
|
@ -0,0 +1,51 @@
|
|||
body {
|
||||
background: #e59da1;
|
||||
color: #0d1c17;
|
||||
}
|
||||
input,
|
||||
textarea {
|
||||
color: #0d1c17;
|
||||
}
|
||||
.message {
|
||||
border-left: 1px solid #74736980;
|
||||
}
|
||||
.refmessage {
|
||||
border-left: 1px solid #747369;
|
||||
}
|
||||
.nick {
|
||||
color: #2b3493;
|
||||
}
|
||||
.trip {
|
||||
color: #515151;
|
||||
}
|
||||
.text a {
|
||||
color: #0d0fa4;
|
||||
}
|
||||
.admin .nick {
|
||||
color: #d40000;
|
||||
}
|
||||
.mod .nick {
|
||||
color: #1fad83;
|
||||
}
|
||||
.me .nick {
|
||||
color: #2b3493;
|
||||
}
|
||||
.info .nick,
|
||||
.info .text {
|
||||
color: #017201;
|
||||
}
|
||||
.warn .nick,
|
||||
.warn .text {
|
||||
color: #be2300;
|
||||
}
|
||||
#footer {
|
||||
background: #e59da1;
|
||||
}
|
||||
#sidebar {
|
||||
background: #93363e;
|
||||
border-color: #93363e;
|
||||
}
|
||||
#chatform {
|
||||
border-color: #000;
|
||||
background-color: #fc8eac;
|
||||
}
|
|
@ -97,7 +97,7 @@ export async function run({
|
|||
},
|
||||
};
|
||||
|
||||
// notify channel that the user has changed their name
|
||||
// notify channel that the user has changed their color
|
||||
// @todo this should be sent to every channel the user is in (multichannel)
|
||||
server.broadcast(updateNotice, { channel: socket.channel });
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ export async function run({
|
|||
|
||||
payload.channel = socket.channel; // eslint-disable-line no-param-reassign
|
||||
} else if (typeof payload.userid !== 'number') {
|
||||
// @todo create multi-ban ui
|
||||
if (typeof payload.userid !== 'object' && !Array.isArray(payload.userid)) {
|
||||
return true;
|
||||
}
|
||||
|
@ -98,7 +97,7 @@ export async function run({
|
|||
|
||||
// Move all kicked clients to the new channel
|
||||
for (let i = 0; i < kicked.length; i += 1) {
|
||||
// @todo multi-channel update
|
||||
// @todo Multichannel
|
||||
kicked[i].channel = destChannel;
|
||||
|
||||
server.broadcast({
|
||||
|
|
Loading…
Reference in New Issue