Skip to content

Commit 0eb0a87

Browse files
committed
add themes
1 parent c5d2def commit 0eb0a87

File tree

8 files changed

+1244
-312
lines changed

8 files changed

+1244
-312
lines changed

package-lock.json

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

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@
5353
"vue": "^3.0.0"
5454
},
5555
"devDependencies": {
56+
"@emotion/css": "^11.13.4",
57+
"@theme-ui/prism": "^0.16.2",
5658
"@types/node": "^22.7.4",
5759
"@types/prismjs": "^1.26.4",
5860
"@vitejs/plugin-vue": "^5.1.2",
61+
"prismjs": "^1.29.0",
5962
"typescript": "^5.5.3",
6063
"vite": "^5.4.1",
6164
"vite-plugin-dts": "^4.2.2",

src/App.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<template>
22
Test:
33
<CodeBlock
4-
theme="dark"
4+
theme="none"
55
:code="code"
66
language="python"
7-
code-class="codeClass"
8-
:numbered="true">
7+
:numbered="true"
8+
file-name="">
99
</CodeBlock>
1010
<!-- :lines-highlighted="[1, 2]"
1111
:words-highlighted="['log']" -->
@@ -23,6 +23,7 @@
2323
2424
const code = `print("Hello, World!")
2525
s = 2
26+
sdsd = 3
2627
`;
2728
</script>
2829

0 commit comments

Comments
 (0)