#pragma once #include #include #include namespace vamp_style { constexpr auto ui_font_path = std::string_view{"/usr/share/product-vamp/fonts/petaluma/PetalumaScript.otf"}; struct color { std::uint8_t r{}; std::uint8_t g{}; std::uint8_t b{}; std::uint8_t a{255}; }; constexpr auto background = vamp_style::color{255, 255, 255, 255}; constexpr auto panel = vamp_style::color{245, 247, 246, 255}; constexpr auto ink = vamp_style::color{29, 37, 35, 255}; constexpr auto muted = vamp_style::color{92, 104, 100, 255}; constexpr auto rule = vamp_style::color{211, 220, 217, 255}; constexpr auto accent = vamp_style::color{27, 112, 99, 255}; constexpr auto selection = vamp_style::color{230, 241, 237, 255}; constexpr auto connecting = vamp_style::color{45, 111, 185, 255}; constexpr auto retrying = vamp_style::color{156, 104, 23, 255}; constexpr auto connected = vamp_style::color{27, 112, 99, 255}; constexpr auto danger = vamp_style::color{190, 63, 58, 255}; auto rgb565(vamp_style::color value) -> std::uint16_t; }