mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-15 12:06:00 +02:00
bdf730b5c2
- Also added back "!" based on PR #354 for the "odd network" that uses it (by omnicons)
45 lines
796 B
TypeScript
45 lines
796 B
TypeScript
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"],
|
|
];
|
|
|
|
const timeFormats = {
|
|
msgDefault: "HH:mm",
|
|
msgWithSeconds: "HH:mm:ss",
|
|
msg12h: "hh:mm A",
|
|
msg12hWithSeconds: "hh:mm:ss A",
|
|
};
|
|
|
|
const modeCharToName = {
|
|
"~": "owner",
|
|
"&": "admin",
|
|
"!": "admin",
|
|
"@": "op",
|
|
"%": "half-op",
|
|
"+": "voice",
|
|
"": "normal",
|
|
};
|
|
|
|
export default {
|
|
colorCodeMap,
|
|
commands: [] as string[],
|
|
timeFormats,
|
|
modeCharToName,
|
|
// Same value as media query in CSS that forces sidebars to become overlays
|
|
mobileViewportPixels: 768,
|
|
};
|