File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,12 @@ export const languages: Record<LanguageName, Language> = {
1919 text : `
2020// Click on the code to change the color
2121// Or use the sidebar to the right :)
22- import { createHighlighter } from 'shiki'
23-
22+ // You can also edit the code here and paste your own.
2423
24+ import { createHighlighter } from 'shiki'
25+ import { type VariantProps, tv } from "tailwind-variants"
26+ import type { Button as ButtonPrimitive } from "bits-ui"
27+ import Root from "./button.svelte"
2528
2629// \`createHighlighter\` is async, it initializes the internal and
2730// loads the themes and languages specified.
@@ -41,9 +44,6 @@ const code = highlighter.codeToHtml('const a = 1', {
4144 theme: 'nord'
4245})
4346
44- import { type VariantProps, tv } from "tailwind-variants"
45- import type { Button as ButtonPrimitive } from "bits-ui"
46- import Root from "./button.svelte"
4747
4848const buttonVariants = tv({
4949 base: "",
You can’t perform that action at this time.
0 commit comments