From 5514b1c7e53f725aaccbed0e260f3ae44b5f6219 Mon Sep 17 00:00:00 2001 From: Adam Laki Date: Thu, 3 Mar 2022 20:25:36 +0100 Subject: [PATCH] Fix import path at elements --- CHANGELOG.md | 12 ++++++++---- package.json | 2 +- scss/element/_accessibility.scss | 2 +- scss/element/_default.scss | 4 ++-- scss/element/_divider.scss | 2 +- scss/element/_media.scss | 4 ++-- scss/element/_root.scss | 6 +++--- scss/element/_table.scss | 4 ++-- scss/element/_typography.scss | 6 +++--- scss/element/_utilities.scss | 2 +- 10 files changed, 24 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b4435f..c9c729c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,18 @@ # Spruce CSS Changelog +## v0.4.1 (2022-03-03) + +### Bugfix +- Fix import path at elements. + ## v0.4.0 (2022-03-03) ### Improvements -- Add generator mixins -- Rework preview - +- Add generator mixins. +- Rework preview. ## v0.3.1 (2022-02-23) -- Fix typos +- Fix typos. ## v0.3.0 (2022-02-22) diff --git a/package.json b/package.json index d4c06bf..e84c329 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sprucecss", - "version": "0.4.0", + "version": "0.4.1", "description": "Spruce CSS - Another CSS Framework", "keywords": [ "css", diff --git a/scss/element/_accessibility.scss b/scss/element/_accessibility.scss index ad881eb..cb1e322 100644 --- a/scss/element/_accessibility.scss +++ b/scss/element/_accessibility.scss @@ -1,4 +1,4 @@ -@use 'mixin' as *; +@use '../mixin' as *; @mixin generate-accessibility { .sr-only { diff --git a/scss/element/_default.scss b/scss/element/_default.scss index b982581..76a321c 100644 --- a/scss/element/_default.scss +++ b/scss/element/_default.scss @@ -1,5 +1,5 @@ -@use 'config' as *; -@use 'function' as *; +@use '../config' as *; +@use '../function' as *; @mixin generate-default { ::selection { diff --git a/scss/element/_divider.scss b/scss/element/_divider.scss index ba2b8c0..c017c03 100644 --- a/scss/element/_divider.scss +++ b/scss/element/_divider.scss @@ -1,4 +1,4 @@ -@use 'function' as *; +@use '../function' as *; @mixin generate-divider { hr { diff --git a/scss/element/_media.scss b/scss/element/_media.scss index f950eb8..07c81b9 100644 --- a/scss/element/_media.scss +++ b/scss/element/_media.scss @@ -1,5 +1,5 @@ -@use 'function' as *; -@use 'mixin' as *; +@use '../function' as *; +@use '../mixin' as *; @mixin generate-media { // Set responsive images and disable image select diff --git a/scss/element/_root.scss b/scss/element/_root.scss index 01b7657..8787fe3 100644 --- a/scss/element/_root.scss +++ b/scss/element/_root.scss @@ -1,7 +1,7 @@ @use 'sass:map'; -@use 'function' as *; -@use 'mixin' as *; -@use 'config' as *; +@use '../function' as *; +@use '../mixin' as *; +@use '../config' as *; @mixin generate-root { // Generate the $colors maps into CSS custom properties. diff --git a/scss/element/_table.scss b/scss/element/_table.scss index cc1c04f..83f3aaa 100644 --- a/scss/element/_table.scss +++ b/scss/element/_table.scss @@ -1,5 +1,5 @@ -@use 'config' as *; -@use 'function' as *; +@use '../config' as *; +@use '../function' as *; @mixin generate-table { .table-responsive { diff --git a/scss/element/_typography.scss b/scss/element/_typography.scss index a8b1ad8..0f741da 100644 --- a/scss/element/_typography.scss +++ b/scss/element/_typography.scss @@ -1,6 +1,6 @@ -@use 'function' as *; -@use 'mixin' as *; -@use 'config' as *; +@use '../function' as *; +@use '../mixin' as *; +@use '../config' as *; @mixin generate-typography { // Basics diff --git a/scss/element/_utilities.scss b/scss/element/_utilities.scss index 2a179fb..a6ef9ad 100644 --- a/scss/element/_utilities.scss +++ b/scss/element/_utilities.scss @@ -1,4 +1,4 @@ -@use 'function' as *; +@use '../function' as *; @mixin generate-utilities { @if setting(utilities) == true {