use crate::{Attheme, Color};
use palette::{encoding, Alpha, Hsv, Srgb};
pub fn mono(accent: Hsv<encoding::Srgb, f64>) -> Attheme {
let mut theme = Attheme::with_capacity(626);
theme.variables.insert(
String::from("actionBarActionModeDefault"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.6733972657652,
accent.saturation * 0.1546558197197,
accent.value.mul_add(0.0591004298775, 0.1220845076864),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarActionModeDefaultIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("actionBarActionModeDefaultSelector"),
Color::new(240, 240, 240, 255),
);
theme.variables.insert(
String::from("actionBarActionModeDefaultTop"),
Color::new(0, 0, 0, 16),
);
theme.variables.insert(
String::from("actionBarBrowser"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1691472144436,
accent.saturation * 0.8110844673423,
accent.value.mul_add(0.5869805206956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarDefault"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1535529090453,
accent.saturation * 0.3624259503000,
accent.value.mul_add(0.2110926443911, 0.1105676733916),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarDefaultArchived"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("actionBarDefaultArchivedIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("actionBarDefaultArchivedSearch"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.7184299513391,
accent.saturation * 0.3528389011777,
accent.value.mul_add(0.1427301902258, 0.0792114147926),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarDefaultArchivedSelector"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("actionBarDefaultArchivedTitle"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("actionBarDefaultIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("actionBarDefaultSearch"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("actionBarDefaultSearchArchivedPlaceholder"),
Color::new(255, 255, 255, 136),
);
theme.variables.insert(
String::from("actionBarDefaultSearchPlaceholder"),
Color::new(255, 255, 255, 136),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3853509503887,
accent.saturation * 0.8714190361663,
accent.value.mul_add(0.4746106880331, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarDefaultSelector"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("actionBarDefaultSubmenuBackground"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("actionBarDefaultSubmenuItem"),
Color::new(34, 34, 34, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.3756864759279,
accent.saturation * 0.1716853435276,
accent.value.mul_add(0.0668746030741, 0.1203022721119),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarDefaultSubmenuItemIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.5624111434588,
accent.saturation * 0.2999480095316,
accent.value.mul_add(0.6706793516119, 0.5116335074553),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarDefaultSubtitle"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("actionBarDefaultTitle"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("actionBarTabActiveText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("actionBarTabLine"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3853509503887,
accent.saturation * 0.8714190361663,
accent.value.mul_add(0.4746106880331, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarTabSelector"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.5624111434588,
accent.saturation * 0.2999480095316,
accent.value.mul_add(0.6706793516119, 0.5116335074553),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("actionBarTabUnactiveText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("actionBarWhiteSelector"),
Color::new(0, 0, 0, 47),
);
theme.variables.insert(
String::from("avatar_actionBarIconBlue"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.5940114934036,
accent.saturation * 0.8858473127376,
accent.value.mul_add(0.6697301245778, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("avatar_actionBarSelectorBlue"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.2883653126515,
accent.saturation * 0.8394610504944,
accent.value.mul_add(0.7869423386469, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("avatar_backgroundActionBarBlue"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.6930017168419,
accent.saturation * 0.2697961501724,
accent.value.mul_add(0.3458775333324, 0.3174625228408),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("avatar_backgroundArchived"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.7689186956253,
accent.saturation * 0.9073974901062,
accent.value.mul_add(1.5321058291583, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("avatar_backgroundArchivedHidden"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("avatar_backgroundBlue"),
Color::new(84, 156, 221, 255),
);
theme.variables.insert(
String::from("avatar_backgroundCyan"),
Color::new(95, 190, 213, 255),
);
theme.variables.insert(
String::from("avatar_backgroundGreen"),
Color::new(118, 200, 77, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.5366920701112,
accent.saturation * 0.1572835392874,
accent.value.mul_add(0.3516836878271, 0.7106741667731),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("avatar_backgroundGroupCreateSpanBlue"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.2385537998984,
accent.saturation * 0.8615830532667,
accent.value.mul_add(0.7046235301260, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("avatar_backgroundInProfileBlue"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("avatar_backgroundOrange"),
Color::new(242, 140, 72, 255),
);
theme.variables.insert(
String::from("avatar_backgroundPink"),
Color::new(242, 116, 154, 255),
);
theme.variables.insert(
String::from("avatar_backgroundRed"),
Color::new(229, 101, 85, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.7689186956253,
accent.saturation * 0.9073974901062,
accent.value.mul_add(1.5321058291583, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("avatar_backgroundSaved"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("avatar_backgroundViolet"),
Color::new(142, 133, 238, 255),
);
theme.variables.insert(
String::from("avatar_nameInMessageBlue"),
Color::new(47, 131, 196, 255),
);
theme.variables.insert(
String::from("avatar_nameInMessageCyan"),
Color::new(97, 192, 217, 255),
);
theme.variables.insert(
String::from("avatar_nameInMessageGreen"),
Color::new(80, 178, 50, 255),
);
theme.variables.insert(
String::from("avatar_nameInMessageOrange"),
Color::new(216, 123, 41, 255),
);
theme.variables.insert(
String::from("avatar_nameInMessagePink"),
Color::new(210, 104, 149, 255),
);
theme.variables.insert(
String::from("avatar_nameInMessageRed"),
Color::new(202, 86, 80, 255),
);
theme.variables.insert(
String::from("avatar_nameInMessageViolet"),
Color::new(128, 109, 207, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.5678020840994,
accent.saturation * 0.3047395901158,
accent.value.mul_add(0.7003399535877, 0.5189889615030),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("avatar_subtitleInProfileBlue"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("avatar_text"), Color::new(255, 255, 255, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.3159958905219,
accent.saturation * 0.9893323229342,
accent.value.mul_add(1.3833525732890, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("calls_callReceivedGreenIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("calls_callReceivedRedIcon"),
Color::new(255, 72, 72, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.1205975842101,
accent.saturation * 0.1491513605033,
accent.value.mul_add(0.2001983535709, 0.4334245465274),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("changephoneinfo_image"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.2185105585112,
accent.saturation * 0.9511222949228,
accent.value.mul_add(1.3186506152858, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("changephoneinfo_image2"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.9772547344621,
accent.saturation * 1.0163952580434,
accent.value.mul_add(1.1826237989109, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_addContact"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_adminSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_adminText"),
Alpha {
color: rgb,
alpha: 230,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.5669820770772,
accent.saturation * 1.0156639944935,
accent.value.mul_add(1.4633920100956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_attachActiveTab"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_attachAudioBackground"),
Color::new(235, 96, 96, 255),
);
theme.variables.insert(
String::from("chat_attachAudioIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.7563864885022,
accent.saturation * 1.0075131531465,
accent.value.mul_add(1.4906568923044, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_attachCheckBoxBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_attachCheckBoxCheck"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_attachContactBackground"),
Color::new(242, 192, 75, 255),
);
theme.variables.insert(
String::from("chat_attachContactIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_attachEmptyImage"),
Color::new(204, 204, 204, 255),
);
theme.variables.insert(
String::from("chat_attachFileBackground"),
Color::new(52, 185, 241, 255),
);
theme.variables.insert(
String::from("chat_attachFileIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_attachGalleryBackground"),
Color::new(69, 157, 245, 255),
);
theme.variables.insert(
String::from("chat_attachGalleryIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.1571377059758,
accent.saturation * 0.2473998537817,
accent.value.mul_add(0.3591256688773, 0.3797471458421),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_attachHideBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_attachLocationBackground"),
Color::new(54, 199, 102, 255),
);
theme.variables.insert(
String::from("chat_attachLocationIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_attachMediaBanBackground"),
Color::new(70, 70, 70, 255),
);
theme.variables.insert(
String::from("chat_attachMediaBanText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_attachPermissionImage"),
Color::new(51, 51, 51, 255),
);
theme.variables.insert(
String::from("chat_attachPermissionMark"),
Color::new(226, 80, 80, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -20.4091538562399,
accent.saturation * 0.1930857493594,
accent.value.mul_add(0.0903372957584, 0.1382509359973),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_attachPermissionText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_attachPhotoBackground"),
Color::new(0, 0, 0, 8),
);
theme.variables.insert(
String::from("chat_attachPollBackground"),
Color::new(242, 192, 75, 255),
);
theme.variables.insert(
String::from("chat_attachPollIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.7381730004780,
accent.saturation * 0.1679023040544,
accent.value.mul_add(0.1380092883239, 0.2558020953113),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_attachUnactiveTab"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_botButtonText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -13.2703288329572,
accent.saturation * 0.0504717057575,
accent.value.mul_add(0.0988685267024, 0.7531565275705),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_botKeyboardButtonBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -14.6216068663545,
accent.saturation * 0.0873151435579,
accent.value.mul_add(0.1381964924039, 0.5721456797510),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_botKeyboardButtonBackgroundPressed"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -15.4259158125330,
accent.saturation * 0.5566470739965,
accent.value.mul_add(0.1046287556515, 0.0129032224484),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_botKeyboardButtonText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_botProgress"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3463954087222,
accent.saturation * 0.9559103412011,
accent.value.mul_add(0.9677334441603, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_botSwitchToInlineText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.0315798898449,
accent.saturation * 0.1607981651056,
accent.value.mul_add(0.1196278696778, 0.2348258703981),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiBottomPanelIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.2800775730916,
accent.saturation * 0.0481653518316,
accent.value.mul_add(0.1057271865507, 0.8471290750625),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.0315798898449,
accent.saturation * 0.1607981651056,
accent.value.mul_add(0.1196278696778, 0.2348258703981),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelBackspace"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.0923543948173,
accent.saturation * 0.9588154570535,
accent.value.mul_add(1.3186506152858, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelBadgeBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_emojiPanelBadgeText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.9788300281272,
accent.saturation * 0.1781939116355,
accent.value.mul_add(0.1526739596939, 0.2611376404567),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelEmptyText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.6509144185818,
accent.saturation * 0.1813470320303,
accent.value.mul_add(0.1775396437109, 0.2964625062741),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.7239809267167,
accent.saturation * 1.0203969088241,
accent.value.mul_add(1.2188666377262, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelIconSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_emojiPanelMasksIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -12.4223737958632,
accent.saturation * 0.8943604112657,
accent.value.mul_add(1.2932748110868, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelMasksIconSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.0923543948173,
accent.saturation * 0.9588154570535,
accent.value.mul_add(1.3186506152858, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelNewTrending"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_emojiPanelShadowLine"),
Color::new(0, 0, 0, 18),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -13.2686282304831,
accent.saturation * 0.0508777410867,
accent.value.mul_add(0.0977382765369, 0.7381179247048),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelStickerPackSelector"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.6968194661380,
accent.saturation * 0.9413226696191,
accent.value.mul_add(1.3965103087065, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelStickerPackSelectorLine"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.2418882998387,
accent.saturation * 0.2594672407303,
accent.value.mul_add(0.1847188884676, 0.1808810008003),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelStickerSetName"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 1.0668885278455,
accent.saturation * 1.0236886541993,
accent.value.mul_add(1.1352896583547, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelStickerSetNameHighlight"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.1666188929869,
accent.saturation * 0.1325062698414,
accent.value.mul_add(0.1601919198639, 0.4029330449711),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiPanelStickerSetNameIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_emojiPanelTrendingDescription"),
Color::new(138, 138, 138, 255),
);
theme.variables.insert(
String::from("chat_emojiPanelTrendingTitle"),
Color::new(34, 34, 34, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.7662125491524,
accent.saturation * 0.0880759330911,
accent.value.mul_add(0.1810313749507, 0.7420362005045),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiSearchBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.7541402636128,
accent.saturation * 0.3258601648125,
accent.value.mul_add(0.3358221717531, 0.2191507627936),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_emojiSearchIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.1643292350215,
accent.saturation * 0.9824083692989,
accent.value.mul_add(1.0000000000000, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_fieldOverlayText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_gifSaveHintBackground"),
Color::new(17, 17, 17, 204),
);
theme.variables.insert(
String::from("chat_gifSaveHintText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_goDownButton"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_goDownButtonCounter"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.9850035686691,
accent.saturation * 0.9569503075457,
accent.value.mul_add(1.2932748110868, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_goDownButtonCounterBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.9490966842094,
accent.saturation * 0.1841677195171,
accent.value.mul_add(0.1451201365475, 0.2372288808164),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_goDownButtonIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_goDownButtonShadow"),
Color::new(0, 0, 0, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.9685168500581,
accent.saturation * 0.1155565188828,
accent.value.mul_add(0.2420638047871, 0.7203288927535),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioCacheSeekbar"),
Alpha {
color: rgb,
alpha: 63,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioDurationSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioDurationText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.3847510939415,
accent.saturation * 0.2963434900797,
accent.value.mul_add(0.0281731089131, 0.0219673312046),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioPerfomerSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.3847510939415,
accent.saturation * 0.2963434900797,
accent.value.mul_add(0.0281731089131, 0.0219673312046),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioPerfomerText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_inAudioProgress"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.9685168500581,
accent.saturation * 0.1155565188828,
accent.value.mul_add(0.2420638047871, 0.7203288927535),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioSeekbar"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.0777632905738,
accent.saturation * 0.8341142153722,
accent.value.mul_add(1.2932748110868, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioSeekbarFill"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -22.3827533968464,
accent.saturation * 0.3971072699310,
accent.value.mul_add(0.7703532442519, 0.3262823456577),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioSeekbarSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -12.8957392691504,
accent.saturation * 0.1360481475313,
accent.value.mul_add(0.3241494319008, 0.7888456906237),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioSelectedProgress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.9946171896966,
accent.saturation * 0.8049572936954,
accent.value.mul_add(0.0700926370335, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inAudioTitleText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_inBubble"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -15.6685636360184,
accent.saturation * 0.1539114869200,
accent.value.mul_add(0.3634356717513, 0.7554810862385),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inBubbleSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 1.5695926067866,
accent.saturation * 0.9041809707200,
accent.value.mul_add(0.1386313349223, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inBubbleShadow"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inContactBackground"),
Alpha {
color: rgb,
alpha: 230,
},
);
}
theme.variables.insert(
String::from("chat_inContactIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.1164903544891,
accent.saturation * 0.8879413882124,
accent.value.mul_add(0.0570570109097, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inContactNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inContactPhoneSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inContactPhoneText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("chat_inDownCall"), Color::new(0, 200, 83, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.0631694681893,
accent.saturation * 0.0950215381055,
accent.value.mul_add(0.2085806394760, 0.7829525942902),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inFileBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -19.2023585013542,
accent.saturation * 0.3709439980281,
accent.value.mul_add(0.8218196126839, 0.4087989688608),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inFileBackgroundSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.2929553010597,
accent.saturation * 0.3871684042196,
accent.value.mul_add(0.5315757821754, 0.2394425962138),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inFileIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inFileInfoSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inFileInfoText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.1164903544891,
accent.saturation * 0.8879413882124,
accent.value.mul_add(0.0570570109097, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inFileNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_inFileProgress"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -19.2023585013542,
accent.saturation * 0.3709439980281,
accent.value.mul_add(0.8218196126839, 0.4087989688608),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inFileProgressSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -20.2854308119482,
accent.saturation * 0.5965647492700,
accent.value.mul_add(0.8007387944656, 0.0587110978101),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inFileSelectedIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.0000000000000,
accent.saturation * 1.0000000000000,
accent.value.mul_add(1.0000000000000, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inForwardedNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.3159958905219,
accent.saturation * 0.9893323229342,
accent.value.mul_add(1.3833525732890, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inGreenCall"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.5214696497091,
accent.saturation * 1.0348853529563,
accent.value.mul_add(1.2188666377262, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inInstant"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.5214696497091,
accent.saturation * 1.0348853529563,
accent.value.mul_add(1.2188666377262, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inInstantSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inLoader"),
Alpha {
color: rgb,
alpha: 230,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -10.2165174981622,
accent.saturation * 0.3946201502801,
accent.value.mul_add(0.5479311264998, 0.2356931201279),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inLoaderPhoto"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_inLoaderPhotoIcon"),
Color::new(252, 252, 252, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.0631694681893,
accent.saturation * 0.0950215381055,
accent.value.mul_add(0.2085806394760, 0.7829525942902),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inLoaderPhotoIconSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.2929553010597,
accent.saturation * 0.3871684042196,
accent.value.mul_add(0.5315757821754, 0.2394425962138),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inLoaderPhotoSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inLoaderSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.0631694681893,
accent.saturation * 0.0950215381055,
accent.value.mul_add(0.2085806394760, 0.7829525942902),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inLocationBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.2929553010597,
accent.saturation * 0.3871684042196,
accent.value.mul_add(0.5315757821754, 0.2394425962138),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inLocationIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_inMediaIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -12.8957392691504,
accent.saturation * 0.1360481475313,
accent.value.mul_add(0.3241494319008, 0.7888456906237),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inMediaIconSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.7064461398155,
accent.saturation * 0.1709263961573,
accent.value.mul_add(0.2294258864085, 0.4151877236904),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inMenu"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -20.8686037528141,
accent.saturation * 0.5177407299076,
accent.value.mul_add(0.7682049543394, 0.1378770982233),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inMenuSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.1643292350215,
accent.saturation * 0.9824083692989,
accent.value.mul_add(1.0000000000000, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inPreviewInstantSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.3623405014486,
accent.saturation * 1.0298685356007,
accent.value.mul_add(1.1826237989109, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inPreviewInstantText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.3359129544373,
accent.saturation * 1.0072269156244,
accent.value.mul_add(1.3833525732890, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inPreviewLine"),
Alpha {
color: rgb,
alpha: 235,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.3359129544373,
accent.saturation * 1.0072269156244,
accent.value.mul_add(1.3833525732890, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inReplyLine"),
Alpha {
color: rgb,
alpha: 235,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inReplyMediaMessageSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inReplyMediaMessageText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_inReplyMessageText"),
Color::new(0, 0, 0, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.1643292350215,
accent.saturation * 0.9824083692989,
accent.value.mul_add(1.0000000000000, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inReplyNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inSentClock"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inSentClockSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.1952118534554,
accent.saturation * 0.9800708354520,
accent.value.mul_add(0.9050438348962, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inSiteNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inTimeSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inTimeText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("chat_inUpCall"), Color::new(255, 72, 72, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inVenueInfoSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inVenueInfoText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.0000000000000,
accent.saturation * 1.0000000000000,
accent.value.mul_add(1.0000000000000, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inViaBotNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inViews"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -21.1867483476213,
accent.saturation * 0.5595042643425,
accent.value.mul_add(0.7172821210240, 0.0857207708348),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inViewsSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.2245823438666,
accent.saturation * 0.1272470889769,
accent.value.mul_add(0.2541340360053, 0.6722003041308),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inVoiceSeekbar"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.0777632905738,
accent.saturation * 0.8341142153722,
accent.value.mul_add(1.2932748110868, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inVoiceSeekbarFill"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -22.3827533968464,
accent.saturation * 0.3971072699310,
accent.value.mul_add(0.7703532442519, 0.3262823456577),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inVoiceSeekbarSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.6922259543796,
accent.saturation * 0.8875304478464,
accent.value.mul_add(0.9677334441603, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_inlineResultIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.9821804816816,
accent.saturation * 0.8863030787996,
accent.value.mul_add(1.2310895971864, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_linkSelectBackground"),
Alpha {
color: rgb,
alpha: 51,
},
);
}
theme.variables.insert(
String::from("chat_lockIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaBroadcast"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaInfoText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaLoaderPhoto"),
Color::new(0, 0, 0, 102),
);
theme.variables.insert(
String::from("chat_mediaLoaderPhotoIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaLoaderPhotoIconSelected"),
Color::new(217, 217, 217, 255),
);
theme.variables.insert(
String::from("chat_mediaLoaderPhotoSelected"),
Color::new(0, 0, 0, 127),
);
theme.variables.insert(
String::from("chat_mediaMenu"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaProgress"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaSentCheck"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaSentClock"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaTimeBackground"),
Color::new(0, 0, 0, 102),
);
theme.variables.insert(
String::from("chat_mediaTimeText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_mediaViews"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 1.9634476533275,
accent.saturation * 1.0340884089573,
accent.value.mul_add(0.7314743520100, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_messageLinkIn"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 3.7095911334546,
accent.saturation * 1.0431105538979,
accent.value.mul_add(0.7497011065981, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_messageLinkOut"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_messagePanelBackground"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_messagePanelCancelInlineBot"),
Color::new(173, 173, 173, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.3989589500709,
accent.saturation * 0.9219769172440,
accent.value.mul_add(1.1352896583547, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_messagePanelCursor"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.6311803194897,
accent.saturation * 0.1859720667093,
accent.value.mul_add(0.2015357820691, 0.3250354373218),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_messagePanelHint"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.9490966842094,
accent.saturation * 0.1841677195171,
accent.value.mul_add(0.1451201365475, 0.2372288808164),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_messagePanelIcons"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_messagePanelPressedSend"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.8948849816532,
accent.saturation * 0.8989335188439,
accent.value.mul_add(1.3314464954168, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_messagePanelSend"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_messagePanelShadow"),
Color::new(0, 0, 0, 255),
);
theme.variables.insert(
String::from("chat_messagePanelText"),
Color::new(0, 0, 0, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.7294537312145,
accent.saturation * 0.9741502791366,
accent.value.mul_add(1.4906568923044, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_messagePanelVideoFrame"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.6492260233630,
accent.saturation * 1.0030273136455,
accent.value.mul_add(1.1826237989109, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_messagePanelVoiceBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_messagePanelVoiceDelete"),
Color::new(115, 115, 115, 255),
);
theme.variables.insert(
String::from("chat_messagePanelVoiceDuration"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_messagePanelVoicePressed"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_messagePanelVoiceShadow"),
Color::new(0, 0, 0, 13),
);
theme
.variables
.insert(String::from("chat_messageTextIn"), Color::new(0, 0, 0, 255));
theme.variables.insert(
String::from("chat_messageTextOut"),
Color::new(0, 0, 0, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.4624648462660,
accent.saturation * 0.4506805616368,
accent.value.mul_add(0.8322422266277, 0.2488649615524),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_muteIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.0847303134199,
accent.saturation * 0.5442417578152,
accent.value.mul_add(1.0455112646919, 0.1467451197966),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioCacheSeekbar"),
Alpha {
color: rgb,
alpha: 194,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1827985039437,
accent.saturation * 0.7004469671960,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioDurationSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4691364087589,
accent.saturation * 0.5107621015144,
accent.value.mul_add(0.6248408464602, 0.1190053815630),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioDurationText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_outAudioPerfomerSelectedText"),
Color::new(53, 66, 52, 255),
);
theme.variables.insert(
String::from("chat_outAudioPerfomerText"),
Color::new(53, 66, 52, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.5149725127837,
accent.saturation * 0.6246685334267,
accent.value.mul_add(1.2962052347527, 0.0543764874865),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioProgress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.0847303134199,
accent.saturation * 0.5442417578152,
accent.value.mul_add(1.0455112646919, 0.1467451197966),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioSeekbar"),
Alpha {
color: rgb,
alpha: 137,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9023165757124,
accent.saturation * 0.9832389149125,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioSeekbarFill"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.7085974790534,
accent.saturation * 0.9277957941351,
accent.value.mul_add(1.1588157494755, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioSeekbarSelected"),
Alpha {
color: rgb,
alpha: 71,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.9524512082533,
accent.saturation * 0.7464524896684,
accent.value.mul_add(1.4633920100956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioSelectedProgress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.1469707261603,
accent.saturation * 0.8104579030390,
accent.value.mul_add(0.0633794000458, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outAudioTitleText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_outBroadcast"),
Color::new(70, 170, 54, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.7092285605282,
accent.saturation * 0.2370713298730,
accent.value.mul_add(0.5648480945367, 0.6386592588098),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outBubble"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -17.5466016341299,
accent.saturation * 0.3819267165159,
accent.value.mul_add(0.9181513480941, 0.4271099252262),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outBubbleSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.2221164407414,
accent.saturation * 1.0492013258901,
accent.value.mul_add(0.1097476230191, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outBubbleShadow"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outContactBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_outContactIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.8081884616587,
accent.saturation * 0.7698380412111,
accent.value.mul_add(0.0772033367336, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outContactNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1827985039437,
accent.saturation * 0.7004469671960,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outContactPhoneSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4691364087589,
accent.saturation * 0.5107621015144,
accent.value.mul_add(0.6248408464602, 0.1190053815630),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outContactPhoneText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.1322702180178,
accent.saturation * 0.4067531608576,
accent.value.mul_add(0.9094941040485, 0.3626225609872),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outFileBackground"),
Alpha {
color: rgb,
alpha: 223,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -13.5643119420225,
accent.saturation * 0.5158823468300,
accent.value.mul_add(1.2072478821288, 0.2201704290164),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outFileBackgroundSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outFileIcon"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1827985039437,
accent.saturation * 0.7004469671960,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outFileInfoSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4691364087589,
accent.saturation * 0.5107621015144,
accent.value.mul_add(0.6248408464602, 0.1190053815630),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outFileInfoText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.8081884616587,
accent.saturation * 0.7698380412111,
accent.value.mul_add(0.0772033367336, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outFileNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_outFileProgress"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -17.5466016341299,
accent.saturation * 0.3819267165159,
accent.value.mul_add(0.9181513480941, 0.4271099252262),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outFileProgressSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outFileSelectedIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.1007403439659,
accent.saturation * 1.0253295414110,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outForwardedNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.3159958905219,
accent.saturation * 0.9893323229342,
accent.value.mul_add(1.3833525732890, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outGreenCall"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.9179178563763,
accent.saturation * 1.0353304054968,
accent.value.mul_add(1.1826237989109, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outInstant"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.9179178563763,
accent.saturation * 1.0353304054968,
accent.value.mul_add(1.1826237989109, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outInstantSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outLoader"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9023165757124,
accent.saturation * 0.9832389149125,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outLoaderPhoto"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outLoaderPhotoIcon"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outLoaderPhotoIconSelected"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outLoaderPhotoSelected"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9754179209130,
accent.saturation * 0.9852635319181,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outLoaderSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.9026704101195,
accent.saturation * 0.4007642377629,
accent.value.mul_add(0.8878858059618, 0.3675762810266),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outLocationBackground"),
Alpha {
color: rgb,
alpha: 196,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.6035212647686,
accent.saturation * 0.6555526685678,
accent.value.mul_add(0.8404157725336, 0.0088902494105),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outLocationIcon"),
Alpha {
color: rgb,
alpha: 130,
},
);
}
theme.variables.insert(
String::from("chat_outMediaIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -17.5466016341299,
accent.saturation * 0.3819267165159,
accent.value.mul_add(0.9181513480941, 0.4271099252262),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outMediaIconSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.7496909904946,
accent.saturation * 0.4401887409995,
accent.value.mul_add(0.7115882128198, 0.2284402969753),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outMenu"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.0940328680367,
accent.saturation * 0.6990703307427,
accent.value.mul_add(1.4097407601890, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outMenuSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.1007403439659,
accent.saturation * 1.0253295414110,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outPreviewInstantSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.1007403439659,
accent.saturation * 1.0253295414110,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outPreviewInstantText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.7383101610753,
accent.saturation * 0.9798492090029,
accent.value.mul_add(1.2806946541417, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outPreviewLine"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.7383101610753,
accent.saturation * 0.9798492090029,
accent.value.mul_add(1.2806946541417, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outReplyLine"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.7588208810826,
accent.saturation * 0.7043427730422,
accent.value.mul_add(0.9571149007720, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outReplyMediaMessageSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4691364087589,
accent.saturation * 0.5107621015144,
accent.value.mul_add(0.6248408464602, 0.1190053815630),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outReplyMediaMessageText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_outReplyMessageText"),
Color::new(0, 0, 0, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.2171911514692,
accent.saturation * 1.0263886507445,
accent.value.mul_add(1.0328855654450, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outReplyNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.7216868041431,
accent.saturation * 1.0225354870120,
accent.value.mul_add(1.5321058291583, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outSentCheck"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.7216868041431,
accent.saturation * 1.0225354870120,
accent.value.mul_add(1.5321058291583, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outSentCheckRead"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.6569827419540,
accent.saturation * 1.0341097324405,
accent.value.mul_add(1.4364202685497, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outSentCheckReadSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.6569827419540,
accent.saturation * 1.0341097324405,
accent.value.mul_add(1.4364202685497, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outSentCheckSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4691364087589,
accent.saturation * 0.5107621015144,
accent.value.mul_add(0.6248408464602, 0.1190053815630),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outSentClock"),
Alpha {
color: rgb,
alpha: 220,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1827985039437,
accent.saturation * 0.7004469671960,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outSentClockSelected"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.6359994246127,
accent.saturation * 1.0250099207486,
accent.value.mul_add(0.9360825233204, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outSiteNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1827985039437,
accent.saturation * 0.7004469671960,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outTimeSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4691364087589,
accent.saturation * 0.5107621015144,
accent.value.mul_add(0.6248408464602, 0.1190053815630),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outTimeText"),
Alpha {
color: rgb,
alpha: 247,
},
);
}
theme
.variables
.insert(String::from("chat_outUpCall"), Color::new(0, 200, 83, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1827985039437,
accent.saturation * 0.7004469671960,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outVenueInfoSelectedText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4691364087589,
accent.saturation * 0.5107621015144,
accent.value.mul_add(0.6248408464602, 0.1190053815630),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outVenueInfoText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.1007403439659,
accent.saturation * 1.0253295414110,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outViaBotNameText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4691364087589,
accent.saturation * 0.5107621015144,
accent.value.mul_add(0.6248408464602, 0.1190053815630),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outViews"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1827985039437,
accent.saturation * 0.7004469671960,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outViewsSelected"),
Alpha {
color: rgb,
alpha: 240,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.0571617946567,
accent.saturation * 0.5236764906620,
accent.value.mul_add(0.9289684211806, 0.1582709088391),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outVoiceSeekbar"),
Alpha {
color: rgb,
alpha: 226,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.9023165757124,
accent.saturation * 0.9832389149125,
accent.value.mul_add(1.4230440421038, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outVoiceSeekbarFill"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.5969676825280,
accent.saturation * 0.8206952232927,
accent.value.mul_add(1.0439855575946, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_outVoiceSeekbarSelected"),
Alpha {
color: rgb,
alpha: 121,
},
);
}
theme.variables.insert(
String::from("chat_previewDurationText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_previewGameText"),
Color::new(255, 255, 255, 255),
);
theme
.variables
.insert(String::from("chat_recordTime"), Color::new(77, 76, 75, 255));
theme.variables.insert(
String::from("chat_recordVoiceCancel"),
Color::new(153, 153, 153, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.2820256821521,
accent.saturation * 0.9292413918031,
accent.value.mul_add(1.2310895971864, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_recordedVoiceBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_recordedVoiceDot"),
Color::new(218, 86, 77, 255),
);
theme.variables.insert(
String::from("chat_recordedVoicePlayPause"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.0378916938435,
accent.saturation * 0.2958515907699,
accent.value.mul_add(0.6861107648210, 0.5365803063443),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_recordedVoicePlayPausePressed"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.0690610049971,
accent.saturation * 0.6482295643952,
accent.value.mul_add(1.4627943912322, 0.0259599671646),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_recordedVoiceProgress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_recordedVoiceProgressInner"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.9490966842094,
accent.saturation * 0.1841677195171,
accent.value.mul_add(0.1451201365475, 0.2372288808164),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_replyPanelClose"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.2402447694043,
accent.saturation * 0.9709614084657,
accent.value.mul_add(1.3572547918248, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_replyPanelIcons"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_replyPanelLine"),
Color::new(232, 232, 232, 255),
);
theme.variables.insert(
String::from("chat_replyPanelMessage"),
Color::new(34, 34, 34, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 1.0099021615050,
accent.saturation * 1.0061106599535,
accent.value.mul_add(1.1706844694571, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_replyPanelName"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_reportSpam"),
Color::new(207, 89, 87, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.6704502988515,
accent.saturation * 0.9963969931721,
accent.value.mul_add(1.2433837606818, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_searchPanelIcons"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.6624492651042,
accent.saturation * 0.9835960938049,
accent.value.mul_add(1.1946338573500, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_searchPanelText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_secretChatStatusText"),
Color::new(127, 127, 127, 255),
);
theme.variables.insert(
String::from("chat_secretTimeText"),
Color::new(228, 226, 224, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 1.1317091319722,
accent.saturation * 0.8661928025201,
accent.value.mul_add(0.4335175671758, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_secretTimerBackground"),
Alpha {
color: rgb,
alpha: 204,
},
);
}
theme.variables.insert(
String::from("chat_secretTimerText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 1.5199254765545,
accent.saturation * 1.0498162277250,
accent.value.mul_add(0.8846898118486, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_selectedBackground"),
Alpha {
color: rgb,
alpha: 66,
},
);
}
theme
.variables
.insert(String::from("chat_sentError"), Color::new(219, 53, 53, 255));
theme.variables.insert(
String::from("chat_sentErrorIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.3232745769560,
accent.saturation * 0.8101780859011,
accent.value.mul_add(0.4746106880331, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_serviceBackground"),
Alpha {
color: rgb,
alpha: 59,
},
);
}
theme.variables.insert(
String::from("chat_serviceIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_serviceLink"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_serviceText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.4425917410002,
accent.saturation * 0.5888256067582,
accent.value.mul_add(0.5397807049538, 0.0445242313509),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_shareBackground"),
Alpha {
color: rgb,
alpha: 102,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.4425917410002,
accent.saturation * 0.5888256067582,
accent.value.mul_add(0.5397807049538, 0.0445242313509),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_shareBackgroundSelected"),
Alpha {
color: rgb,
alpha: 153,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.5624111434588,
accent.saturation * 0.2999480095316,
accent.value.mul_add(0.6706793516119, 0.5116335074553),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_status"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_stickerNameText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_stickerReplyLine"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_stickerReplyMessageText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_stickerReplyNameText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_stickerViaBotNameText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chat_stickersHintPanel"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.9821804816816,
accent.saturation * 0.8863030787996,
accent.value.mul_add(1.2310895971864, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_textSelectBackground"),
Alpha {
color: rgb,
alpha: 102,
},
);
}
theme.variables.insert(
String::from("chat_topPanelBackground"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -15.2083397408444,
accent.saturation * 0.1985899393237,
accent.value.mul_add(0.1542717882741, 0.2268837236770),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_topPanelClose"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.9678876401974,
accent.saturation * 0.9633682738154,
accent.value.mul_add(1.2433837606818, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_topPanelLine"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_topPanelMessage"),
Color::new(153, 153, 153, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 2.7263572511476,
accent.saturation * 0.9783773044919,
accent.value.mul_add(1.1470175191492, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_topPanelTitle"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.2929553010597,
accent.saturation * 0.3871684042196,
accent.value.mul_add(0.5315757821754, 0.2394425962138),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_unreadMessagesStartArrowIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chat_unreadMessagesStartBackground"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 1.3239760903655,
accent.saturation * 0.9720637719460,
accent.value.mul_add(1.1588157494755, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_unreadMessagesStartText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 1.5768455011140,
accent.saturation * 0.9108974962655,
accent.value.mul_add(1.0218547242756, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_wallpaper"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.6997425295084,
accent.saturation * 0.4781053813012,
accent.value.mul_add(0.8567413138255, 0.2108315638016),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chat_wallpaper_gradient_to"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.4767633185955,
accent.saturation * 0.8698821165786,
accent.value.mul_add(1.1946338573500, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_actionBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_actionIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.6895069719467,
accent.saturation * 0.9441867481154,
accent.value.mul_add(0.6958031983556, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_actionMessage"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.7555414915165,
accent.saturation * 0.9080278499697,
accent.value.mul_add(1.0777016713392, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_actionPressedBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_actionUnreadBackground"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chats_actionUnreadIcon"),
Color::new(115, 115, 115, 255),
);
theme.variables.insert(
String::from("chats_actionUnreadPressedBackground"),
Color::new(242, 242, 242, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.3251281276306,
accent.saturation * 0.8660197606235,
accent.value.mul_add(1.1946338573500, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_archiveBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_archiveIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.3401436239793,
accent.saturation * 0.2433281650411,
accent.value.mul_add(0.2636919237858, 0.2862524667913),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_archivePinBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.1835137386356,
accent.saturation * 0.0682696877941,
accent.value.mul_add(0.0991002901511, 0.5419926829975),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_archivePullDownBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.3251281276306,
accent.saturation * 0.8660197606235,
accent.value.mul_add(1.1946338573500, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_archivePullDownBackgroundActive"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_archiveText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.6895069719467,
accent.saturation * 0.9441867481154,
accent.value.mul_add(0.6958031983556, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_attachMessage"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.3296918691622,
accent.saturation * 0.1011476577956,
accent.value.mul_add(0.0808385308121, 0.2820114949982),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_date"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("chats_draft"), Color::new(221, 75, 57, 255));
theme.variables.insert(
String::from("chats_mentionIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chats_menuBackground"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chats_menuCloud"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.6473203255960,
accent.saturation * 0.9091605109813,
accent.value.mul_add(0.6358660517866, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_menuCloudBackgroundCats"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.2883653126515,
accent.saturation * 0.8394610504944,
accent.value.mul_add(0.7869423386469, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_menuItemCheck"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -10.1794067278400,
accent.saturation * 0.2275217702731,
accent.value.mul_add(0.1717399105765, 0.2068298115062),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_menuItemIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_menuItemText"),
Color::new(68, 68, 68, 255),
);
theme.variables.insert(
String::from("chats_menuName"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("chats_menuPhone"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.2742075337829,
accent.saturation * 0.4853299379292,
accent.value.mul_add(1.1667325628465, 0.2720050931063),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_menuPhoneCats"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.2883653126515,
accent.saturation * 0.8394610504944,
accent.value.mul_add(0.7869423386469, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_menuTopBackgroundCats"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.5541205420604,
accent.saturation * 0.9918318326473,
accent.value.mul_add(0.2646517258225, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_menuTopShadow"),
Alpha {
color: rgb,
alpha: 77,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.2055775283325,
accent.saturation * 0.0632853803523,
accent.value.mul_add(0.0417888500612, 0.2486027248086),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_message"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_messageArchived"),
Color::new(145, 145, 145, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -17.2986735355652,
accent.saturation * 0.0470865194393,
accent.value.mul_add(0.0320512860632, 0.2631500074243),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_message_threeLines"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.4134835265284,
accent.saturation * 0.0823417942953,
accent.value.mul_add(0.1092704197536, 0.4838309876040),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_muteIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("chats_name"), Color::new(34, 34, 34, 255));
theme.variables.insert(
String::from("chats_nameArchived"),
Color::new(82, 82, 82, 255),
);
theme
.variables
.insert(String::from("chats_nameIcon"), Color::new(36, 36, 36, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.6895069719467,
accent.saturation * 0.9441867481154,
accent.value.mul_add(0.6958031983556, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_nameMessage"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.2055775283325,
accent.saturation * 0.0632853803523,
accent.value.mul_add(0.0417888500612, 0.2486027248086),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_nameMessageArchived"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_nameMessageArchived_threeLines"),
Color::new(94, 94, 94, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 6.0971266459833,
accent.saturation * 0.1921170731807,
accent.value.mul_add(0.0307711366802, 0.0474259681485),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_nameMessage_threeLines"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_onlineCircle"),
Color::new(75, 203, 28, 255),
);
theme.variables.insert(
String::from("chats_pinnedIcon"),
Color::new(168, 168, 168, 255),
);
theme
.variables
.insert(String::from("chats_pinnedOverlay"), Color::new(0, 0, 0, 8));
theme.variables.insert(
String::from("chats_secretIcon"),
Color::new(25, 177, 38, 255),
);
theme.variables.insert(
String::from("chats_secretName"),
Color::new(0, 166, 14, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.6162537609829,
accent.saturation * 0.9825248300557,
accent.value.mul_add(1.4498695533582, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_sentCheck"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.2540658725879,
accent.saturation * 0.9498659449327,
accent.value.mul_add(1.1120445633243, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_sentClock"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_sentError"),
Color::new(213, 82, 82, 255),
);
theme.variables.insert(
String::from("chats_sentErrorIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.6162537609829,
accent.saturation * 0.9825248300557,
accent.value.mul_add(1.4498695533582, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_sentReadCheck"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_tabletSelectedOverlay"),
Color::new(0, 0, 0, 15),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -10.4724649503169,
accent.saturation * 1.0357252377609,
accent.value.mul_add(1.3443145156841, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_unreadCounter"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.1835137386356,
accent.saturation * 0.0682696877941,
accent.value.mul_add(0.0991002901511, 0.5419926829975),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_unreadCounterMuted"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_unreadCounterText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.8440199577753,
accent.saturation * 1.0097827298486,
accent.value.mul_add(1.2681861715746, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("chats_verifiedBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("chats_verifiedCheck"),
Color::new(255, 255, 255, 255),
);
theme
.variables
.insert(String::from("checkbox"), Color::new(94, 194, 69, 255));
theme.variables.insert(
String::from("checkboxCheck"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.5270870861723,
accent.saturation * 0.2057539355492,
accent.value.mul_add(0.2668439283004, 0.3729794469937),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("checkboxDisabled"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.4734407642309,
accent.saturation * 0.9737107099577,
accent.value.mul_add(1.1826237989109, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("checkboxSquareBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("checkboxSquareCheck"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("checkboxSquareDisabled"),
Color::new(176, 176, 176, 255),
);
theme.variables.insert(
String::from("checkboxSquareUnchecked"),
Color::new(115, 115, 115, 255),
);
theme.variables.insert(
String::from("contacts_inviteBackground"),
Color::new(85, 190, 97, 255),
);
theme.variables.insert(
String::from("contacts_inviteText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.9661015338924,
accent.saturation * 0.4580894207036,
accent.value.mul_add(1.0148886955941, 0.2883315082678),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("contextProgressInner1"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.9661015338924,
accent.saturation * 0.4580894207036,
accent.value.mul_add(1.0148886955941, 0.2883315082678),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("contextProgressInner2"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("contextProgressInner3"),
Color::new(179, 179, 179, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.1888641807988,
accent.saturation * 0.0670632901673,
accent.value.mul_add(0.1016907068724, 0.5673061630563),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("contextProgressInner4"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.3588144112213,
accent.saturation * 1.0203969088241,
accent.value.mul_add(1.2188666377262, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("contextProgressOuter1"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("contextProgressOuter2"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("contextProgressOuter3"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.3847510939415,
accent.saturation * 0.2963434900797,
accent.value.mul_add(0.0281731089131, 0.0219673312046),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("contextProgressOuter4"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogBackground"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("dialogBackgroundGray"),
Color::new(240, 240, 240, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.8479246612639,
accent.saturation * 1.0002817253862,
accent.value.mul_add(1.5182158184594, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogBadgeBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogBadgeText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.6599183634768,
accent.saturation * 0.9375889229814,
accent.value.mul_add(0.9677334441603, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogButton"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogButtonSelector"),
Color::new(0, 0, 0, 15),
);
theme.variables.insert(
String::from("dialogCameraIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.4734407642309,
accent.saturation * 0.9737107099577,
accent.value.mul_add(1.1826237989109, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogCheckboxSquareBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogCheckboxSquareCheck"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("dialogCheckboxSquareDisabled"),
Color::new(176, 176, 176, 255),
);
theme.variables.insert(
String::from("dialogCheckboxSquareUnchecked"),
Color::new(115, 115, 115, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.8880279685511,
accent.saturation * 0.9704584563991,
accent.value.mul_add(1.4633920100956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogFloatingButton"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.8880279685511,
accent.saturation * 0.9704584563991,
accent.value.mul_add(1.4633920100956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogFloatingButtonPressed"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogFloatingIcon"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("dialogGrayLine"),
Color::new(210, 210, 210, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.3756864759279,
accent.saturation * 0.1716853435276,
accent.value.mul_add(0.0668746030741, 0.1203022721119),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogInputField"),
Color::new(219, 219, 219, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.2974439419724,
accent.saturation * 1.0076664048815,
accent.value.mul_add(1.3965103087065, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogInputFieldActivated"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1691472144436,
accent.saturation * 0.8110844673423,
accent.value.mul_add(0.5869805206956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogLineProgress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogLineProgressBackground"),
Color::new(219, 219, 219, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.9821804816816,
accent.saturation * 0.8863030787996,
accent.value.mul_add(1.2310895971864, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogLinkSelection"),
Alpha {
color: rgb,
alpha: 51,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1691472144436,
accent.saturation * 0.8110844673423,
accent.value.mul_add(0.5869805206956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogProgressCircle"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogRadioBackground"),
Color::new(179, 179, 179, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.2974439419724,
accent.saturation * 1.0076664048815,
accent.value.mul_add(1.3965103087065, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogRadioBackgroundChecked"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("dialogRedIcon"), Color::new(225, 77, 77, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.8880279685511,
accent.saturation * 0.9704584563991,
accent.value.mul_add(1.4633920100956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogRoundCheckBox"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogRoundCheckBoxCheck"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.3957351325143,
accent.saturation * 0.0192758721597,
accent.value.mul_add(0.0431005675350, 0.9032178113749),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogScrollGlow"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -17.3677414339224,
accent.saturation * 0.0290568875141,
accent.value.mul_add(0.0637824255396, 0.8733009445718),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogSearchBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.5727245878441,
accent.saturation * 0.1975607499440,
accent.value.mul_add(0.1835291705002, 0.2719145006779),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogSearchHint"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.6690504364728,
accent.saturation * 0.1777152063998,
accent.value.mul_add(0.1831482120592, 0.3144132664829),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogSearchIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogSearchText"),
Color::new(34, 34, 34, 255),
);
theme
.variables
.insert(String::from("dialogShadowLine"), Color::new(0, 0, 0, 18));
theme
.variables
.insert(String::from("dialogTextBlack"), Color::new(34, 34, 34, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.7251548452565,
accent.saturation * 1.0025825065514,
accent.value.mul_add(0.9360825233204, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogTextBlue"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3433599288090,
accent.saturation * 0.9868577194572,
accent.value.mul_add(1.0663934877276, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogTextBlue2"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.8479246612639,
accent.saturation * 1.0002817253862,
accent.value.mul_add(1.5182158184594, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogTextBlue3"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.8277420161385,
accent.saturation * 1.0411767529119,
accent.value.mul_add(1.2932748110868, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogTextBlue4"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.3949122332418,
accent.saturation * 0.9860094948368,
accent.value.mul_add(0.8546638714981, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogTextGray"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("dialogTextGray2"),
Color::new(117, 117, 117, 255),
);
theme.variables.insert(
String::from("dialogTextGray3"),
Color::new(153, 153, 153, 255),
);
theme.variables.insert(
String::from("dialogTextGray4"),
Color::new(179, 179, 179, 255),
);
theme.variables.insert(
String::from("dialogTextHint"),
Color::new(151, 151, 151, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.0150163873410,
accent.saturation * 1.0102059544845,
accent.value.mul_add(0.7497011065981, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogTextLink"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("dialogTextRed"), Color::new(205, 90, 90, 255));
theme
.variables
.insert(String::from("dialogTextRed2"), Color::new(222, 58, 58, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.9741833199294,
accent.saturation * 0.8400673638293,
accent.value.mul_add(1.2557492462346, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialogTopBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -13.3849094628432,
accent.saturation * 0.2288945816874,
accent.value.mul_add(0.1033506878359, 0.1233340366387),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialog_inlineProgress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.2800775730916,
accent.saturation * 0.0481653518316,
accent.value.mul_add(0.1057271865507, 0.8471290750625),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialog_inlineProgressBackground"),
Alpha {
color: rgb,
alpha: 246,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.4333812667970,
accent.saturation * 1.0059881616638,
accent.value.mul_add(1.2557492462346, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("dialog_liveLocationProgress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("divider"), Color::new(217, 217, 217, 255));
theme.variables.insert(
String::from("emptyListPlaceholder"),
Color::new(149, 149, 149, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.5800136780611,
accent.saturation * 0.9283434755275,
accent.value.mul_add(1.1352896583547, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("fastScrollActive"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.0929930959103,
accent.saturation * 0.0884597079755,
accent.value.mul_add(0.1355894557542, 0.5529944240746),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("fastScrollInactive"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("fastScrollText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3664545475548,
accent.saturation * 0.9521097775625,
accent.value.mul_add(1.3314464954168, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("featuredStickers_addButton"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.6470392169871,
accent.saturation * 0.9728931720372,
accent.value.mul_add(1.1706844694571, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("featuredStickers_addButtonPressed"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3664545475548,
accent.saturation * 0.9521097775625,
accent.value.mul_add(1.3314464954168, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("featuredStickers_addedIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("featuredStickers_buttonProgress"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("featuredStickers_buttonText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("featuredStickers_delButton"),
Color::new(217, 87, 87, 255),
);
theme.variables.insert(
String::from("featuredStickers_delButtonPressed"),
Color::new(198, 73, 73, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.0923543948173,
accent.saturation * 0.9588154570535,
accent.value.mul_add(1.3186506152858, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("featuredStickers_unread"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("files_folderIcon"),
Color::new(153, 153, 153, 255),
);
theme.variables.insert(
String::from("files_folderIconBackground"),
Color::new(240, 240, 240, 255),
);
theme.variables.insert(
String::from("files_iconText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -20.0986500046573,
accent.saturation * 0.0670643482964,
accent.value.mul_add(0.1472121471888, 0.8212441027742),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("graySection"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.5800136780611,
accent.saturation * 0.9283434755275,
accent.value.mul_add(1.1352896583547, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("groupcreate_cursor"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.4497404756067,
accent.saturation * 0.2206601009153,
accent.value.mul_add(0.2391268043439, 0.3015801283398),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("groupcreate_hintText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("groupcreate_sectionShadow"),
Color::new(0, 0, 0, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.6018204117009,
accent.saturation * 0.1911046487658,
accent.value.mul_add(0.1131086652949, 0.1756259996086),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("groupcreate_sectionText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("groupcreate_spanBackground"),
Color::new(242, 242, 242, 255),
);
theme.variables.insert(
String::from("groupcreate_spanDelete"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("groupcreate_spanText"),
Color::new(34, 34, 34, 255),
);
theme.variables.insert(
String::from("inappPlayerBackground"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("inappPlayerClose"),
Color::new(168, 168, 168, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.3847510939415,
accent.saturation * 0.2963434900797,
accent.value.mul_add(0.0281731089131, 0.0219673312046),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("inappPlayerPerformer"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.8948849816532,
accent.saturation * 0.8989335188439,
accent.value.mul_add(1.3314464954168, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("inappPlayerPlayPause"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.3847510939415,
accent.saturation * 0.2963434900797,
accent.value.mul_add(0.0281731089131, 0.0219673312046),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("inappPlayerTitle"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("key_chat_messagePanelVoiceLock"),
Color::new(164, 164, 164, 255),
);
theme.variables.insert(
String::from("key_chat_messagePanelVoiceLockBackground"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("key_chat_messagePanelVoiceLockShadow"),
Color::new(0, 0, 0, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.5649956296915,
accent.saturation * 0.2639549709531,
accent.value.mul_add(0.1796713025845, 0.1710409640966),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("key_graySectionText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.9785536885540,
accent.saturation * 0.1133997648013,
accent.value.mul_add(0.2489224646354, 0.7577808932628),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("key_player_progressCachedBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.0186713226935,
accent.saturation * 0.1089249252815,
accent.value.mul_add(0.1705740732839, 0.5449741718440),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("key_sheet_other"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.8939942050000,
accent.saturation * 0.0705366401403,
accent.value.mul_add(0.1368348899283, 0.7215727061548),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("key_sheet_scrollUp"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
.variables
.insert(String::from("listSelectorSDK21"), Color::new(0, 0, 0, 15));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.4333812667970,
accent.saturation * 1.0059881616638,
accent.value.mul_add(1.2557492462346, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("location_liveLocationProgress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.0030557029802,
accent.saturation * 0.9613025237342,
accent.value.mul_add(1.3186506152858, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("location_placeLocationBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("location_sendLiveLocationBackground"),
Color::new(255, 100, 100, 255),
);
theme.variables.insert(
String::from("location_sendLiveLocationIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.0523562256683,
accent.saturation * 0.8090808969610,
accent.value.mul_add(1.0551548240297, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("location_sendLocationBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("location_sendLocationIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.5224609127559,
accent.saturation * 0.1602083190578,
accent.value.mul_add(0.3419752408959, 0.6745441126294),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("login_progressInner"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.5373157471107,
accent.saturation * 0.8498024286899,
accent.value.mul_add(1.0108929104503, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("login_progressOuter"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.4408031077556,
accent.saturation * 0.9167910678242,
accent.value.mul_add(1.3186506152858, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("musicPicker_buttonBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("musicPicker_buttonIcon"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.9241293455845,
accent.saturation * 1.0287482077917,
accent.value.mul_add(1.4906568923044, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("musicPicker_checkbox"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("musicPicker_checkboxCheck"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.4378514194207,
accent.saturation * 0.9812122776893,
accent.value.mul_add(1.3833525732890, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("passport_authorizeBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.5813273531302,
accent.saturation * 0.9775974171331,
accent.value.mul_add(1.1352896583547, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("passport_authorizeBackgroundSelected"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("passport_authorizeText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.9241293455845,
accent.saturation * 1.0287482077917,
accent.value.mul_add(1.4906568923044, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("picker_badge"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("picker_badgeText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("picker_disabledButton"),
Color::new(153, 153, 153, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.8277420161385,
accent.saturation * 1.0411767529119,
accent.value.mul_add(1.2932748110868, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("picker_enabledButton"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("player_actionBar"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("player_actionBarItems"),
Color::new(138, 138, 138, 255),
);
theme.variables.insert(
String::from("player_actionBarSelector"),
Color::new(0, 0, 0, 15),
);
theme.variables.insert(
String::from("player_actionBarSubtitle"),
Color::new(138, 138, 138, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -9.3847510939415,
accent.saturation * 0.2963434900797,
accent.value.mul_add(0.0281731089131, 0.0219673312046),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("player_actionBarTitle"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("player_actionBarTop"),
Color::new(0, 0, 0, 153),
);
theme.variables.insert(
String::from("player_background"),
Color::new(255, 255, 255, 255),
);
theme
.variables
.insert(String::from("player_button"), Color::new(51, 51, 51, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.0030557029802,
accent.saturation * 0.9613025237342,
accent.value.mul_add(1.3186506152858, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("player_buttonActive"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("player_placeholder"),
Color::new(168, 168, 168, 255),
);
theme.variables.insert(
String::from("player_placeholderBackground"),
Color::new(240, 240, 240, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.2381047585281,
accent.saturation * 0.9573413471085,
accent.value.mul_add(1.2310895971864, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("player_progress"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.9785536885540,
accent.saturation * 0.1133997648013,
accent.value.mul_add(0.2489224646354, 0.7577808932628),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("player_progressBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -12.8421739437752,
accent.saturation * 0.1476749632069,
accent.value.mul_add(0.1082736764659, 0.2374288284941),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("player_time"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("profile_actionBackground"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -10.1769496350578,
accent.saturation * 0.1435804843150,
accent.value.mul_add(0.0877249933182, 0.1994151731403),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("profile_actionIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("profile_actionPressedBackground"),
Color::new(242, 242, 242, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3433599288090,
accent.saturation * 0.9868577194572,
accent.value.mul_add(1.0663934877276, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("profile_creatorIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -8.5678020840994,
accent.saturation * 0.3047395901158,
accent.value.mul_add(0.7003399535877, 0.5189889615030),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("profile_status"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("profile_title"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.1055644649495,
accent.saturation * 0.5540404013815,
accent.value.mul_add(1.2502471904579, 0.1585810018091),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("profile_verifiedBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.7876916660801,
accent.saturation * 0.9073833368170,
accent.value.mul_add(0.7681900798447, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("profile_verifiedCheck"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.1691472144436,
accent.saturation * 0.8110844673423,
accent.value.mul_add(0.5869805206956, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("progressCircle"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("radioBackground"),
Color::new(179, 179, 179, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.2974439419724,
accent.saturation * 1.0076664048815,
accent.value.mul_add(1.3965103087065, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("radioBackgroundChecked"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.6975717882599,
accent.saturation * 0.9745658448444,
accent.value.mul_add(1.2310895971864, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("returnToCallBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("returnToCallText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("sessions_devicesImage"),
Color::new(150, 150, 150, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.3609541860954,
accent.saturation * 0.9106880772943,
accent.value.mul_add(0.7224589715191, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("sharedMedia_actionMode"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -13.2799754537301,
accent.saturation * 0.0481653518316,
accent.value.mul_add(0.1057271865507, 0.8471290750625),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("sharedMedia_linkPlaceholder"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -11.8727862680288,
accent.saturation * 0.1394150193462,
accent.value.mul_add(0.1829014806582, 0.4316011818607),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("sharedMedia_linkPlaceholderText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -13.0825970141372,
accent.saturation * 0.0943133300552,
accent.value.mul_add(0.2108832232245, 0.7985280798146),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("sharedMedia_photoPlaceholder"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.2693880790345,
accent.saturation * 1.0084022660997,
accent.value.mul_add(1.3702674392984, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("sharedMedia_startStopLoadIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.7064461398155,
accent.saturation * 0.1709263961573,
accent.value.mul_add(0.2294258864085, 0.4151877236904),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("stickers_menu"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("stickers_menuSelector"),
Color::new(0, 0, 0, 15),
);
theme
.variables
.insert(String::from("switch2Track"), Color::new(245, 126, 126, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.8705327376315,
accent.saturation * 0.9447455607884,
accent.value.mul_add(1.3059267592749, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("switch2TrackChecked"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.9381440544569,
accent.saturation * 0.1220534669155,
accent.value.mul_add(0.1440735610416, 0.4011246542703),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("switchTrack"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -7.2312709940591,
accent.saturation * 0.3153505176397,
accent.value.mul_add(0.2414910290327, 0.1678659410638),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("switchTrackBlue"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.4086538743146,
accent.saturation * 0.9704923789854,
accent.value.mul_add(0.9153222497531, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("switchTrackBlueChecked"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.7837139947732,
accent.saturation * 0.4292345701433,
accent.value.mul_add(0.0892580421806, 0.0308069790774),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("switchTrackBlueSelector"),
Alpha {
color: rgb,
alpha: 23,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 5.4204867679810,
accent.saturation * 1.0509583125104,
accent.value.mul_add(0.3518271394438, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("switchTrackBlueSelectorChecked"),
Alpha {
color: rgb,
alpha: 33,
},
);
}
theme.variables.insert(
String::from("switchTrackBlueThumb"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("switchTrackBlueThumbChecked"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.8705327376315,
accent.saturation * 0.9447455607884,
accent.value.mul_add(1.3059267592749, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("switchTrackChecked"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.8299546211032,
accent.saturation * 0.5132001192568,
accent.value.mul_add(0.0487894734929, 0.0091035362865),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("undo_background"),
Alpha {
color: rgb,
alpha: 234,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -5.3870220015059,
accent.saturation * 0.8066861509617,
accent.value.mul_add(1.6026658315849, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("undo_cancelColor"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("undo_infoColor"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("wallet_addressConfirmBackground"),
Color::new(0, 0, 0, 13),
);
theme.variables.insert(
String::from("wallet_blackBackground"),
Color::new(0, 0, 0, 255),
);
theme.variables.insert(
String::from("wallet_blackBackgroundSelector"),
Color::new(255, 255, 255, 64),
);
theme.variables.insert(
String::from("wallet_blackText"),
Color::new(34, 34, 34, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.6474418280612,
accent.saturation * 0.9699540857514,
accent.value.mul_add(1.2681861715746, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("wallet_buttonBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.4875626369021,
accent.saturation * 1.0160120296167,
accent.value.mul_add(1.0777016713392, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("wallet_buttonPressedBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("wallet_buttonText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("wallet_commentText"),
Color::new(153, 153, 153, 255),
);
theme.variables.insert(
String::from("wallet_dateText"),
Color::new(153, 153, 153, 255),
);
theme.variables.insert(
String::from("wallet_grayBackground"),
Color::new(41, 41, 41, 255),
);
theme.variables.insert(
String::from("wallet_graySettingsBackground"),
Color::new(240, 240, 240, 255),
);
theme.variables.insert(
String::from("wallet_grayText"),
Color::new(119, 119, 119, 255),
);
theme.variables.insert(
String::from("wallet_grayText2"),
Color::new(102, 102, 102, 255),
);
theme.variables.insert(
String::from("wallet_greenText"),
Color::new(55, 168, 24, 255),
);
theme.variables.insert(
String::from("wallet_pullBackground"),
Color::new(33, 33, 33, 255),
);
theme
.variables
.insert(String::from("wallet_redText"), Color::new(219, 64, 64, 255));
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.4428626516142,
accent.saturation * 0.9911898062245,
accent.value.mul_add(0.7964175317712, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("wallet_releaseBackground"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("wallet_statusText"),
Color::new(128, 128, 128, 255),
);
theme.variables.insert(
String::from("wallet_whiteBackground"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("wallet_whiteText"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("windowBackgroundCheckText"),
Color::new(255, 255, 255, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.1963429828689,
accent.saturation * 0.9091168299872,
accent.value.mul_add(1.1120445633243, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundChecked"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("windowBackgroundGray"),
Color::new(240, 240, 240, 255),
);
theme.variables.insert(
String::from("windowBackgroundGrayShadow"),
Color::new(0, 0, 0, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.3168368617756,
accent.saturation * 0.2456804014894,
accent.value.mul_add(0.2596682876704, 0.2776344473605),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundUnchecked"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("windowBackgroundWhite"),
Color::new(255, 255, 255, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteBlackText"),
Color::new(34, 34, 34, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 0.6052670111401,
accent.saturation * 1.0328680590545,
accent.value.mul_add(1.0439855575946, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueButton"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3433599288090,
accent.saturation * 0.9868577194572,
accent.value.mul_add(1.0663934877276, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueHeader"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.5429801695612,
accent.saturation * 1.0024870030407,
accent.value.mul_add(1.2557492462346, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.8155899812875,
accent.saturation * 0.9653682888537,
accent.value.mul_add(0.9784203916677, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3433599288090,
accent.saturation * 0.9868577194572,
accent.value.mul_add(1.0663934877276, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueText2"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.0150163873410,
accent.saturation * 1.0102059544845,
accent.value.mul_add(0.7497011065981, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueText3"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.8148250907645,
accent.saturation * 0.8803718870318,
accent.value.mul_add(0.7224589715191, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueText4"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.4216599221108,
accent.saturation * 0.9249140745591,
accent.value.mul_add(0.9465646358317, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueText5"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.1643292350215,
accent.saturation * 0.9824083692989,
accent.value.mul_add(1.0000000000000, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueText6"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -1.8486128650530,
accent.saturation * 0.9587494617958,
accent.value.mul_add(0.6783566323012, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteBlueText7"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -6.7672485444845,
accent.saturation * 0.1577919922963,
accent.value.mul_add(0.0979369538903, 0.1970740728128),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteGrayIcon"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("windowBackgroundWhiteGrayLine"),
Color::new(219, 219, 219, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -4.6111792622188,
accent.saturation * 0.2696002517928,
accent.value.mul_add(0.1976679716307, 0.1816503290696),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteGrayText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("windowBackgroundWhiteGrayText2"),
Color::new(138, 138, 138, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteGrayText3"),
Color::new(153, 153, 153, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteGrayText4"),
Color::new(128, 128, 128, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteGrayText5"),
Color::new(163, 163, 163, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteGrayText6"),
Color::new(117, 117, 117, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteGrayText7"),
Color::new(198, 198, 198, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + 22.5235035376142,
accent.saturation * 0.0960948841767,
accent.value.mul_add(0.0388722475115, 0.1440146574071),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteGrayText8"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("windowBackgroundWhiteGreenText"),
Color::new(38, 151, 44, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteGreenText2"),
Color::new(55, 168, 24, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteHintText"),
Color::new(168, 168, 168, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteInputField"),
Color::new(219, 219, 219, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -3.2974439419724,
accent.saturation * 1.0076664048815,
accent.value.mul_add(1.3965103087065, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteInputFieldActivated"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.9821804816816,
accent.saturation * 0.8863030787996,
accent.value.mul_add(1.2310895971864, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteLinkSelection"),
Alpha {
color: rgb,
alpha: 51,
},
);
}
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -0.0150163873410,
accent.saturation * 1.0102059544845,
accent.value.mul_add(0.7497011065981, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteLinkText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme.variables.insert(
String::from("windowBackgroundWhiteRedText"),
Color::new(205, 90, 90, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteRedText2"),
Color::new(219, 81, 81, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteRedText3"),
Color::new(210, 73, 73, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteRedText4"),
Color::new(207, 48, 48, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteRedText5"),
Color::new(237, 57, 57, 255),
);
theme.variables.insert(
String::from("windowBackgroundWhiteRedText6"),
Color::new(255, 102, 102, 255),
);
{
let hsv = Hsv::new(
accent.hue.to_positive_degrees() + -2.3433599288090,
accent.saturation * 0.9868577194572,
accent.value.mul_add(1.0663934877276, 0.0000000000000),
);
let rgb = Srgb::from(hsv).into_format();
theme.variables.insert(
String::from("windowBackgroundWhiteValueText"),
Alpha {
color: rgb,
alpha: 255,
},
);
}
theme
}