2017-04-18 09:42:26 +02:00
|
|
|
"use strict";
|
|
|
|
|
2017-04-28 23:40:26 +02:00
|
|
|
const colorCodeMap = [
|
|
|
|
["00", "White"],
|
|
|
|
["01", "Black"],
|
|
|
|
["02", "Blue"],
|
|
|
|
["03", "Green"],
|
|
|
|
["04", "Red"],
|
|
|
|
["05", "Brown"],
|
|
|
|
["06", "Magenta"],
|
|
|
|
["07", "Orange"],
|
|
|
|
["08", "Yellow"],
|
|
|
|
["09", "Light Green"],
|
|
|
|
["10", "Cyan"],
|
|
|
|
["11", "Light Cyan"],
|
|
|
|
["12", "Light Blue"],
|
|
|
|
["13", "Pink"],
|
|
|
|
["14", "Grey"],
|
|
|
|
["15", "Light Grey"],
|
|
|
|
];
|
|
|
|
|
2019-12-17 11:48:12 +01:00
|
|
|
const condensedTypes = new Set(["chghost", "join", "part", "quit", "nick", "kick", "mode"]);
|
2017-06-22 22:08:36 +02:00
|
|
|
|
2017-05-06 20:44:57 +02:00
|
|
|
const timeFormats = {
|
|
|
|
msgDefault: "HH:mm",
|
2017-11-15 07:35:15 +01:00
|
|
|
msgWithSeconds: "HH:mm:ss",
|
2020-02-29 10:37:45 +01:00
|
|
|
msg12h: "hh:mm A",
|
|
|
|
msg12hWithSeconds: "hh:mm:ss A",
|
2017-05-06 20:44:57 +02:00
|
|
|
};
|
|
|
|
|
2019-12-17 23:10:50 +01:00
|
|
|
// This file is required by server, can't use es6 export
|
|
|
|
module.exports = {
|
2018-03-05 01:59:16 +01:00
|
|
|
colorCodeMap,
|
2019-07-02 18:02:02 +02:00
|
|
|
commands: [],
|
2018-03-05 01:59:16 +01:00
|
|
|
condensedTypes,
|
|
|
|
timeFormats,
|
2019-10-17 18:56:44 +02:00
|
|
|
// Same value as media query in CSS that forces sidebars to become overlays
|
|
|
|
mobileViewportPixels: 768,
|
2017-04-18 09:42:26 +02:00
|
|
|
};
|