Skip to content

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

Update theme guide

Chocobozzz944240e4425c
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index c75de0285a..ee3512d9ad 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -873,8 +873,14 @@ PeerTube creates gradients of some CSS variables so you don't have to specify al
You can take inspiration from core PeerTube themes in [client/src/sass/application.scss](https://github.com/Chocobozzz/PeerTube/blob/develop/client/src/sass/application.scss) file:
+::: info
+`--is-dark` CSS variable must be provided when you define a new theme
+:::
+
```css
body {
+ --is-dark: 0; // Or --is-dark: 1 if it's a dark theme
+
--primary: #FD9C50;
--on-primary: #111;
--border-primary: #F2690D;