|
- #pragma once
- #include <string>
-
- #include "leds.hpp"
-
-
- namespace Presets {
-
- const struct Pattern* find(const std::string&);
-
- } // Presets
-
-
- namespace Colors {
-
- constexpr Color red = {255, 0, 0};
- constexpr Color orange = {78, 25, 0};
- constexpr Color yellow = {255, 160, 0};
- constexpr Color green = {0, 255, 0};
- constexpr Color blue = {0, 0, 255};
- constexpr Color purple = {38, 10, 42};
-
- constexpr Color dark_red = {32, 0, 0};
- constexpr Color dark_orange = {20, 6, 0};
- constexpr Color dark_yellow = {64, 40, 0};
- constexpr Color dark_green = {0, 32, 0};
- constexpr Color dark_blue = {0, 0, 32};
- constexpr Color dark_purple = {8, 3, 10};
-
- constexpr Color pale_red = {255, 64, 64};
- constexpr Color pale_orange = {78, 25, 10};
- constexpr Color pale_yellow = {255, 160, 10};
- constexpr Color pale_green = {64, 255, 25};
- constexpr Color pale_blue = {70, 70, 255};
- constexpr Color pale_purple = {42, 20, 42};
-
- constexpr Color black = {0, 0, 0};
- constexpr Color white = {255, 255, 255};
-
- constexpr Color pink = pale_red;
- constexpr Color peach = pale_orange;
- // TODO: chartreuse
- constexpr Color brown = {6, 2, 0};
- constexpr Color teal = {0, 85, 35};
- constexpr Color magenta = {255, 0, 255};
-
- } // Colors
|