aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/pages/Page.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-19 18:13:57 +0200
committerArmand Philippot <git@armandphilippot.com>2023-09-19 19:12:31 +0200
commit2faf2e34331703b3bdea3eb487cb8799c8d65377 (patch)
treededc6557ddaa8fedd42d9bdf77950f8f9168ebcb /src/styles/pages/Page.module.scss
parentd1fe9e2164fc5c8fd767b456eecc2a4eb929a33f (diff)
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.
Diffstat (limited to 'src/styles/pages/Page.module.scss')
-rw-r--r--src/styles/pages/Page.module.scss9
1 files changed, 4 insertions, 5 deletions
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);