2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Adjust main menu accounts to the mockup.

This commit is contained in:
John Preston
2022-02-10 12:56:57 +03:00
parent 7c5d27d7ce
commit bce19c7151
14 changed files with 263 additions and 237 deletions

View File

@@ -69,9 +69,15 @@ inline constexpr auto kIconPurple = 6;
inline constexpr auto kIconDarkOrange = 8;
inline constexpr auto kIconGray = 9;
enum class IconType {
Rounded,
Round,
};
struct IconDescriptor {
const style::icon *icon = nullptr;
int color = 0; // settingsIconBg{color}, 9 for settingsIconBgArchive.
IconType type = IconType::Rounded;
const style::color *background = nullptr;
explicit operator bool() const {