Skip to content

Commit

Permalink
change dummy TS code
Browse files Browse the repository at this point in the history
  • Loading branch information
vdawg-git committed Oct 26, 2024
1 parent 0e27bef commit 6654afe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/state/language.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ export const languages: Record<LanguageName, Language> = {
text: `
// Click on the code to change the color
// Or use the sidebar to the right :)
import { createHighlighter } from 'shiki'
// You can also edit the code here and paste your own.
import { createHighlighter } from 'shiki'
import { type VariantProps, tv } from "tailwind-variants"
import type { Button as ButtonPrimitive } from "bits-ui"
import Root from "./button.svelte"
// \`createHighlighter\` is async, it initializes the internal and
// loads the themes and languages specified.
Expand All @@ -41,9 +44,6 @@ const code = highlighter.codeToHtml('const a = 1', {
theme: 'nord'
})
import { type VariantProps, tv } from "tailwind-variants"
import type { Button as ButtonPrimitive } from "bits-ui"
import Root from "./button.svelte"
const buttonVariants = tv({
base: "",
Expand Down

0 comments on commit 6654afe

Please sign in to comment.