Skip to content

Commit bc5b114

Browse files
Merge pull request #24 from angular-package/develop
v0.9.3-beta
2 parents 05bbac5 + 35c5016 commit bc5b114

File tree

7 files changed

+20
-12
lines changed

7 files changed

+20
-12
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @angular-package/sass changelog
22

3+
### v0.9.3-beta [#](https://github.com/angular-package/sass/releases/tag/v0.9.3-beta)
4+
5+
- Fix [`color/mixins`](https://github.com/angular-package/sass/tree/main/color/mixins) by using function from functions and update imports. [159a652]
6+
7+
[159a652]: https://github.com/angular-package/sass/commit/159a6520c867320c1c39f02196fdba7fc11e92f5
8+
39
### v0.9.2-beta [#](https://github.com/angular-package/sass/releases/tag/v0.9.2-beta)
410

511
- Remove function from `color/mixins`. [b7ff1af]

color/mixins/_color.property-color.mixin.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
@use '../../property';
88

99
// Functions.
10-
@use '../functions/color.color.function' as *;
1110
@use '../../functions/important.function' as *;
11+
@use '../functions/color.color.function' as *;
1212

1313
// Status: TODO: Add use map as arguments in `$color`.
1414
// The `color.property-color()` mixin.

color/mixins/_color.scheme-color.mixin.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
}
7575

7676
// Examples.
77-
:host {
77+
// :host {
7878
// @include scheme-color(( normal: primary dark));
7979
// @include scheme-color(( dark: primary dark ));
8080
// @media (prefers-color-scheme: dark) {
@@ -196,4 +196,4 @@
196196
// background: hsla(var(--s-primary-dark-h), var(--s-primary-dark-s), calc(var(--s-primary-dark-l) + 15%), var(--s-primary-dark-a));
197197
// }
198198
// }
199-
}
199+
// }

color/mixins/set/_color.set-alpha-var.mixin.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Functions.
66
@use '../../functions/color.alpha-var.function' as *;
7-
@use '../color.name.function' as *;
7+
@use '../../functions/color.name.function' as *;
88

99
// Modules.
1010
@use '../../../math';

color/mixins/set/_color.set-hsla-color.mixin.scss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
@use 'sass:meta';
33

44
// Modules.
5-
@use '../../../map/map.get.function' as map;
6-
@use '../../../math/math.calculate.function' as math;
7-
@use '../../../list/list.to-map.function' as values;
8-
@use '../../../var/mixins/var.set.mixin' as var;
5+
@use '../../../math';
96

10-
// Mixins.
7+
// Functions.
8+
@use '../../../list/list.to-map.function';
9+
@use '../../../map/map.get.function';
1110
@use '../../functions/color.color.function' as *;
1211
@use '../../functions/color.name.function' as *;
12+
13+
// Mixins.
14+
@use '../../../var/mixins/var.set.mixin';
1315
@use 'color.set-alpha-var.mixin' as *;
1416
@use 'color.set-hue-var.mixin' as *;
1517
@use 'color.set-lightness-var.mixin' as *;
@@ -33,7 +35,7 @@
3335
$color: null,
3436
$dictionary: ()
3537
) {
36-
$color: values.to-map(
38+
$color: list.to-map(
3739
$color,
3840
(color: color string list),
3941
(lightness: number list, (alpha hue saturation: number list): map),

color/mixins/set/_color.set-hue-var.mixin.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Functions.
66
@use '../../functions/color.hue-var.function' as *;
7-
@use '../color.name.function' as *;
7+
@use '../../functions/color.name.function' as *;
88

99
// Modules.
1010
@use '../../../math';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@angular-package/sass",
33
"description": "Extension for sass modules and new modules.",
4-
"version": "0.9.2-beta",
4+
"version": "0.9.3-beta",
55
"main": "./index.scss",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)