Skip to content

Commit 81b517b

Browse files
authored
Merge pull request #99 from ibrahimcesar/claude/fix-sicp-link-011WiJJ8QJvDrjjLKMreNWVW
Fix missing SICP chapter link in playground
2 parents 7082a67 + c2b7f09 commit 81b517b

File tree

3 files changed

+43
-2
lines changed

3 files changed

+43
-2
lines changed

src/components/CodePlayground.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { Sandpack } from "@codesandbox/sandpack-react";
3-
import { nightOwl, aquaBlue } from "@codesandbox/sandpack-react";
43
import { useColorMode } from '@docusaurus/theme-common';
54

65
/**
@@ -30,7 +29,7 @@ export default function CodePlayground({
3029
height = 300,
3130
}) {
3231
const { colorMode } = useColorMode();
33-
const theme = colorMode === 'dark' ? nightOwl : aquaBlue;
32+
const theme = colorMode === 'dark' ? 'dark' : 'light';
3433

3534
// Construir estrutura de arquivos baseado nas props
3635
let sandpackFiles;

static/img/logo.svg

Lines changed: 22 additions & 0 deletions
Loading

static/img/sicp-social-card.jpg

Lines changed: 20 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)