37 lines
1.2 KiB
C++
37 lines
1.2 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{9, 12, 14, 255};
|
|
constexpr auto panel = vamp_style::color{21, 27, 30, 255};
|
|
constexpr auto ink = vamp_style::color{238, 244, 241, 255};
|
|
constexpr auto muted = vamp_style::color{137, 151, 149, 255};
|
|
constexpr auto rule = vamp_style::color{66, 78, 78, 255};
|
|
constexpr auto paper = vamp_style::color{2, 3, 3, 255};
|
|
constexpr auto paper_ink = vamp_style::color{246, 248, 244, 255};
|
|
constexpr auto accent = vamp_style::color{232, 190, 70, 255};
|
|
constexpr auto selection = vamp_style::color{41, 100, 111, 255};
|
|
constexpr auto connecting = vamp_style::color{45, 111, 185, 255};
|
|
constexpr auto retrying = vamp_style::color{229, 171, 37, 255};
|
|
constexpr auto connected = vamp_style::color{40, 170, 88, 255};
|
|
constexpr auto danger = vamp_style::color{190, 63, 58, 255};
|
|
|
|
auto rgb565(vamp_style::color value) -> std::uint16_t;
|
|
|
|
}
|