From d14d190bc21c7c10a7047046b94a24d2d746f157 Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Tue, 14 Dec 2021 17:04:18 +0100 Subject: [PATCH] Convert global styles to vanilla styles --- src/components/Footer.css.ts | 2 +- src/components/SvgIcon.svelte | 2 +- src/routes/__layout.svelte | 56 +----------- src/routes/blog/blog.css.ts | 2 +- src/routes/layout.css.ts | 47 +++++++++- src/styles/global.css.ts | 152 ++++++++++++++++++++++++++++++++ src/styles/global.module.less | 157 ---------------------------------- src/styles/sprinkles.css.ts | 1 + src/styles/vanilla.css.ts | 5 -- src/styles/vars.css.ts | 28 +++++- 10 files changed, 227 insertions(+), 225 deletions(-) create mode 100644 src/styles/global.css.ts delete mode 100644 src/styles/global.module.less delete mode 100644 src/styles/vanilla.css.ts diff --git a/src/components/Footer.css.ts b/src/components/Footer.css.ts index edd425c..46a22bf 100644 --- a/src/components/Footer.css.ts +++ b/src/components/Footer.css.ts @@ -123,7 +123,7 @@ export const bottomLineClass = sprinkles({ display: 'flex', justifyContent: 'space-between', marginX: 'auto', - marginBottom: '1x', + paddingBottom: '1x', marginTop: '2x', maxWidth: 'max', }) diff --git a/src/components/SvgIcon.svelte b/src/components/SvgIcon.svelte index 6af999a..c3c1712 100644 --- a/src/components/SvgIcon.svelte +++ b/src/components/SvgIcon.svelte @@ -1,5 +1,5 @@ diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 56c7f3f..965eb3f 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -19,6 +19,8 @@