Skip to content

Commit

Permalink
Merge branch 'release/5.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bramsmulders committed Oct 15, 2021
2 parents 13eb9bf + cf05d88 commit b0dc05e
Show file tree
Hide file tree
Showing 9 changed files with 760 additions and 1,140 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file.

## 5.1.0 - 15-october-2021

- Added `responsive.color-scheme` mixin that lets you define your dark mode custom properties in a way that supports a toggle component
- Update dependencies & housekeeping

## 5.0.2 - 07-june-2021

- Refactor slash-based divisions(`/`) with `math.div()` functions as per: [slash-div](https://sass-lang.com/documentation/breaking-changes/slash-div)
Expand Down
1 change: 1 addition & 0 deletions generic/reset/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ pre {
img {
display: block;
max-inline-size: 100%; /* [1] */
block-size: auto; /* [1] */
font-style: italic; /* [2] */
}

Expand Down
8 changes: 8 additions & 0 deletions generic/reset/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ <h3 class="c-test__it">scales perfectly between 20px & 30px between desk & wall
</div>
</div><!-- .c-test__run -->

<h2 class="c-test__describe">Color scheme</h2>
<h3 class="c-test__it">Switches between dark and light modes based on user preference</h3>
<div class="c-test__run">
<div class="o-retain o-retain--lap">
<p class="c-color-scheme">Lorem ipsum dolor sit amet consectetur adipisicing elit. Molestias labore fugiat, placeat doloribus ea rerum debitis reiciendis molestiae in impedit dolores natus iure ducimus a odio soluta dignissimos consequuntur perspiciatis?</p>
</div>
</div><!-- .c-test__run -->

</div><!-- .c-test -->
</body>
</html>
Loading

0 comments on commit b0dc05e

Please sign in to comment.