Add helpers to setup Selenite in C++ projects

This commit is contained in:
Vyn 2024-10-27 22:03:20 +01:00
parent e27b4c150b
commit f3025d08cd
20 changed files with 24870 additions and 11 deletions

View file

@ -0,0 +1,27 @@
#pragma once
#include <optional>
#include <string>
namespace selenite
{
struct Color {
int r, g, b;
std::string hex;
};
struct Palette {
Color primary;
Color secondary;
Color background;
Color background2;
Color background3;
Color background4;
Color pane;
Color foreground;
Color foregroundHint;
};
std::optional<Palette> parseJson(const std::string &path);
} // namespace selenite

View file

@ -0,0 +1,2 @@
#pragma once
#include "palette.h"