From c1b3929940cd01da38cbb9d1b2cf97c7d9567cb7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:19:41 +0000 Subject: [PATCH] Improve SCSS import consistency with namespaced imports Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com> --- src/app/globals.scss | 7 +++---- src/styles/utilities/_utilities.scss | 10 +++++----- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/app/globals.scss b/src/app/globals.scss index 77d6958..4c6f70d 100644 --- a/src/app/globals.scss +++ b/src/app/globals.scss @@ -1,5 +1,4 @@ @use '../styles/abstracts' as *; -@use '../styles/abstracts/variables' as vars; @use '../styles/utilities/utilities'; @use './theme.scss'; @@ -7,12 +6,12 @@ margin: 0; padding: 0; box-sizing: border-box; - border-color: vars.$border; + border-color: $border; } body { - background: vars.$background; - color: vars.$foreground; + background: $background; + color: $foreground; font-family: var(--font-inter), 'Inter', sans-serif; line-height: 1.5; } diff --git a/src/styles/utilities/_utilities.scss b/src/styles/utilities/_utilities.scss index d9ada1b..81bc02c 100644 --- a/src/styles/utilities/_utilities.scss +++ b/src/styles/utilities/_utilities.scss @@ -1,6 +1,6 @@ -@use '../abstracts' as *; @use '../abstracts/functions' as fn; @use '../abstracts/variables' as vars; +@use '../abstracts/mixins' as mx; // Utility classes generator @each $name, $value in vars.$spacing { @@ -131,10 +131,10 @@ .transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease !important; } // Shadow -.shadow-sm { @include shadow-sm; } -.shadow { @include shadow; } -.shadow-md { @include shadow-md; } -.shadow-lg { @include shadow-lg; } +.shadow-sm { @include mx.shadow-sm; } +.shadow { @include mx.shadow; } +.shadow-md { @include mx.shadow-md; } +.shadow-lg { @include mx.shadow-lg; } // Space between children - DRY loop $space-values: (2, 3, 4, 6, 8);