From e0c67f474153941d676f6aaf258dfcb9c12b9d04 Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Wed, 19 Feb 2025 20:13:37 -0500 Subject: [PATCH] Fix song page colors --- templates/song.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/song.html b/templates/song.html index 571a731..4407ace 100644 --- a/templates/song.html +++ b/templates/song.html @@ -7,9 +7,9 @@ // Apply user colors document.addEventListener("DOMContentLoaded", (event) => { var rootStyle = document.documentElement.style; - {% if user_bgcolor %} rootStyle.setProperty("--yellow", "{{ user_bgcolor }}"); {% endif %} - {% if user_fgcolor %} rootStyle.setProperty("--black", "{{ user_fgcolor }}"); {% endif %} - {% if user_accolor %} rootStyle.setProperty("--purple", "{{ user_accolor }}"); {% endif %} + rootStyle.setProperty("--yellow", "{{ bgcolor }}"); + rootStyle.setProperty("--black", "{{ fgcolor }}"); + rootStyle.setProperty("--purple", "{{ accolor }}"); }); {% endblock %} -- 2.39.5