summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templatelayout.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/templatelayout.h b/templatelayout.h
index 622f7d7a0..85a4699da 100644
--- a/templatelayout.h
+++ b/templatelayout.h
@@ -123,6 +123,16 @@ if (property == "font") {
return object.font_size / 9.0;
} else if (property == "line_spacing") {
return object.line_spacing;
+} else if (property == "color1") {
+ return object.color_palette.color1.name();
+} else if (property == "color2") {
+ return object.color_palette.color2.name();
+} else if (property == "color3") {
+ return object.color_palette.color3.name();
+} else if (property == "color4") {
+ return object.color_palette.color4.name();
+} else if (property == "color5") {
+ return object.color_palette.color5.name();
}
GRANTLEE_END_LOOKUP