2017-04-18 07:42:26 +00:00
|
|
|
"use strict";
|
|
|
|
|
2017-04-28 21:40:26 +00: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-11-05 10:37:55 +00:00
|
|
|
const condensedTypes = ["chghost", "join", "part", "quit", "nick", "kick", "mode"];
|
2018-03-05 00:59:16 +00:00
|
|
|
const condensedTypesQuery = "." + condensedTypes.join(", .");
|
2017-06-22 20:08:36 +00:00
|
|
|
|
2017-05-06 18:44:57 +00:00
|
|
|
const timeFormats = {
|
|
|
|
msgDefault: "HH:mm",
|
2017-11-15 06:35:15 +00:00
|
|
|
msgWithSeconds: "HH:mm:ss",
|
2017-05-06 18:44:57 +00:00
|
|
|
};
|
|
|
|
|
2019-08-09 20:20:08 +00:00
|
|
|
const sizeUnits = ["B", "KiB", "MiB", "GiB", "TiB"];
|
|
|
|
|
2019-11-16 17:24:03 +00:00
|
|
|
export default {
|
2018-03-05 00:59:16 +00:00
|
|
|
colorCodeMap,
|
2019-07-02 16:02:02 +00:00
|
|
|
commands: [],
|
2018-03-05 00:59:16 +00:00
|
|
|
condensedTypes,
|
|
|
|
condensedTypesQuery,
|
|
|
|
timeFormats,
|
2019-08-09 20:20:08 +00:00
|
|
|
sizeUnits,
|
2019-10-17 16:56:44 +00:00
|
|
|
// Same value as media query in CSS that forces sidebars to become overlays
|
|
|
|
mobileViewportPixels: 768,
|
2017-04-18 07:42:26 +00:00
|
|
|
};
|