From dca563ea25d08122673ecc14544beb2d75bfca5b Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 24 Nov 2019 07:38:18 +0100 Subject: [PATCH] Use ElementStyles to determine rendering style Since BlackFriday's Nodes are limiting us a bit in rendering flexibility, I've introduced Gold's own ElementStyles (a bit of code repetition here, but alas). Nodes can now be divided into multiple fragments, which means we are able to display the link's URL and text in different styles. Updated the dark theme to demo the newly gained flexibility. --- dark.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dark.json b/dark.json index 75d3550..f876eb6 100644 --- a/dark.json +++ b/dark.json @@ -3,6 +3,13 @@ "color": "123", "underline": true }, + "link_text": { + "color": "123", + "bold": true + }, + "image": { + "color": "8" + }, "heading": { "bold": true, "color": "3"