From 07336e48ed3d3677ffaf5e35a1b3c202efc89de0 Mon Sep 17 00:00:00 2001 From: Xevion Date: Fri, 24 Nov 2023 17:37:32 -0600 Subject: [PATCH] Prettier format invocation --- src/styles/glitch.scss | 19 +++++-------------- tsconfig.json | 16 ++++------------ 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/src/styles/glitch.scss b/src/styles/glitch.scss index ad1a484..54047c7 100644 --- a/src/styles/glitch.scss +++ b/src/styles/glitch.scss @@ -8,8 +8,7 @@ header { grid-template-columns: 1fr; &.glitch span { - animation: - glitch 340ms cubic-bezier(0.46, 0.29, 0, 1.24) 1 backwards + animation: glitch 340ms cubic-bezier(0.46, 0.29, 0, 1.24) 1 backwards calc(var(--index) * 120ms), jitter 2000ms ease infinite 2s alternate-reverse; } @@ -44,9 +43,7 @@ header { 0% { opacity: 0; transform: translateX(-50%); - text-shadow: - -2px 3px 0 red, - 2px -3px 0 blue; + text-shadow: -2px 3px 0 red, 2px -3px 0 blue; } 60% { opacity: 0.5; @@ -55,9 +52,7 @@ header { 80% { transform: none; opacity: 1; - text-shadow: - 2px -3px 0 red, - -2px 3px 0 blue; + text-shadow: 2px -3px 0 red, -2px 3px 0 blue; } 100% { text-shadow: none; @@ -66,15 +61,11 @@ header { @keyframes jitter { 0% { - text-shadow: - -2px 3px 0 red, - 2px -3px 0 blue; + text-shadow: -2px 3px 0 red, 2px -3px 0 blue; transform: translate(var(--glitch-translate)); } 2% { - text-shadow: - 2px -3px 0 red, - -2px 3px 0 blue; + text-shadow: 2px -3px 0 red, -2px 3px 0 blue; } 4%, 100% { diff --git a/tsconfig.json b/tsconfig.json index be3dd3e..6e156f8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,18 +3,10 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "@styles/*": [ - "src/styles/*" - ], - "@layouts/*": [ - "src/layouts/*" - ], - "@posts/*": [ - "src/pages/posts/*" - ], - "@components/*": [ - "src/components/*" - ] + "@styles/*": ["src/styles/*"], + "@layouts/*": ["src/layouts/*"], + "@posts/*": ["src/pages/posts/*"], + "@components/*": ["src/components/*"] } } }