Skip to content

Commit 22dd8de

Browse files
committed
Fix sass build warnings
1 parent 42d2a72 commit 22dd8de

13 files changed

Lines changed: 28 additions & 37 deletions
Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
6-
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7-
name: Deploy Jekyll site to Pages
1+
name: Build + Deploy
82

93
on:
10-
# Runs on pushes targeting the default branch
114
push:
125
branches: ["main"]
136

14-
# Allows you to run this workflow manually from the Actions tab
7+
# Allow manual runs
158
workflow_dispatch:
169

1710
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -27,7 +20,6 @@ concurrency:
2720
cancel-in-progress: false
2821

2922
jobs:
30-
# Build job
3123
build:
3224
runs-on: ubuntu-latest
3325
steps:
@@ -37,7 +29,7 @@ jobs:
3729
# https://github.com/ruby/setup-ruby/releases/tag/v1.313.0
3830
uses: ruby/setup-ruby@89f90524b88a01fe6e0b732220432cc6142926af
3931
with:
40-
ruby-version: '4.0.5' # Not needed with a .ruby-version file
32+
ruby-version: '4.0.5'
4133
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4234
cache-version: 0 # Increment this number if you need to re-download cached gems
4335
- name: Setup Pages
@@ -51,8 +43,7 @@ jobs:
5143
- name: Upload artifact
5244
# Automatically uploads an artifact from the './_site' directory by default
5345
uses: actions/upload-pages-artifact@v5
54-
55-
# Deployment job
46+
5647
deploy:
5748
environment:
5849
name: github-pages

_sass/_buy-me-a-coffee.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
$coffee-img-size: 40px;
44
$coffee-img-margin-top: calc($coffee-img-size / 2 * -1);

_sass/_code-samples.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
code {
44
background: $body-code-bg-color;

_sass/_comments.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
#comments-link {
44
float: right;

_sass/_content.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
/**
44
* 4. Content

_sass/_footer.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
/**
44
* 5. Site Footer
@@ -14,6 +14,7 @@
1414
letter-spacing: 1px;
1515
line-height: 1.5;
1616
margin-bottom: 0;
17+
text-align: right;
1718
text-transform: uppercase;
1819
}
1920

_sass/_forms.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
/* Form fields */
44
input,

_sass/_general.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
/**
44
* 1. General

_sass/_header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
/**
44
* 3. Site Header

_sass/_media-queries.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "_variables.scss";
1+
@use "variables" as *;
22

33
/**
44
* 6. Media Queries

0 commit comments

Comments
 (0)