Skip to content

Commit 50c76ca

Browse files
committed
website: rm line num and upgrade deps
1 parent caceaca commit 50c76ca

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"@types/node": "^22.10.7",
3131
"@types/react": "^19.0.7",
3232
"@types/react-dom": "^19.0.3",
33-
"bunchee": "^6.3.2",
34-
"codice": "1.0.0",
33+
"bunchee": "^6.3.3",
34+
"codice": "1.1.0",
3535
"devjar": "link:./",
3636
"next": "^15.1.5",
3737
"react": "^19.0.0",

pnpm-lock.yaml

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/app/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const codeSampleCssImport = {
5252
background: #eee;
5353
border: 1px solid #222;
5454
padding: 8px 16px;
55-
border-radius: 8px;
55+
border-radius: 4px;
5656
font-weight: 700;
5757
transition: color 0.2s ease-in-out;
5858
}
@@ -123,7 +123,7 @@ export default function Page() {
123123
</p>
124124
</div>
125125

126-
<h1 className="text-center">Examples</h1>
126+
<h2 className="text-center">Examples</h2>
127127
<div className="codesandboxes">
128128
<Codesandbox title="Tailwind CSS" files={codeSampleTheme} />
129129
<Codesandbox title="Plain CSS" files={codeSampleCssImport} />

site/styles.css

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body {
1919
--sh-class: #6f42c1;
2020
--sh-identifier: #354150;
2121
--sh-sign: #24292e;
22-
--sh-string: #53b487;
22+
--sh-string: #57a3a7;
2323
--sh-keyword: #d73a49;
2424
--sh-comment: #6a737d;
2525
--sh-jsxliterals: #24292e;
@@ -156,6 +156,7 @@ textarea:focus-visible {
156156
max-width: 680px;
157157
margin: 0 auto;
158158
text-align: center;
159+
color: #404756;
159160
}
160161

161162
.titles h1 {
@@ -165,7 +166,6 @@ textarea:focus-visible {
165166

166167
.titles h3 {
167168
font-size: 32px;
168-
color: #404756;
169169
margin: 0;
170170
padding: 8px 0;
171171
}
@@ -174,7 +174,6 @@ textarea:focus-visible {
174174
font-size: 20px;
175175
margin: 0;
176176
padding: 8px 0;
177-
color: #404756;
178177
}
179178

180179
.playground {

site/ui/codesandbox.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export function Codesandbox({
4444
className="editor"
4545
controls={false}
4646
title={null}
47+
lineNumbers={false}
4748
value={files[activeFile]}
4849
onChange={(code) => {
4950
setFiles({

0 commit comments

Comments
 (0)