Skip to content

Commit

Permalink
Add missing @use
Browse files Browse the repository at this point in the history
  • Loading branch information
sylhare committed Nov 21, 2024
1 parent 8aa45ad commit 186e8b0
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 4 deletions.
3 changes: 3 additions & 0 deletions _sass/includes/_blog_nav.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use '../base/variables' as *;
@use '../base/utility' as *;

/* --- Pagination --- */
.pagination {
@extend %padding-nav;
Expand Down
2 changes: 2 additions & 0 deletions _sass/includes/_footer.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use '../base/utility' as *;

.site-footer {
@extend %padding-post;
z-index: -1;
Expand Down
2 changes: 2 additions & 0 deletions _sass/includes/_navbar.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use '../base/variables' as *;

// To clear things when we float the element inside nav and ul
.clear {
*zoom: 1;
Expand Down
2 changes: 2 additions & 0 deletions _sass/includes/_portfolio.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use '../base/variables' as *;

.portfolio-link {
display: block;
position: relative;
Expand Down
7 changes: 3 additions & 4 deletions _sass/includes/_post_nav.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use '../base/variables' as *;
@use '../base/utility' as *;

#post-nav {
width: 100%;
display: inline-block;
Expand All @@ -9,10 +12,6 @@
margin: 0;
}

p {
@extend .meta;
}

#previous-post {
float: left;
width: 50%;
Expand Down
3 changes: 3 additions & 0 deletions _sass/layouts/_blog.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use '../base/variables' as *;
@use '../base/utility' as *;

/* --- Header text feature --- */
.call-out {
@extend %padding-header;
Expand Down
2 changes: 2 additions & 0 deletions _sass/layouts/_categories.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use '../base/variables' as *;

#archive,
#categories {
.archive-clouds,
Expand Down
3 changes: 3 additions & 0 deletions _sass/layouts/_page.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use '../base/variables' as *;
@use '../base/utility' as *;

.title-padder {
padding: $title-padding;
}
Expand Down
3 changes: 3 additions & 0 deletions _sass/layouts/_posts.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@use '../base/variables' as *;
@use '../base/utility' as *;

.comments {
@extend %padding-post;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
Expand Down
2 changes: 2 additions & 0 deletions _sass/layouts/_tags.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use '../base/variables' as *;

.tag-list {
width: 100%;
padding-bottom: $padding-x-small;
Expand Down

0 comments on commit 186e8b0

Please sign in to comment.