Your favorite patterns for building in Svelte.
What we're looking for here is to share some of your favorite patterns with Svelte.
Hoping to get some help finishing out this site as well.
The syntax highlighting is powered by PrismJS under the hood, and this project comes with a default theme of Visual Studio Code Dark+ by tabuckner.
You can find an availble list of PrismJS themes here on GitHub.
In order to change the syntax highlighting theme for the project, just follow these steps.
Cmd + A
or Ctrl + A
to select all, and then press Cmd + C
or Ctrl + C
to copy all of the CSS.~/static/prism-theme
folder, and name it whatever you would like.Cmd/Ctrl + V
paste in the copied CSS of the Prism theme.~/src/app.html
and edit the <link>
tag on line 6 so that it matches the name of your CSS file in the ~/static/prism-theme
folder. Then save the file.You should not have to restart the development server, the theme should just be updated client side.