feat: 1:1 Yandex ID account menu, official WordsCard AI replies, VibeResetButton pill, and git.tatar updater

This commit is contained in:
marwy 2026-11-27 13:43:33 +03:00
parent 682e3579ab
commit 6c30a33a9b
28 changed files with 2574 additions and 461 deletions

View file

@ -113,15 +113,24 @@ pub enum Icon {
PauseFilledXs,
LinkXxs,
YandexPlusEn,
// Dedicated Yandex ID Profile & Appearance icons
// Dedicated Yandex ID Profile & Appearance icons (v2.79.0) + WordsCard thumbs
ProfileAccountXxs,
ProfileSettingsXxs,
ProfileSupportXxs,
ProfileGlobeXxs,
ProfileAppearanceXxs,
ProfileAddAccountXxs,
ProfileLogoutXxs,
ProfilePlusXxs,
ThemeSystemXxs,
ThemeDarkXxs,
ThemeLightXxs,
ThumbUpXxs,
ThumbDownXxs,
YandexIdLogoRuDark,
YandexIdLogoRuLight,
YandexIdLogoEnDark,
YandexIdLogoEnLight,
}
impl Icon {
@ -234,13 +243,22 @@ impl Icon {
Icon::LinkXxs => include_bytes!("../assets/icons/link_xxs.svg"),
Icon::YandexPlusEn => include_bytes!("../assets/icons/yandexPlusEn.svg"),
Icon::ProfileAccountXxs => include_bytes!("../assets/icons/profile_account_xxs.svg"),
Icon::ProfileSettingsXxs => include_bytes!("../assets/icons/profile_settings_xxs.svg"),
Icon::ProfileSupportXxs => include_bytes!("../assets/icons/profile_support_xxs.svg"),
Icon::ProfileGlobeXxs => include_bytes!("../assets/icons/profile_globe_xxs.svg"),
Icon::ProfileAppearanceXxs => include_bytes!("../assets/icons/profile_appearance_xxs.svg"),
Icon::ProfileAddAccountXxs => include_bytes!("../assets/icons/profile_add_account_xxs.svg"),
Icon::ProfileLogoutXxs => include_bytes!("../assets/icons/profile_logout_xxs.svg"),
Icon::ProfilePlusXxs => include_bytes!("../assets/icons/profile_plus_xxs.svg"),
Icon::ThemeSystemXxs => include_bytes!("../assets/icons/theme_system_xxs.svg"),
Icon::ThemeDarkXxs => include_bytes!("../assets/icons/theme_dark_xxs.svg"),
Icon::ThemeLightXxs => include_bytes!("../assets/icons/theme_light_xxs.svg"),
Icon::ThumbUpXxs => include_bytes!("../assets/icons/thumb_up_xxs.svg"),
Icon::ThumbDownXxs => include_bytes!("../assets/icons/thumb_down_xxs.svg"),
Icon::YandexIdLogoRuDark => include_bytes!("../assets/icons/yandex_id_logo_ru_dark.svg"),
Icon::YandexIdLogoRuLight => include_bytes!("../assets/icons/yandex_id_logo_ru_light.svg"),
Icon::YandexIdLogoEnDark => include_bytes!("../assets/icons/yandex_id_logo_en_dark.svg"),
Icon::YandexIdLogoEnLight => include_bytes!("../assets/icons/yandex_id_logo_en_light.svg"),
}
}
@ -249,6 +267,10 @@ impl Icon {
Icon::MusicLogoLeftEn => (276, 96),
Icon::MusicLogoLeftRu => (256, 72),
Icon::YandexPlusRu | Icon::YandexPlusEn => (160, 44),
Icon::YandexIdLogoRuDark
| Icon::YandexIdLogoRuLight
| Icon::YandexIdLogoEnDark
| Icon::YandexIdLogoEnLight => (124, 60),
Icon::MusicLogo | Icon::PlayFilled | Icon::PauseFilled | Icon::PlayLarge | Icon::PauseLarge => (72, 72),
_ => (48, 48),
}
@ -368,13 +390,22 @@ impl Icon {
Icon::LinkXxs,
Icon::YandexPlusEn,
Icon::ProfileAccountXxs,
Icon::ProfileSettingsXxs,
Icon::ProfileSupportXxs,
Icon::ProfileGlobeXxs,
Icon::ProfileAppearanceXxs,
Icon::ProfileAddAccountXxs,
Icon::ProfileLogoutXxs,
Icon::ProfilePlusXxs,
Icon::ThemeSystemXxs,
Icon::ThemeDarkXxs,
Icon::ThemeLightXxs,
Icon::ThumbUpXxs,
Icon::ThumbDownXxs,
Icon::YandexIdLogoRuDark,
Icon::YandexIdLogoRuLight,
Icon::YandexIdLogoEnDark,
Icon::YandexIdLogoEnLight,
];
}