@codecademy/gamut-styles 67.0.0-alpha.387605.0 → 67.0.0-alpha.ccfdc5.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,8 +1,8 @@
|
|
|
1
1
|
export var focusVisible = function focusVisible(element) {
|
|
2
2
|
if (element.type === 'rule' && element.value.includes(':focus-visible')) {
|
|
3
3
|
element.props = element.props.map(function (prop) {
|
|
4
|
-
var
|
|
5
|
-
return
|
|
4
|
+
var poly = prop.replace(/:focus-visible/g, '[data-focus-visible-added]');
|
|
5
|
+
return "".concat(prop, ", ").concat(poly);
|
|
6
6
|
});
|
|
7
7
|
}
|
|
8
8
|
return undefined;
|
package/dist/themes/admin.d.ts
CHANGED
|
@@ -43,8 +43,8 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
43
43
|
};
|
|
44
44
|
lineHeight: {
|
|
45
45
|
readonly base: 1.5;
|
|
46
|
-
readonly spacedTitle: 1.
|
|
47
|
-
readonly title: 1.
|
|
46
|
+
readonly spacedTitle: 1.3;
|
|
47
|
+
readonly title: 1.2;
|
|
48
48
|
};
|
|
49
49
|
fontWeight: {
|
|
50
50
|
readonly base: 400;
|
package/dist/themes/core.d.ts
CHANGED
|
@@ -42,8 +42,8 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
42
42
|
};
|
|
43
43
|
lineHeight: {
|
|
44
44
|
readonly base: 1.5;
|
|
45
|
-
readonly spacedTitle: 1.
|
|
46
|
-
readonly title: 1.
|
|
45
|
+
readonly spacedTitle: 1.3;
|
|
46
|
+
readonly title: 1.2;
|
|
47
47
|
};
|
|
48
48
|
fontWeight: {
|
|
49
49
|
readonly base: 400;
|
|
@@ -53,8 +53,8 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
53
53
|
};
|
|
54
54
|
lineHeight: {
|
|
55
55
|
readonly base: 1.5;
|
|
56
|
-
readonly spacedTitle: 1.
|
|
57
|
-
readonly title: 1.
|
|
56
|
+
readonly spacedTitle: 1.3;
|
|
57
|
+
readonly title: 1.2;
|
|
58
58
|
};
|
|
59
59
|
fontWeight: {
|
|
60
60
|
readonly base: 400;
|
|
@@ -21,8 +21,8 @@ export declare const fontSize: {
|
|
|
21
21
|
};
|
|
22
22
|
export declare const lineHeight: {
|
|
23
23
|
readonly base: 1.5;
|
|
24
|
-
readonly spacedTitle: 1.
|
|
25
|
-
readonly title: 1.
|
|
24
|
+
readonly spacedTitle: 1.3;
|
|
25
|
+
readonly title: 1.2;
|
|
26
26
|
};
|
|
27
27
|
export declare const fontWeight: {
|
|
28
28
|
readonly base: 400;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-styles",
|
|
3
3
|
"description": "Styleguide & Component library for codecademy.com",
|
|
4
|
-
"version": "67.0.0-alpha.
|
|
4
|
+
"version": "67.0.0-alpha.ccfdc5.0",
|
|
5
5
|
"author": "Jake Hiller <jake@codecademy.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "git@github.com:Codecademy/gamut.git"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@codecademy/variance": "67.0.0-alpha.
|
|
24
|
+
"@codecademy/variance": "67.0.0-alpha.ccfdc5.0",
|
|
25
25
|
"@emotion/is-prop-valid": "^1.1.0",
|
|
26
26
|
"polished": "^4.1.2"
|
|
27
27
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "201c56ccfe5460d73f27c61417e5dfa5cd5191e1"
|
|
45
45
|
}
|