]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Update blog post
authorJeremy Thomas <bbxdesign@gmail.com>
Mon, 14 Oct 2019 00:51:47 +0000 (01:51 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Fri, 18 Oct 2019 00:51:42 +0000 (20:51 -0400)
docs/_posts/2019-10-15-light-dark-colors.md

index 909f4b1cf374b612ed0b9bf6da14a1b7e2457250..5fa9809f2404d8c66ed8571d582611b2fa77f2ac 100644 (file)
@@ -8,13 +8,13 @@ icon: "sun"
 published: false
 ---
 
-The new version **[Bulma 0.8.0](#)** is out! It comes with several bug fixes and a lot of nice new features:
+The new version **[Bulma 0.8.0](#)** is out! ðŸ˜ƒ It comes with several bug fixes and a lot of nice new features:
 
 * [Light/Dark colors](#light-dark-colors)
 * [Better visual look](#better-visual-look)
 * [Panel colors](#panel-colors)
 * [4-value color map](#4-value-color-map)
-* [Scheme variables](#scheme-variables)
+* [Scheme variables for "Dark mode"](#scheme-variables-for-dark-mode)
 
 More in the [Changelog](#).
 
@@ -132,10 +132,12 @@ $custom-colors: (
 
 This is processed by the updated `mergeColorMaps()` Sass function.
 
-{% include elements/anchor.html name="Scheme variables" %}
+{% include elements/anchor.html name='Scheme variables for "Dark mode"' %}
 
 There are 6 new `$scheme` derived variables: `$scheme-main` `$scheme-main-bis` `$scheme-main-ter` `$scheme-invert` `$scheme-invert-bis` `$scheme-invert-ter`
-They replace the `$white` and `$black` occurences in the codebase. This makes it easy to create a "Dark mode" simply by swapping the values:
+They replace the `$white` and `$black` occurences in the codebase.
+
+This makes it easy to create a **"Dark mode"** simply by swapping the values:
 
 ```sass
 $scheme-main: $black
@@ -144,3 +146,7 @@ $scheme-invert: $white
 ```
 
 That is also why most of the codebase now references **derived** variables (`$text`, `$background`, `$border` etc.) instead of **initial** ones (`$grey`, `$grey-lighter`, `$grey-darker` etc.): updating the derived variables will affect all elements and components directly.
+
+<hr class="hr">
+
+The new 0.8.0 version should be fully compatible with any Bulma setup. Feel free to <a href="https://github.com/jgthms/bulma/issues" target="_blank">post an issue</a> if you encounter any problem upgrading.