Skip to content

Commit 31efc48

Browse files
committed
Update README. Update version
1 parent 2a2ef2d commit 31efc48

7 files changed

Lines changed: 22 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ At the core of Nebula sits a highly flexible and and extendible grid system - ac
1313

1414
It also ships with a few common and useful abstractions such as the Flag Object.
1515

16-
Nebula is ultra lightweight with the default settings coming in at a tiny 5kb Gizpped. This can potentially be even less if you decided to remove unwanted grid features for example.
16+
Nebula is ultra lightweight with the default settings coming in at a tiny 6kb Gizpped. This can be reduced even further by switching off features and removing items in the Sass maps.
1717

1818
[View the demo](http://rbrtsmith.com/nebula-css/demo/)
1919

demo/dist/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nebula-css/_tools.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
@import 'tools/offsets';
77
@import 'tools/section';
88
@import 'tools/visually-hidden';
9+
@import 'tools/hidden';

nebula-css/_utilities.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
@import 'utilities/pull';
44
@import 'utilities/spacing';
55
@import 'utilities/text-align';
6+
@import 'utilities/misc';

nebula-css/tools/_hidden.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@mixin nb-hidden() {
2+
@each $bp-key, $bp-value in $nb-breakpoints {
3+
@include nb-respond-to($bp-key) {
4+
.#{$nb-namespace}u-hidden\@#{$bp-key} {
5+
display: none !important;
6+
}
7+
}
8+
}
9+
}

nebula-css/utilities/_misc.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.#{$nb-namespace}u-hidden {
2+
display: none !important;
3+
}
4+
@include nb-hidden;
5+
6+
.#{$nb-namespace}u-visually-hidden {
7+
@include nb-visually-hidden(true);
8+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nebula-css",
3-
"version": "2.0.1",
3+
"version": "2.1.0",
44
"description": "ITCSS and BEMIT based framework that is ultra exensible and scales to any project size",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)