From 2faf2e34331703b3bdea3eb487cb8799c8d65377 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 19 Sep 2023 18:13:57 +0200 Subject: refactor(build): replace paths aliases with relative paths Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases. --- src/styles/pages/Page.module.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/styles/pages/Page.module.scss') diff --git a/src/styles/pages/Page.module.scss b/src/styles/pages/Page.module.scss index 6aadff6..24fc1eb 100644 --- a/src/styles/pages/Page.module.scss +++ b/src/styles/pages/Page.module.scss @@ -1,9 +1,8 @@ -@use "@styles/abstracts/functions" as fun; -@use "@styles/abstracts/mixins" as mix; -@use "@styles/abstracts/placeholders"; +@use "../abstracts/functions" as fun; +@use "../abstracts/placeholders"; .article { - composes: grid from "@styles/layout/_grid.scss"; + composes: grid from "../layout/_grid.scss"; align-items: start; > header { @@ -37,7 +36,7 @@ li.item { .comments { grid-column: 1 / -1; - composes: grid from "@styles/layout/_grid.scss"; + composes: grid from "../layout/_grid.scss"; margin: var(--spacing-md) 0 0; padding: var(--spacing-md) 0 var(--spacing-lg); background: var(--color-bg-secondary); -- cgit v1.2.3