From 3fc4dbe7beca5e816f89ebffa013e95607f1cfef Mon Sep 17 00:00:00 2001 From: cubedhuang <99danielh@gmail.com> Date: Wed, 1 May 2024 10:13:05 -0400 Subject: [PATCH] fmt --- .prettierrc | 1 - src/app.html | 2 +- src/app.postcss | 3 +-- src/routes/+layout.svelte | 6 ++++-- svelte.config.js | 4 +--- tailwind.config.cjs | 2 +- 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.prettierrc b/.prettierrc index 3508f95..364ef01 100644 --- a/.prettierrc +++ b/.prettierrc @@ -6,6 +6,5 @@ "arrowParens": "avoid", "plugins": ["prettier-plugin-svelte"], - "pluginSearchDirs": ["."], "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] } diff --git a/src/app.html b/src/app.html index effe0d0..77ec85d 100644 --- a/src/app.html +++ b/src/app.html @@ -1,4 +1,4 @@ - + diff --git a/src/app.postcss b/src/app.postcss index 5b5e611..b76a883 100644 --- a/src/app.postcss +++ b/src/app.postcss @@ -68,8 +68,7 @@ @each $i in 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50 - { + 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50 { .fade > *:nth-child($(i)) { animation-delay: calc($(i) * 70ms + var(--fade-delay, 0ms)); } diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 4d59928..d111040 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -55,12 +55,14 @@ } :root::view-transition-old(content) { - animation: 90ms cubic-bezier(0.4, 0, 1, 1) both fade-out, + animation: + 90ms cubic-bezier(0.4, 0, 1, 1) both fade-out, 300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-to-left; } :root::view-transition-new(content) { - animation: 210ms cubic-bezier(0, 0, 0.2, 1) 90ms both fade-in, + animation: + 210ms cubic-bezier(0, 0, 0.2, 1) 90ms both fade-in, 300ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-right; } diff --git a/svelte.config.js b/svelte.config.js index 387ae8b..3a490ed 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -5,9 +5,7 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; const config = { // Consult https://kit.svelte.dev/docs/integrations#preprocessors // for more information about preprocessors - preprocess: [ - vitePreprocess(), - ], + preprocess: [vitePreprocess()], kit: { // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 3a3213d..2d70c4c 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -8,7 +8,7 @@ const config = { theme: { extend: { fontFamily: { - sans: ['"Inter"', ...defaultTheme.fontFamily.sans], + sans: ['"Inter"', ...defaultTheme.fontFamily.sans] } } },