@blackbaud/skyux-design-tokens 0.0.24 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.25 (2022-04-11)
2
+
3
+ - Updated the SCSS mixins to implement `@use` modules. #60
4
+
1
5
  # 0.0.24 (2021-06-23)
2
6
 
3
7
  - Updated font URLs to point to the renamed BLKB Sans font. [#56](https://github.com/blackbaud/skyux-design-tokens/pull/56)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blackbaud/skyux-design-tokens",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "Design tokens for SKY UX",
5
5
  "homepage": "https://github.com/blackbaud/skyux-design-tokens",
6
6
  "license": "MIT",
package/scss/mixins.scss CHANGED
@@ -1,4 +1,4 @@
1
- @import "variables";
1
+ @use "variables" as vars;
2
2
 
3
3
  @mixin sky-border($type, $sides...) {
4
4
  @if(length($sides) == 0) {
@@ -7,15 +7,15 @@
7
7
 
8
8
  @each $side in $sides {
9
9
  @if($type == "light") {
10
- border-#{$side}: 1px solid $sky-border-color-neutral-light;
10
+ border-#{$side}: 1px solid vars.$sky-border-color-neutral-light;
11
11
  }
12
12
 
13
13
  @if($type == "dark") {
14
- border-#{$side}: 1px solid $sky-border-color-neutral-medium;
14
+ border-#{$side}: 1px solid vars.$sky-border-color-neutral-medium;
15
15
  }
16
16
 
17
17
  @if($type == "row") {
18
- border-#{$side}: 1px dotted $sky-border-color-neutral-medium;
18
+ border-#{$side}: 1px dotted vars.$sky-border-color-neutral-medium;
19
19
  }
20
20
  }
21
21
  }