Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cubedhuang committed May 1, 2024
1 parent 5187696 commit 3fc4dbe
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"arrowParens": "avoid",

"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
3 changes: 1 addition & 2 deletions src/app.postcss
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down
6 changes: 4 additions & 2 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 1 addition & 3 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const config = {
theme: {
extend: {
fontFamily: {
sans: ['"Inter"', ...defaultTheme.fontFamily.sans],
sans: ['"Inter"', ...defaultTheme.fontFamily.sans]
}
}
},
Expand Down

0 comments on commit 3fc4dbe

Please sign in to comment.