-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update Sass notation for breaking changes in next version (#2178)
- Loading branch information
1 parent
17ea184
commit 425d2f1
Showing
28 changed files
with
499 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@frontify/fondue-components": patch | ||
--- | ||
|
||
chore: update Sass notation for breaking changes in next version |
11 changes: 6 additions & 5 deletions
11
packages/components/src/components/Box/styles/box.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
/* (c) Copyright Frontify Ltd., all rights reserved. */ | ||
|
||
@import '../../../helpers/layout.module.scss'; | ||
@use "sass:list"; | ||
@use '../../../helpers/layout.module.scss'; | ||
|
||
$properties: (display); | ||
$allProperties: join($properties, $layoutProperties); | ||
$allProperties: list.join($properties, layout.$layoutProperties); | ||
|
||
.root { | ||
@include responsive-properties($allProperties); | ||
@include layout.responsive-properties($allProperties); | ||
|
||
// Default values | ||
@each $property in $allProperties { | ||
@include responsive-default-value($property, initial); | ||
@include layout.responsive-default-value($property, initial); | ||
} | ||
|
||
@include responsive-default-value(display, block); | ||
@include layout.responsive-default-value(display, block); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.