From 6918b3201fcfb0865fce7b8c430df12863684ed6 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 22 Dec 2019 23:01:53 -0500 Subject: [PATCH] [S] Add text color configuration --- src/App.vue | 5 +++-- src/content/charlie-config.json | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 5543d33..11ba810 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@ @@ -35,7 +35,8 @@ dim = `linear-gradient(${dim}, ${dim})`; return `height: ${config.title.height}vh;` - + `background-image: ${dim}, url(${require('./assets/' + config.title.background)});`; + + `background-image: ${dim}, url(${require('./assets/' + config.title.background)});` + + `color: ${config.title.text_color}`; } } diff --git a/src/content/charlie-config.json b/src/content/charlie-config.json index 894bc16..4d50e21 100644 --- a/src/content/charlie-config.json +++ b/src/content/charlie-config.json @@ -4,6 +4,7 @@ "text": "Charlie's Gallery", "height": 80, "background": "title.jpeg", - "dim": 50 + "dim": 50, + "text_color": "white" } }