Files
product-vamp/include/vamp_style.hpp
T
khodowany 2a1aa2c67a UI
2026-09-30 18:23:25 -05:00

35 lines
1.0 KiB
C++

#pragma once
#include <cstdint>
#include <string_view>
#include <modulus/types.hpp>
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;
}