Skip to content

Commit

Permalink
Merge branch 'release/v5.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bramsmulders committed Nov 3, 2021
2 parents b0dc05e + 6845424 commit 178895c
Show file tree
Hide file tree
Showing 26 changed files with 393 additions and 1,641 deletions.
5 changes: 1 addition & 4 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": "@supple-kit/stylelint-config-supple",
"ignoreFiles": [
"_test/css/*",
"vendor/**/*"
]
"ignoreFiles": ["_test/css/*", "vendor/**/*"]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## 5.2.0 - 03-november-2021

- Upgraded stylelint-config-supple to version 4

## 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
Expand Down
6 changes: 3 additions & 3 deletions objects/aspect-ratio/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
========================================================================= */

$selector: '> *';
@if (defaults.$css-modules) {
@if defaults.$css-modules {
$selector: ':global(#{$selector})';
}

Expand All @@ -43,7 +43,7 @@ $selector: '> *';
* the ratio like this: (16/9)
*/
.o-aspect-ratio {
--ratio: (1/1); /* [1] */
--ratio: (1 / 1); /* [1] */
position: relative;
display: block;
block-size: 0;
Expand All @@ -64,7 +64,7 @@ $selector: '> *';

@each $ratio in variables.$ratios {
@each $a, $b in $ratio {
@if (meta.type-of($a) != number or meta.type-of($b) != number) {
@if meta.type-of($a) != number or meta.type-of($b) != number {
@error '`#{$a}` and `#{$b}` need to be numbers.';
}

Expand Down
2 changes: 1 addition & 1 deletion objects/flow/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

.o-flow {
$selector: '> * + *';
@if (defaults.$css-modules) {
@if defaults.$css-modules {
$selector: ':global(#{$selector})';
}

Expand Down
2 changes: 1 addition & 1 deletion objects/layout/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
========================================================================= */

$selector: '> *';
@if (defaults.$css-modules) {
@if defaults.$css-modules {
$selector: ':global(#{$selector})';
}

Expand Down
2 changes: 1 addition & 1 deletion objects/mesh/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
========================================================================= */

$selector: '> *';
@if (defaults.$css-modules) {
@if defaults.$css-modules {
$selector: ':global(#{$selector})';
}

Expand Down
Loading

0 comments on commit 178895c

Please sign in to comment.