Improve SCSS import consistency with namespaced imports

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-19 20:19:41 +00:00
parent f3bc433297
commit c1b3929940
2 changed files with 8 additions and 9 deletions

View File

@@ -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;
}

View File

@@ -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);