Skip to content

Commit 7b35fd0

Browse files
committed
Update blog post
1 parent c2d785a commit 7b35fd0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

docs/_posts/2019-10-15-light-dark-colors.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ icon: "sun"
88
published: false
99
---
1010

11-
The new version **[Bulma 0.8.0](#)** is out! It comes with several bug fixes and a lot of nice new features:
11+
The new version **[Bulma 0.8.0](#)** is out! 😃 It comes with several bug fixes and a lot of nice new features:
1212

1313
* [Light/Dark colors](#light-dark-colors)
1414
* [Better visual look](#better-visual-look)
1515
* [Panel colors](#panel-colors)
1616
* [4-value color map](#4-value-color-map)
17-
* [Scheme variables](#scheme-variables)
17+
* [Scheme variables for "Dark mode"](#scheme-variables-for-dark-mode)
1818

1919
More in the [Changelog](#).
2020

@@ -132,10 +132,12 @@ $custom-colors: (
132132

133133
This is processed by the updated `mergeColorMaps()` Sass function.
134134

135-
{% include elements/anchor.html name="Scheme variables" %}
135+
{% include elements/anchor.html name='Scheme variables for "Dark mode"' %}
136136

137137
There are 6 new `$scheme` derived variables: `$scheme-main` `$scheme-main-bis` `$scheme-main-ter` `$scheme-invert` `$scheme-invert-bis` `$scheme-invert-ter`
138-
They replace the `$white` and `$black` occurences in the codebase. This makes it easy to create a "Dark mode" simply by swapping the values:
138+
They replace the `$white` and `$black` occurences in the codebase.
139+
140+
This makes it easy to create a **"Dark mode"** simply by swapping the values:
139141

140142
```sass
141143
$scheme-main: $black
@@ -144,3 +146,7 @@ $scheme-invert: $white
144146
```
145147

146148
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.
149+
150+
<hr class="hr">
151+
152+
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.

0 commit comments

Comments
 (0)