| 1 |
From: Dmitry Shachnev <[email protected]> |
| 2 |
Date: Sun, 23 Aug 2020 17:59:25 +0300 |
| 3 |
Subject: Replace webpack-style imports with normal ones |
| 4 |
|
| 5 |
The ~ syntax is only supported by webpack, which we do not use: |
| 6 |
https://github.com/webpack-contrib/sass-loader#resolving-import-at-rules |
| 7 |
--- |
| 8 |
src/sass/_theme_variables.sass | 2 +- |
| 9 |
src/sass/badge_only.sass | 4 ++-- |
| 10 |
src/sass/theme.sass | 6 +++--- |
| 11 |
3 files changed, 6 insertions(+), 6 deletions(-) |
| 12 |
|
| 13 |
diff --git a/src/sass/_theme_variables.sass b/src/sass/_theme_variables.sass |
| 14 |
index d9a5310..5b47605 100644 |
| 15 |
--- a/src/sass/_theme_variables.sass |
| 16 |
+++ b/src/sass/_theme_variables.sass |
| 17 |
@@ -2,7 +2,7 @@ |
| 18 |
// that are set in wyrm_core/wy_variables.sass. You'll find wyrm in bower_components if you're looking |
| 19 |
// for a reference. |
| 20 |
|
| 21 |
-$fa-font-path: "~font-awesome/fonts" |
| 22 |
+$fa-font-path: "../fonts" |
| 23 |
$static-img: "../img/" |
| 24 |
|
| 25 |
$nav-content-width: 800px |
| 26 |
diff --git a/src/sass/badge_only.sass b/src/sass/badge_only.sass |
| 27 |
index 2b09416..b8cdac3 100644 |
| 28 |
--- a/src/sass/badge_only.sass |
| 29 |
+++ b/src/sass/badge_only.sass |
| 30 |
@@ -8,8 +8,8 @@ $border-box-sizing: false !default |
| 31 |
|
| 32 |
@import wyrm_core/wy_variables |
| 33 |
@import theme_variables |
| 34 |
-@import ~bourbon/app/assets/stylesheets/bourbon |
| 35 |
-@import ~bourbon-neat/app/assets/stylesheets/neat |
| 36 |
+@import bourbon |
| 37 |
+@import neat |
| 38 |
@import wyrm_core/mixin |
| 39 |
@import wyrm_core/grid_settings |
| 40 |
@import _theme_badge_fa |
| 41 |
diff --git a/src/sass/theme.sass b/src/sass/theme.sass |
| 42 |
index 73e77e4..3330736 100644 |
| 43 |
--- a/src/sass/theme.sass |
| 44 |
+++ b/src/sass/theme.sass |
| 45 |
@@ -13,11 +13,11 @@ |
| 46 |
@import theme_variables |
| 47 |
|
| 48 |
// bourbon.io framework |
| 49 |
-@import ~bourbon/app/assets/stylesheets/bourbon |
| 50 |
+@import bourbon |
| 51 |
|
| 52 |
// Bourbon.io/neat framework, with some default media queries |
| 53 |
@import wyrm_core/grid_settings |
| 54 |
-@import ~bourbon-neat/app/assets/stylesheets/neat |
| 55 |
+@import neat |
| 56 |
// Some corrections for neat |
| 57 |
@import wyrm_core/neat_extra |
| 58 |
|
| 59 |
@@ -28,7 +28,7 @@ |
| 60 |
@import wyrm_core/mixin |
| 61 |
|
| 62 |
// Font Awesome with wyrm extras |
| 63 |
-@import ~font-awesome/scss/font-awesome |
| 64 |
+@import font-awesome |
| 65 |
@import wyrm_core/font_icon_defaults |
| 66 |
|
| 67 |
// Wyrm core styles used in this theme |