Selaa lähdekoodia

fix components paths

Elijah 8 kuukautta sitten
vanhempi
säilyke
b110704c41
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      reflex/components/datadisplay/shiki_code_block.py

+ 2 - 2
reflex/components/datadisplay/shiki_code_block.py

@@ -350,11 +350,11 @@ class ShikiJsTransformer(ShikiBaseTransformers):
 
 
 class ShikiCodeBlock(Component):
-    library = "/utils/code"
+    library = "/components/shiki/code"
     tag = "Code"
     alias = "ShikiCode"
     language: Var[LiteralCodeLanguage] = Var.create("python")
-    theme: Var[LiteralCodeTheme] = Var.create("github-dark")
+    theme: Var[LiteralCodeTheme] = Var.create("one-light")
     themes: Var[list[dict[str, Any]] | dict[str, str]]
     code: Var[str]
     transformers: Var[list[ShikiBaseTransformers | dict[str, Any]]] = []