Skip to content

Commit

Permalink
docs: bordeaux
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Oct 13, 2024
1 parent 48cbef4 commit 5f28b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/theming/customizing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
</script>

Expand Down

0 comments on commit 5f28b3d

Please sign in to comment.