Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2025-08-13 21:04:43 +02:00
parent 5e38b5b1f8
commit 0b3f0dcbc4
17 changed files with 191 additions and 35 deletions
+2 -2
View File
@@ -44,8 +44,8 @@ export default async function RootLayout({
return (
<html
lang="en"
data-theme="light"
data-theme-name="default"
data-theme-mode="light"
data-theme-name="backstage"
suppressHydrationWarning
>
<body>
+2 -2
View File
@@ -13,8 +13,8 @@ even more straightforward.
## Light & Dark modes
By default, Backstage UI supports both light and dark modes using the `data-theme` attribute.
The light theme is applied by default if no `data-theme` attribute is specified. To create
By default, Backstage UI supports both light and dark modes using the `data-theme-mode` attribute.
The light theme is applied by default if no `data-theme-mode` attribute is specified. To create
a custom theme, you'll need to define both light and dark modes as outlined below. If
only one mode is defined, the other will fall back to the default theme.