diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-09-19 18:13:57 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-09-19 19:12:31 +0200 |
| commit | 2faf2e34331703b3bdea3eb487cb8799c8d65377 (patch) | |
| tree | dedc6557ddaa8fedd42d9bdf77950f8f9168ebcb /src/styles/abstracts | |
| parent | d1fe9e2164fc5c8fd767b456eecc2a4eb929a33f (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/abstracts')
| -rw-r--r-- | src/styles/abstracts/_variables.scss | 2 | ||||
| -rw-r--r-- | src/styles/abstracts/mixins/_media-queries.scss | 2 | ||||
| -rw-r--r-- | src/styles/abstracts/placeholders/_layout.scss | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/styles/abstracts/_variables.scss b/src/styles/abstracts/_variables.scss index fc28e7b..d56ba18 100644 --- a/src/styles/abstracts/_variables.scss +++ b/src/styles/abstracts/_variables.scss @@ -1,6 +1,6 @@ @use "sass:map"; @use "sass:math"; -@use "@styles/abstracts/functions" as fun; +@use "./functions" as fun; //=========================================================================== // Ratios diff --git a/src/styles/abstracts/mixins/_media-queries.scss b/src/styles/abstracts/mixins/_media-queries.scss index e72f572..021b4c8 100644 --- a/src/styles/abstracts/mixins/_media-queries.scss +++ b/src/styles/abstracts/mixins/_media-queries.scss @@ -1,5 +1,5 @@ -@use "../variables" as var; @use "sass:map"; +@use "../variables" as var; /// Media query: media type /// @param {String} $type - Media type: all, screen, print, retina. diff --git a/src/styles/abstracts/placeholders/_layout.scss b/src/styles/abstracts/placeholders/_layout.scss index 1a28acb..94db45d 100644 --- a/src/styles/abstracts/placeholders/_layout.scss +++ b/src/styles/abstracts/placeholders/_layout.scss @@ -1,4 +1,4 @@ -@use "@styles/abstracts/mixins" as mix; +@use "../mixins" as mix; %grid { display: grid; |
