Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Commit

Permalink
perf(css): implement custom space and size helper in scss
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamontat Chantrachirathumrong committed Jan 11, 2019
1 parent b3766f3 commit b91f1c8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/css/bulma.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ $shades: mergeColorMaps(("black-bis": $black-bis, "black-ter": $black-ter, "grey

$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7;

$dimensions: 16 24 32 48 64 96 128 256 512;

@import "~bulma";
@import "~buefy/src/scss/buefy";
1 change: 1 addition & 0 deletions assets/css/helper.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import "variable.scss";

@import "lib/space.scss"; // custom margin and padding class
@import "lib/size.scss"; // custom size class
7 changes: 7 additions & 0 deletions assets/css/lib/size.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.is-full-height {
height: 100%;
}

.is-full-width {
width: 100%;
}

0 comments on commit b91f1c8

Please sign in to comment.