@codecademy/brand 5.9.0-alpha.8df38de31.0 → 5.9.0-alpha.c7d5bcc33.0

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.
@@ -1,6 +1,6 @@
1
1
  @use "variables";
2
2
  @use "mixins";
3
- @use "~@codecademy/gamut-styles/utils" as *;
3
+ @use "../../../../styles/gamut-styles-utils" as *;
4
4
 
5
5
  .btn {
6
6
  align-items: center;
@@ -1,5 +1,5 @@
1
1
  @use "sass:color";
2
- @use "~@codecademy/gamut-styles/utils" as *;
2
+ @use "../../../../styles/gamut-styles-utils" as *;
3
3
  @use "variables";
4
4
 
5
5
  @mixin button-variant($color, $background, $border: transparent) {
@@ -1,4 +1,4 @@
1
- @use "~@codecademy/gamut-styles/utils" as *;
1
+ @use "../../../../styles/gamut-styles-utils" as *;
2
2
 
3
3
  $btn-padding-x: px-rem(16) !default;
4
4
  $btn-padding-y: 0.375rem !default;
@@ -1,4 +1,4 @@
1
- @use "~@codecademy/gamut-styles/utils" as *;
1
+ @use "../../styles/gamut-styles-utils" as *;
2
2
 
3
3
  .accordionButton {
4
4
  align-items: center;
@@ -0,0 +1,28 @@
1
+ // Vendored subset of @codecademy/gamut-styles/utils (v17.14.0).
2
+ // Gamut-styles no longer publishes SCSS utils; accordion SCSS depends on these symbols.
3
+
4
+ @use "sass:math";
5
+
6
+ $color-white: #ffffff;
7
+ $color-black: #000000;
8
+ $color-blue-200: #a5befa;
9
+ $color-gray-600: #646466;
10
+ $brand-dark-blue: #141c3a;
11
+
12
+ @function strip-units($number) {
13
+ @return math.div($number, ($number * 0 + 1));
14
+ }
15
+
16
+ @function px-rem($px, $base-px: 16) {
17
+ @return calc(strip-units($px) / strip-units($base-px)) * 1rem;
18
+ }
19
+
20
+ @mixin font-smoothing($value: on) {
21
+ @if $value == on {
22
+ -webkit-font-smoothing: antialiased;
23
+ -moz-osx-font-smoothing: grayscale;
24
+ } @else {
25
+ -webkit-font-smoothing: subpixel-antialiased;
26
+ -moz-osx-font-smoothing: auto;
27
+ }
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codecademy/brand",
3
- "version": "5.9.0-alpha.8df38de31.0",
3
+ "version": "5.9.0-alpha.c7d5bcc33.0",
4
4
  "description": "Brand component library for Codecademy",
5
5
  "license": "MIT",
6
6
  "repository": "git@github.com:codecademy-engineering/mono.git",