1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331
|
#ifndef SASS_COLOR_MAPS_H
#define SASS_COLOR_MAPS_H
#include <map>
#include "ast.hpp"
namespace Sass {
struct map_cmp_str
{
bool operator()(char const *a, char const *b) const
{
return std::strcmp(a, b) < 0;
}
};
namespace ColorNames
{
extern const char aliceblue[];
extern const char antiquewhite[];
extern const char cyan[];
extern const char aqua[];
extern const char aquamarine[];
extern const char azure[];
extern const char beige[];
extern const char bisque[];
extern const char black[];
extern const char blanchedalmond[];
extern const char blue[];
extern const char blueviolet[];
extern const char brown[];
extern const char burlywood[];
extern const char cadetblue[];
extern const char chartreuse[];
extern const char chocolate[];
extern const char coral[];
extern const char cornflowerblue[];
extern const char cornsilk[];
extern const char crimson[];
extern const char darkblue[];
extern const char darkcyan[];
extern const char darkgoldenrod[];
extern const char darkgray[];
extern const char darkgrey[];
extern const char darkgreen[];
extern const char darkkhaki[];
extern const char darkmagenta[];
extern const char darkolivegreen[];
extern const char darkorange[];
extern const char darkorchid[];
extern const char darkred[];
extern const char darksalmon[];
extern const char darkseagreen[];
extern const char darkslateblue[];
extern const char darkslategray[];
extern const char darkslategrey[];
extern const char darkturquoise[];
extern const char darkviolet[];
extern const char deeppink[];
extern const char deepskyblue[];
extern const char dimgray[];
extern const char dimgrey[];
extern const char dodgerblue[];
extern const char firebrick[];
extern const char floralwhite[];
extern const char forestgreen[];
extern const char magenta[];
extern const char fuchsia[];
extern const char gainsboro[];
extern const char ghostwhite[];
extern const char gold[];
extern const char goldenrod[];
extern const char gray[];
extern const char grey[];
extern const char green[];
extern const char greenyellow[];
extern const char honeydew[];
extern const char hotpink[];
extern const char indianred[];
extern const char indigo[];
extern const char ivory[];
extern const char khaki[];
extern const char lavender[];
extern const char lavenderblush[];
extern const char lawngreen[];
extern const char lemonchiffon[];
extern const char lightblue[];
extern const char lightcoral[];
extern const char lightcyan[];
extern const char lightgoldenrodyellow[];
extern const char lightgray[];
extern const char lightgrey[];
extern const char lightgreen[];
extern const char lightpink[];
extern const char lightsalmon[];
extern const char lightseagreen[];
extern const char lightskyblue[];
extern const char lightslategray[];
extern const char lightslategrey[];
extern const char lightsteelblue[];
extern const char lightyellow[];
extern const char lime[];
extern const char limegreen[];
extern const char linen[];
extern const char maroon[];
extern const char mediumaquamarine[];
extern const char mediumblue[];
extern const char mediumorchid[];
extern const char mediumpurple[];
extern const char mediumseagreen[];
extern const char mediumslateblue[];
extern const char mediumspringgreen[];
extern const char mediumturquoise[];
extern const char mediumvioletred[];
extern const char midnightblue[];
extern const char mintcream[];
extern const char mistyrose[];
extern const char moccasin[];
extern const char navajowhite[];
extern const char navy[];
extern const char oldlace[];
extern const char olive[];
extern const char olivedrab[];
extern const char orange[];
extern const char orangered[];
extern const char orchid[];
extern const char palegoldenrod[];
extern const char palegreen[];
extern const char paleturquoise[];
extern const char palevioletred[];
extern const char papayawhip[];
extern const char peachpuff[];
extern const char peru[];
extern const char pink[];
extern const char plum[];
extern const char powderblue[];
extern const char purple[];
extern const char red[];
extern const char rosybrown[];
extern const char royalblue[];
extern const char saddlebrown[];
extern const char salmon[];
extern const char sandybrown[];
extern const char seagreen[];
extern const char seashell[];
extern const char sienna[];
extern const char silver[];
extern const char skyblue[];
extern const char slateblue[];
extern const char slategray[];
extern const char slategrey[];
extern const char snow[];
extern const char springgreen[];
extern const char steelblue[];
extern const char tan[];
extern const char teal[];
extern const char thistle[];
extern const char tomato[];
extern const char turquoise[];
extern const char violet[];
extern const char wheat[];
extern const char white[];
extern const char whitesmoke[];
extern const char yellow[];
extern const char yellowgreen[];
extern const char rebeccapurple[];
extern const char transparent[];
}
namespace Colors {
extern const Color aliceblue;
extern const Color antiquewhite;
extern const Color cyan;
extern const Color aqua;
extern const Color aquamarine;
extern const Color azure;
extern const Color beige;
extern const Color bisque;
extern const Color black;
extern const Color blanchedalmond;
extern const Color blue;
extern const Color blueviolet;
extern const Color brown;
extern const Color burlywood;
extern const Color cadetblue;
extern const Color chartreuse;
extern const Color chocolate;
extern const Color coral;
extern const Color cornflowerblue;
extern const Color cornsilk;
extern const Color crimson;
extern const Color darkblue;
extern const Color darkcyan;
extern const Color darkgoldenrod;
extern const Color darkgray;
extern const Color darkgrey;
extern const Color darkgreen;
extern const Color darkkhaki;
extern const Color darkmagenta;
extern const Color darkolivegreen;
extern const Color darkorange;
extern const Color darkorchid;
extern const Color darkred;
extern const Color darksalmon;
extern const Color darkseagreen;
extern const Color darkslateblue;
extern const Color darkslategray;
extern const Color darkslategrey;
extern const Color darkturquoise;
extern const Color darkviolet;
extern const Color deeppink;
extern const Color deepskyblue;
extern const Color dimgray;
extern const Color dimgrey;
extern const Color dodgerblue;
extern const Color firebrick;
extern const Color floralwhite;
extern const Color forestgreen;
extern const Color magenta;
extern const Color fuchsia;
extern const Color gainsboro;
extern const Color ghostwhite;
extern const Color gold;
extern const Color goldenrod;
extern const Color gray;
extern const Color grey;
extern const Color green;
extern const Color greenyellow;
extern const Color honeydew;
extern const Color hotpink;
extern const Color indianred;
extern const Color indigo;
extern const Color ivory;
extern const Color khaki;
extern const Color lavender;
extern const Color lavenderblush;
extern const Color lawngreen;
extern const Color lemonchiffon;
extern const Color lightblue;
extern const Color lightcoral;
extern const Color lightcyan;
extern const Color lightgoldenrodyellow;
extern const Color lightgray;
extern const Color lightgrey;
extern const Color lightgreen;
extern const Color lightpink;
extern const Color lightsalmon;
extern const Color lightseagreen;
extern const Color lightskyblue;
extern const Color lightslategray;
extern const Color lightslategrey;
extern const Color lightsteelblue;
extern const Color lightyellow;
extern const Color lime;
extern const Color limegreen;
extern const Color linen;
extern const Color maroon;
extern const Color mediumaquamarine;
extern const Color mediumblue;
extern const Color mediumorchid;
extern const Color mediumpurple;
extern const Color mediumseagreen;
extern const Color mediumslateblue;
extern const Color mediumspringgreen;
extern const Color mediumturquoise;
extern const Color mediumvioletred;
extern const Color midnightblue;
extern const Color mintcream;
extern const Color mistyrose;
extern const Color moccasin;
extern const Color navajowhite;
extern const Color navy;
extern const Color oldlace;
extern const Color olive;
extern const Color olivedrab;
extern const Color orange;
extern const Color orangered;
extern const Color orchid;
extern const Color palegoldenrod;
extern const Color palegreen;
extern const Color paleturquoise;
extern const Color palevioletred;
extern const Color papayawhip;
extern const Color peachpuff;
extern const Color peru;
extern const Color pink;
extern const Color plum;
extern const Color powderblue;
extern const Color purple;
extern const Color red;
extern const Color rosybrown;
extern const Color royalblue;
extern const Color saddlebrown;
extern const Color salmon;
extern const Color sandybrown;
extern const Color seagreen;
extern const Color seashell;
extern const Color sienna;
extern const Color silver;
extern const Color skyblue;
extern const Color slateblue;
extern const Color slategray;
extern const Color slategrey;
extern const Color snow;
extern const Color springgreen;
extern const Color steelblue;
extern const Color tan;
extern const Color teal;
extern const Color thistle;
extern const Color tomato;
extern const Color turquoise;
extern const Color violet;
extern const Color wheat;
extern const Color white;
extern const Color whitesmoke;
extern const Color yellow;
extern const Color yellowgreen;
extern const Color rebeccapurple;
extern const Color transparent;
}
Color_Ptr_Const name_to_color(const char*);
Color_Ptr_Const name_to_color(const std::string&);
const char* color_to_name(const int);
const char* color_to_name(const Color&);
const char* color_to_name(const double);
}
#endif
|