concept style in category svelte
appears as: styles, style, style

This is an excerpt from Manning's book Svelte and Sapper in Action.
Edit the provided files src/main.jsandpublic/global.css. Global styles can be defined in a REPL app by defining them in thestyleelement withinApp.svelte, enclosing them in the syntax:global(body){...}. This syntax is described in chapter 3.
.sveltefiles can contain at most one<scriptcontext="module">element, onescriptelement, onestyleelement, and any number of HTML elements that can appear in abodyelement. Each of these are optional, and these elements can appear in any order. This means that something as simple as the following is a valid Svelte component: