@codecademy/variance 0.24.1-alpha.10a814.0 → 0.24.1-alpha.28fc28.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.
|
@@ -48,8 +48,7 @@ declare class ThemeBuilder<T extends AbstractTheme> {
|
|
|
48
48
|
updateScale<Key extends keyof T, Fn extends (tokens: T[Key]) => Record<string | number, unknown>>(key: Key, updateFn: Fn): ThemeBuilder<T & Record<Key, T[Key] & ReturnType<Fn>>>;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
|
-
* @param name Adds
|
|
52
|
-
* This is used for referencing the theme for replacing default fonts.
|
|
51
|
+
* @param name Adds an accessible name to the theme
|
|
53
52
|
* @example .addName('core')
|
|
54
53
|
*/
|
|
55
54
|
addName(name: string): ThemeBuilder<MergeTheme<T & PrivateThemeKeys, Record<'name', string>>>;
|
|
@@ -108,8 +108,7 @@ class ThemeBuilder {
|
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
|
-
* @param name Adds
|
|
112
|
-
* This is used for referencing the theme for replacing default fonts.
|
|
111
|
+
* @param name Adds an accessible name to the theme
|
|
113
112
|
* @example .addName('core')
|
|
114
113
|
*/
|
|
115
114
|
addName(name) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/variance",
|
|
3
3
|
"description": "Constraint based CSS in JS for building scalable design systems",
|
|
4
|
-
"version": "0.24.1-alpha.
|
|
4
|
+
"version": "0.24.1-alpha.28fc28.0",
|
|
5
5
|
"author": "codecaaron <aaron@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"csstype": "^3.0.7",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"build": "nx build @codecademy/variance"
|
|
33
33
|
},
|
|
34
34
|
"types": "dist/index.d.ts",
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "f20a2265e30eff75defcfc41af540dd89a3fdb5c"
|
|
36
36
|
}
|