From 5ad73d433839561b0e56f99332a0b59b76054921 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Mon, 19 Jul 2021 17:36:57 -0700 Subject: [PATCH] Disable light theme w/ a build-time switch for now --- dactyl-config.yml | 1 + template/base.html.jinja | 4 ++++ template/component-top-nav.html.jinja | 2 ++ 3 files changed, 7 insertions(+) diff --git a/dactyl-config.yml b/dactyl-config.yml index 9ce6fe66a9..ad40538e94 100644 --- a/dactyl-config.yml +++ b/dactyl-config.yml @@ -72,6 +72,7 @@ targets: display_name: XRPL.org <<: *defaults prefix: "" + #light_theme_enabled: true blurb: XRPL.org is a community-driven site for the XRP Ledger (XRPL), an open-source, public blockchain. Get technical documentation, reference materials, and tools. - name: ja diff --git a/template/base.html.jinja b/template/base.html.jinja index a786dbfd44..7b7d02bad6 100644 --- a/template/base.html.jinja +++ b/template/base.html.jinja @@ -32,8 +32,10 @@ + {% if target.light_theme_enabled %} + {% endif %} @@ -73,8 +75,10 @@ {% endif %} + {% if target.light_theme_enabled %} + {% endif %} {% block head %} diff --git a/template/component-top-nav.html.jinja b/template/component-top-nav.html.jinja index 3d93c083a3..4685630c55 100644 --- a/template/component-top-nav.html.jinja +++ b/template/component-top-nav.html.jinja @@ -90,6 +90,7 @@ #}--> + {% if target.light_theme_enabled %} + {% endif %}