We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7082a67 + c2b7f09 commit 81b517bCopy full SHA for 81b517b
src/components/CodePlayground.js
@@ -1,6 +1,5 @@
1
import React from 'react';
2
import { Sandpack } from "@codesandbox/sandpack-react";
3
-import { nightOwl, aquaBlue } from "@codesandbox/sandpack-react";
4
import { useColorMode } from '@docusaurus/theme-common';
5
6
/**
@@ -30,7 +29,7 @@ export default function CodePlayground({
30
29
height = 300,
31
}) {
32
const { colorMode } = useColorMode();
33
- const theme = colorMode === 'dark' ? nightOwl : aquaBlue;
+ const theme = colorMode === 'dark' ? 'dark' : 'light';
34
35
// Construir estrutura de arquivos baseado nas props
36
let sandpackFiles;
static/img/logo.svg
static/img/sicp-social-card.jpg
0 commit comments