Skip to content

Commit

Permalink
Fix import path at elements
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Mar 3, 2022
1 parent 27284eb commit 5514b1c
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 20 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sprucecss",
"version": "0.4.0",
"version": "0.4.1",
"description": "Spruce CSS - Another CSS Framework",
"keywords": [
"css",
Expand Down
2 changes: 1 addition & 1 deletion scss/element/_accessibility.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'mixin' as *;
@use '../mixin' as *;

@mixin generate-accessibility {
.sr-only {
Expand Down
4 changes: 2 additions & 2 deletions scss/element/_default.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'config' as *;
@use 'function' as *;
@use '../config' as *;
@use '../function' as *;

@mixin generate-default {
::selection {
Expand Down
2 changes: 1 addition & 1 deletion scss/element/_divider.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'function' as *;
@use '../function' as *;

@mixin generate-divider {
hr {
Expand Down
4 changes: 2 additions & 2 deletions scss/element/_media.scss
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions scss/element/_root.scss
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions scss/element/_table.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use 'config' as *;
@use 'function' as *;
@use '../config' as *;
@use '../function' as *;

@mixin generate-table {
.table-responsive {
Expand Down
6 changes: 3 additions & 3 deletions scss/element/_typography.scss
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion scss/element/_utilities.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use 'function' as *;
@use '../function' as *;

@mixin generate-utilities {
@if setting(utilities) == true {
Expand Down

0 comments on commit 5514b1c

Please sign in to comment.