blob: b5e876c0a503924109c88e82e8721da24b1eb413 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
#pragma once
// Non-theme app configuration. Layouts, fonts spacing etc.
//
// Font sizes are in pixels.
namespace conf {
// Global settings.
static constexpr int fontSize = 12;
static constexpr int textInputFontSize = 14;
static constexpr int emojiSize = 14;
static constexpr int headerFontSize = 21;
static constexpr int typingNotificationFontSize = 11;
// Window geometry.
namespace window {
static constexpr int height = 600;
static constexpr int width = 1066;
static constexpr int minHeight = height;
static constexpr int minWidth = 950;
} // namespace window
namespace textInput {
static constexpr int height = 50;
}
namespace sidebarActions {
static constexpr int height = textInput::height;
static constexpr int iconSize = 28;
}
// Button settings.
namespace btn {
static constexpr int fontSize = 20;
static constexpr int cornerRadius = 3;
} // namespace btn
// RoomList specific.
namespace roomlist {
namespace fonts {
static constexpr int heading = 13;
static constexpr int badge = 10;
static constexpr int bubble = 20;
} // namespace fonts
} // namespace roomlist
namespace userInfoWidget {
namespace fonts {
static constexpr int displayName = 16;
static constexpr int userid = 14;
} // namespace fonts
} // namespace userInfoWidget
namespace topRoomBar {
namespace fonts {
static constexpr int roomName = 15;
static constexpr int roomDescription = 13;
} // namespace fonts
} // namespace topRoomBar
namespace timeline {
static constexpr int msgMargin = 11;
static constexpr int avatarSize = 36;
static constexpr int headerSpacing = 5;
static constexpr int headerLeftMargin = 15;
namespace fonts {
static constexpr int timestamp = 9;
} // namespace fonts
} // namespace timeline
} // namespace conf
|