Skip to content

Commit

Permalink
Merge pull request #2984 from jgthms/new-helpers
Browse files Browse the repository at this point in the history
New helpers
  • Loading branch information
jgthms committed Jun 7, 2020
2 parents 5198384 + 8bf1d85 commit 776c8e6
Show file tree
Hide file tree
Showing 58 changed files with 22,706 additions and 20,716 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
.DS_Store
.ruby-version
npm-debug.log
test.css
test.css.map
test.html
test.sass
test.css
Expand Down
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,52 @@

## 0.9.0

### New features

Bulma now has **spacing helpers**: https://bulma.io/documentation/helpers/spacing-helpers/

<p>Bulma provides <strong>margin</strong> <code>m*</code> and <strong>padding</strong> <code>p*</code> helpers in all <strong>directions</strong>:</p>

<ul>
<li>
<code>*t</code> for <strong>top</strong>
</li>
<li>
<code>*r</code> for <strong>right</strong>
</li>
<li>
<code>*b</code> for <strong>bottom</strong>
</li>
<li>
<code>*l</code> for <strong>left</strong>
</li>
<li>
<code>*x</code> horizontally for both <strong>left</strong> and <strong>right</strong>
</li>
<li>
<code>*y</code> vertically for both <strong>top</strong> and <strong>bottom</strong>
</li>
</ul>

<p>
You need to <strong>combine</strong> a margin/padding prefix with a direciton suffix. For example:
</p>

<ul>
<li>for a <code>margin-top</code>, use <code>mt-*</code></li>
<li>for a <code>padding-bottom</code>, use <code>pb-*</code></li>
<li>for both <code>margin-left</code> and <code>margin-right</code>, use <code>mx-*</code></li>
</ul>

<p>
Each of these <code>property-direction</code> <strong>combinations</strong> needs to be appended with one of <strong>6 value suffixes</strong>
</p>

This release also includes the following helpers:

* light and dark color helpers
* light and dark background color helpers

### Improvements

* #2925 Center table cell content vertically with `is-vcentered`
Expand Down
1 change: 1 addition & 0 deletions bulma.sass
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
@import "sass/form/_all"
@import "sass/components/_all"
@import "sass/grid/_all"
@import "sass/helpers/_all"
@import "sass/layout/_all"

0 comments on commit 776c8e6

Please sign in to comment.