Compare commits

...

3 Commits

Author SHA1 Message Date
marzavec 7b598a98d3 small changes 2024-03-04 11:30:09 -06:00
marzavec 511d00b8a3
Merge pull request #231 from xyzpw/master
flamingo theme
2024-03-04 11:28:54 -06:00
xyzpw c9b5d8b30b flamingo theme 2024-02-23 19:06:54 -05:00
4 changed files with 56 additions and 4 deletions

View File

@ -977,7 +977,9 @@ var schemes = [
'fried-egg',
'rainbow',
'amoled',
'retro'
'retro',
'Waifu',
'flamingo'
];
var highlights = [

View File

@ -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;
}

View File

@ -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 });

View File

@ -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({