Skip to content

Commit e5a33eb

Browse files
committed
remove bourbon-neat
1 parent 0a89b8d commit e5a33eb

File tree

8 files changed

+26
-340
lines changed

8 files changed

+26
-340
lines changed

app/styles/app.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
@import "normalize";
33
@import "bourbon";
44
@import "./base/base";
5-
@import "neat";
65
@import "./components/all";
76
@import "class";
87
@import "ember-power-select";

app/styles/base/_grid-settings.scss

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
@import "neat-helpers"; // or "../neat/neat-helpers" when not in Rails
2-
// Neat Overrides
3-
// $column: 90px;
4-
// $gutter: 30px;
5-
// $grid-columns: 12;
6-
// $max-width: 1088px;
7-
// Neat Breakpoints
81
$mobile-portrait-screen: 30em; // 480px
92
$medium-screen: 40em; // 640px
103
$large-screen: 54em; // 864px
114
$medium-screen-up: new-breakpoint(min-width $medium-screen 4);
125
$medium-large-screen-up: new-breakpoint(min-width $medium-screen 8);
13-
$large-screen-up: new-breakpoint(min-width $large-screen 8);
6+
$large-screen-up: new-breakpoint(min-width $large-screen 8);

app/styles/components/_back-to-top.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
margin-left: 1em;
66
text-align: center;
77

8-
@include media(max-width 89em) {
8+
@media (max-width: 89em) {
99
@include size(1.5em);
1010
overflow: hidden;
1111
}
1212

13-
@include media(max-width 78em) {
13+
@media (max-width: 78em) {
1414
height: 0;
1515
}
1616
}

app/styles/components/_layout.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
main {
2-
@include media($large-screen) {
2+
@media screen and (min-width: $large-screen) {
33
display: flex;
44
}
55
}
66

77
.container {
8-
@include outer-container;
8+
margin: 0 auto;
99
padding: 0 1em;
1010
&::after {
1111
clear: both;

app/styles/components/_sidebar.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.sidebar {
22

3-
@include media($large-screen-up) {
3+
@media (min-width: $large-screen-up) {
44
margin-right: 0;
55
border-bottom: 0;
66
padding: $small-spacing $base-spacing $base-spacing * 1.5;
@@ -46,7 +46,7 @@ label[for="toc-toggle"] {
4646
border-width: 0 4px 5px 4px;
4747
}
4848

49-
@include media($large-screen) {
49+
@media screen and (min-width: $large-screen) {
5050
display: none;
5151
}
5252
}
@@ -59,7 +59,7 @@ label[for="toc-toggle"] {
5959
.toc-toggle:checked ~ & {
6060
display: block;
6161
}
62-
@include media($large-screen) {
62+
@media screen and (min-width: $large-screen) {
6363
display: block;
6464

6565
// ensure toc-toggle can not cause toc-container to be hidden on large screen

ember-cli-build.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = function(defaults) {
1313
sassOptions: {
1414
includePaths: [
1515
'app/styles',
16-
'node_modules/bourbon-neat/app/assets/stylesheets',
1716
'node_modules/normalize.css'
1817
]
1918
},

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
"@ember/jquery": "^0.5.2",
4040
"@ember/optional-features": "^0.6.3",
4141
"algoliasearch": "^3.32.1",
42-
"bourbon-neat": "^1.9.1",
4342
"broccoli-asset-rev": "^3.0.0",
4443
"broccoli-funnel": "^2.0.1",
4544
"broccoli-merge-trees": "^2.0.0",

0 commit comments

Comments
 (0)