From 1ed335f34c38fcf73b41babfe5871c08e6ce0915 Mon Sep 17 00:00:00 2001 From: Gautam Kumar Date: Mon, 9 Apr 2018 14:09:45 +0530 Subject: [PATCH 1/7] Add - how to import CSS file in project (#1776) * Add - how to import CSS file in project Just thought it should be in readme as new learners frequently ask how to import the css after npm installation. * Update as suggested. Moved the import snippets block between "Bower" and "CDN". --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index e8492cbd..bd0893d8 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ Bulma is constantly in development! Try it out now: ```sh npm install bulma ``` + **or** ### Yarn @@ -32,6 +33,13 @@ yarn add bulma bower install bulma ``` +### Import +After installation, you can import the CSS file into your project using this snippet: + +```sh +import 'bulma/css/bulma.css' +``` + ### CDN [https://cdnjs.com/libraries/bulma](https://cdnjs.com/libraries/bulma) From d27725d43509b6821e84355d96533c5cdff7c1bd Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Tue, 10 Apr 2018 10:54:02 +0100 Subject: [PATCH 2/7] Update color-helpers.html --- docs/documentation/modifiers/color-helpers.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/documentation/modifiers/color-helpers.html b/docs/documentation/modifiers/color-helpers.html index 48c3d29d..1541abb6 100644 --- a/docs/documentation/modifiers/color-helpers.html +++ b/docs/documentation/modifiers/color-helpers.html @@ -55,6 +55,10 @@ doc-subtab: color-helpers has-text-white-bis{% include color/white-bis.html %} + + {% assign vernum = site.version | replace: "." "" | plus: 1 | minus: 1 %} + + {% if vernum >= 63 %} {% include anchor.html name="Background color" %} @@ -99,6 +103,8 @@ doc-subtab: color-helpers has-background-white-bis{% include color/white-bis.html %} + + {% endif %} From 269a91a2b13683ee363d098d9221603a7bbf6917 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Tue, 10 Apr 2018 10:55:39 +0100 Subject: [PATCH 3/7] Update responsiveness.html --- docs/documentation/overview/responsiveness.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/documentation/overview/responsiveness.html b/docs/documentation/overview/responsiveness.html index b2132150..dbd605e3 100644 --- a/docs/documentation/overview/responsiveness.html +++ b/docs/documentation/overview/responsiveness.html @@ -207,6 +207,10 @@ $fullhd-enabled: false + + {% assign vernum = site.version | replace: "." "" | plus: 1 | minus: 1 %} + + {% if vernum >= 63 %} {% include anchor.html name="Disabling breakpoints" %} @@ -221,6 +225,8 @@ $fullhd-enabled: false
{% highlight sass %}{{ scss_code }}{% endhighlight %}
+ + {% endif %} {% include anchor.html name="Variables" %} From d1aedf1be6facaaa9718c0dc0ea6f15f5a6192bd Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Tue, 10 Apr 2018 10:58:39 +0100 Subject: [PATCH 4/7] Update button.json --- docs/_data/variables/elements/button.json | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/docs/_data/variables/elements/button.json b/docs/_data/variables/elements/button.json index cb8f82b6..c23c4340 100644 --- a/docs/_data/variables/elements/button.json +++ b/docs/_data/variables/elements/button.json @@ -21,21 +21,6 @@ "name": "$button-border-color", "value": "$grey-lighter" }, - "button-border-width": { - "id": "button-border-width", - "name": "$button-border-width", - "value": "$control-border-width" - }, - "button-padding-vertical": { - "id": "button-padding-vertical", - "name": "$button-padding-vertical", - "value": "calc(0.375em - #{$button-border-width})" - }, - "button-padding-horizontal": { - "id": "button-padding-horizontal", - "name": "$button-padding-horizontal", - "value": "0.75em" - }, "button-hover-color": { "id": "button-hover-color", "name": "$button-hover-color", From e04455cfb482f77647eb0c6790f1aa525a3c2f69 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Tue, 10 Apr 2018 10:59:24 +0100 Subject: [PATCH 5/7] Update controls.json --- docs/_data/variables/utilities/controls.json | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/_data/variables/utilities/controls.json b/docs/_data/variables/utilities/controls.json index 792a0c65..61a48831 100644 --- a/docs/_data/variables/utilities/controls.json +++ b/docs/_data/variables/utilities/controls.json @@ -16,20 +16,15 @@ "name": "$control-radius-small", "value": "$radius-small" }, - "control-border-width": { - "id": "control-border-width", - "name": "$control-border-width", - "value": "1px" - }, "control-padding-vertical": { "id": "control-padding-vertical", "name": "$control-padding-vertical", - "value": "calc(0.375em - #{$control-border-width})" + "value": "calc(0.375em - 1px)" }, "control-padding-horizontal": { "id": "control-padding-horizontal", "name": "$control-padding-horizontal", - "value": "calc(0.625em - #{$control-border-width})" + "value": "calc(0.625em - 1px)" } } } From 8c609c3838507bed44aa81b90fd6510c4eca6bb5 Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Tue, 10 Apr 2018 11:42:13 +0100 Subject: [PATCH 6/7] Update color-helpers.html --- docs/documentation/modifiers/color-helpers.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/modifiers/color-helpers.html b/docs/documentation/modifiers/color-helpers.html index 1541abb6..013e6996 100644 --- a/docs/documentation/modifiers/color-helpers.html +++ b/docs/documentation/modifiers/color-helpers.html @@ -56,7 +56,7 @@ doc-subtab: color-helpers - {% assign vernum = site.version | replace: "." "" | plus: 1 | minus: 1 %} + {% assign vernum = site.version | downcase | remove: "." | plus: 0 %} {% if vernum >= 63 %} From 858a20b0f44a3ef8185abedd86af56a982cde19a Mon Sep 17 00:00:00 2001 From: Jeremy Thomas Date: Tue, 10 Apr 2018 11:43:39 +0100 Subject: [PATCH 7/7] Update responsiveness.html --- docs/documentation/overview/responsiveness.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/overview/responsiveness.html b/docs/documentation/overview/responsiveness.html index dbd605e3..cce543b9 100644 --- a/docs/documentation/overview/responsiveness.html +++ b/docs/documentation/overview/responsiveness.html @@ -208,7 +208,7 @@ $fullhd-enabled: false - {% assign vernum = site.version | replace: "." "" | plus: 1 | minus: 1 %} + {% assign vernum = site.version | downcase | remove: "." | plus: 0 %} {% if vernum >= 63 %}