This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update jekyll and jekyll-assets (#238)
* Update jekyll-assets * Remove uswds jekyll plugin * Include fonts in asset pipeline * Update ruby deps * Decouple theme file paths from theme config files * Revert ruby version change
- Loading branch information
Showing
28 changed files
with
8,494 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Override USWDS mixin to use jekyll-assets asset_url() | ||
|
||
@mixin add-background-svg($image-name, $image-path: $theme-image-path) { | ||
background-image: asset_url("#{$image-path}/#{$image-name}.svg"), | ||
linear-gradient(transparent, transparent); | ||
background-repeat: no-repeat; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@import "add-background-svg"; | ||
@import "font-face"; | ||
@import "hero"; | ||
@import "icon"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Override USWDS mixin to use jekyll-assets asset_url() | ||
|
||
@mixin at-font-face($display-name, $file-path, $font-weight, $font-style) { | ||
@font-face { | ||
font-family: $display-name; | ||
font-style: unquote($font-style); | ||
font-weight: $font-weight; | ||
font-display: fallback; | ||
src: asset_url("'#{$file-path}.woff2'") format("woff2"), | ||
asset_url("'#{$file-path}.woff'") format("woff"), | ||
asset_url("'#{$file-path}.ttf'") format("truetype"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Override USWDS mixin to use jekyll-assets asset_url() | ||
|
||
.usa-hero { | ||
background-image: $theme-hero-image !important; | ||
} |
Oops, something went wrong.