Skip to content

Open source CapCut alternative.

TypeScript

docs(site): keep the app surface comment on its rule

David Le44a931862c5c
diff --git a/site/src/app/globals.css b/site/src/app/globals.css
index 72ecf2d2..1ee904c3 100644
--- a/site/src/app/globals.css
+++ b/site/src/app/globals.css
@@ -134,9 +134,6 @@
}
}
-/* Product pages use a white surface in light mode and the dark page surface
- in dark mode. Repointing the document token covers overscroll and portaled
- dialogs as soon as the app wrapper parses. */
/* Dark mode lights a dark panel from behind so it lifts off the dark page.
`backlight` glows a box; `backlight-image` follows a picture's own shape. */
@utility backlight {
@@ -151,6 +148,9 @@
}
}
+/* Product pages use a white surface in light mode and the dark page surface
+ in dark mode. Repointing the document token covers overscroll and portaled
+ dialogs as soon as the app wrapper parses. */
html:has(.app-surface) {
--background: var(--app-background);
}