Format files

This commit is contained in:
Santiago Lo Coco 2024-04-23 17:15:55 +02:00
parent 2eb6a9c0ba
commit ccc7a897d5
5 changed files with 40 additions and 47 deletions

View File

@ -24,4 +24,3 @@
@apply bg-background text-foreground; @apply bg-background text-foreground;
} }
</style> </style>

View File

@ -135,9 +135,7 @@
<main> <main>
<div> <div>
<h1> <h1>Prevent CVS</h1>
Prevent CVS
</h1>
{#if $state !== "Ready"} {#if $state !== "Ready"}
<p>{$state}</p> <p>{$state}</p>
<p>Time left until end of break: {$timeLeftDisplay}</p> <p>Time left until end of break: {$timeLeftDisplay}</p>
@ -145,14 +143,11 @@
<p>Time left until break: {$timeLeftDisplay}</p> <p>Time left until break: {$timeLeftDisplay}</p>
{/if} {/if}
{#if $state !== "Ready"} {#if $state !== "Ready"}
<button <button on:click={skipBreak}>Skip Break</button>
on:click={skipBreak}>Skip Break</button
>
{/if} {/if}
</div> </div>
</main> </main>
<style lang="postcss"> <style lang="postcss">
main { main {
@apply text-center; @apply text-center;

View File

@ -3,7 +3,6 @@ import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
const config = { const config = {
// vitePlugin: { // vitePlugin: {
// dynamicCompileOptions({filename}){ // dynamicCompileOptions({filename}){
// if(filename.includes('node_modules')){ // if(filename.includes('node_modules')){