Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Use :root instead of body for CSS variables

Chocobozzz93926d270099
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 4cd7ac4a9e..8f516e04c5 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -878,7 +878,7 @@ You can take inspiration from core PeerTube themes in [client/src/sass/applicati
:::
```css
-body {
+:root {
--is-dark: 0; /* Or --is-dark: 1 if it's a dark theme */
--primary: #FD9C50;