KittyCAD / modeling-app

The KittyCAD modeling app.
https://kittycad.io/modeling-app/download
MIT License
368 stars 30 forks source link

Closing the KCL Code pane and re-openining ruins the syntax highlighting in dark mode #3080

Closed franknoirot closed 2 months ago

franknoirot commented 2 months ago

Steps to reproduce

  1. start the app with the code pane open and some code inside, with the dark theme
  2. close it
  3. open it

The syntax highlighting theme is wiped for a much uglier one

https://github.com/user-attachments/assets/cc9a2b38-a68f-4e9b-bb2b-88042d522490

jessfraz commented 2 months ago

Dupe of https://github.com/KittyCAD/modeling-app/issues/3077 where we were already debugging