thelounge/client/js/constants.ts

34 lines
646 B
TypeScript
Raw Normal View History

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"],
];
2017-05-06 18:44:57 +00:00
const timeFormats = {
msgDefault: "HH:mm",
msgWithSeconds: "HH:mm:ss",
2020-02-29 09:37:45 +00:00
msg12h: "hh:mm A",
msg12hWithSeconds: "hh:mm:ss A",
2017-05-06 18:44:57 +00:00
};
export default {
colorCodeMap,
commands: [] as string[],
timeFormats,
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
};