@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.
- package/dist/AccordionDeprecated/AccordionButtonDeprecated/ButtonDeprecated/styles/index.module.scss +1 -1
- package/dist/AccordionDeprecated/AccordionButtonDeprecated/ButtonDeprecated/styles/mixins.scss +1 -1
- package/dist/AccordionDeprecated/AccordionButtonDeprecated/ButtonDeprecated/styles/variables.scss +1 -1
- package/dist/AccordionDeprecated/AccordionButtonDeprecated/styles.module.scss +1 -1
- package/dist/styles/gamut-styles-utils/index.scss +28 -0
- package/package.json +1 -1
|
@@ -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