From 5f28b3dd3f624807e1ae7f69ae55b1dbe5f9de62 Mon Sep 17 00:00:00 2001 From: Benny Powers Date: Sun, 13 Oct 2024 23:31:33 +0300 Subject: [PATCH] docs: bordeaux --- docs/theming/customizing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/theming/customizing.md b/docs/theming/customizing.md index c8d8ce1cfc..c13d7b124c 100644 --- a/docs/theming/customizing.md +++ b/docs/theming/customizing.md @@ -23,7 +23,7 @@ order: 3 import '@rhds/elements/rh-tag/rh-tag.js'; import '@rhds/elements/rh-tile/rh-tile.js'; document.getElementById('bordeaux-page-switch').addEventListener('change', function() { - document.body.classList.toggle('theme-bordeaux', this.checked); + document.documentElement.classList.toggle('theme-bordeaux', this.checked); });