@fluentui-react-native/default-theme 0.27.1 → 0.27.3
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 +24 -0
- package/lib/stockWebPalette.js +20 -20
- package/lib/stockWebPalette.js.map +1 -1
- package/lib-commonjs/stockWebPalette.js +20 -20
- package/lib-commonjs/stockWebPalette.js.map +1 -1
- package/package.json +15 -15
- package/src/stockWebPalette.ts +20 -20
- package/eslint.config.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/default-theme
|
|
2
2
|
|
|
3
|
+
## 0.27.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9cf4444: Migrate from ESLint to oxlint
|
|
8
|
+
- Updated dependencies [9cf4444]
|
|
9
|
+
- @fluentui-react-native/theming-utils@0.27.3
|
|
10
|
+
- @fluentui-react-native/theme-tokens@0.28.3
|
|
11
|
+
- @fluentui-react-native/theme-types@0.44.3
|
|
12
|
+
- @fluentui-react-native/theme@0.12.3
|
|
13
|
+
- @fluentui-react-native/framework-base@0.3.3
|
|
14
|
+
|
|
15
|
+
## 0.27.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 8a7b549: Update to the latest rnx-kit versions, fix some typing issues, and correct the vscode settings
|
|
20
|
+
- Updated dependencies [8a7b549]
|
|
21
|
+
- @fluentui-react-native/theming-utils@0.27.2
|
|
22
|
+
- @fluentui-react-native/theme-tokens@0.28.2
|
|
23
|
+
- @fluentui-react-native/theme-types@0.44.2
|
|
24
|
+
- @fluentui-react-native/theme@0.12.2
|
|
25
|
+
- @fluentui-react-native/framework-base@0.3.2
|
|
26
|
+
|
|
3
27
|
## 0.27.1
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/lib/stockWebPalette.js
CHANGED
|
@@ -22,27 +22,27 @@ export function getStockWebPalette() {
|
|
|
22
22
|
// Shared Colors
|
|
23
23
|
red: globalTokens.color.red.primary,
|
|
24
24
|
redDark: globalTokens.color.burgundy.primary,
|
|
25
|
-
// @ts-
|
|
25
|
+
// @ts-expect-error
|
|
26
26
|
accent: globalTokens.color.brand80,
|
|
27
27
|
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
28
28
|
// Colors to be deprecated
|
|
29
|
-
// @ts-
|
|
29
|
+
// @ts-expect-error
|
|
30
30
|
themeDarker: globalTokens.color.brand40,
|
|
31
|
-
// @ts-
|
|
31
|
+
// @ts-expect-error
|
|
32
32
|
themeDark: globalTokens.color.brand60,
|
|
33
|
-
// @ts-
|
|
33
|
+
// @ts-expect-error
|
|
34
34
|
themeDarkAlt: globalTokens.color.brand70,
|
|
35
|
-
// @ts-
|
|
35
|
+
// @ts-expect-error
|
|
36
36
|
themePrimary: globalTokens.color.brand80,
|
|
37
|
-
// @ts-
|
|
37
|
+
// @ts-expect-error
|
|
38
38
|
themeSecondary: globalTokens.color.brand90,
|
|
39
|
-
// @ts-
|
|
39
|
+
// @ts-expect-error
|
|
40
40
|
themeTertiary: globalTokens.color.brand120,
|
|
41
|
-
// @ts-
|
|
41
|
+
// @ts-expect-error
|
|
42
42
|
themeLight: globalTokens.color.brand140,
|
|
43
|
-
// @ts-
|
|
43
|
+
// @ts-expect-error
|
|
44
44
|
themeLighter: globalTokens.color.brand150,
|
|
45
|
-
// @ts-
|
|
45
|
+
// @ts-expect-error
|
|
46
46
|
themeLighterAlt: globalTokens.color.brand160,
|
|
47
47
|
}),
|
|
48
48
|
...createColorAliasTokens('light'),
|
|
@@ -67,28 +67,28 @@ export function getStockWebDarkPalette() {
|
|
|
67
67
|
neutralLighterAlt: '#201f1e',
|
|
68
68
|
white: '#1b1a19',
|
|
69
69
|
red: globalTokens.color.red.primary,
|
|
70
|
-
// @ts-
|
|
70
|
+
// @ts-expect-error
|
|
71
71
|
accent: globalTokens.color.brand40,
|
|
72
72
|
redDark: '#f1707b',
|
|
73
73
|
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
74
74
|
// Colors to be deprecated
|
|
75
|
-
// @ts-
|
|
75
|
+
// @ts-expect-error
|
|
76
76
|
themeDarker: globalTokens.color.brand110,
|
|
77
|
-
// @ts-
|
|
77
|
+
// @ts-expect-error
|
|
78
78
|
themeDark: globalTokens.color.brand100,
|
|
79
|
-
// @ts-
|
|
79
|
+
// @ts-expect-error
|
|
80
80
|
themeDarkAlt: globalTokens.color.brand100,
|
|
81
|
-
// @ts-
|
|
81
|
+
// @ts-expect-error
|
|
82
82
|
themePrimary: globalTokens.color.brand90,
|
|
83
|
-
// @ts-
|
|
83
|
+
// @ts-expect-error
|
|
84
84
|
themeSecondary: globalTokens.color.brand90,
|
|
85
|
-
// @ts-
|
|
85
|
+
// @ts-expect-error
|
|
86
86
|
themeTertiary: globalTokens.color.brand60,
|
|
87
|
-
// @ts-
|
|
87
|
+
// @ts-expect-error
|
|
88
88
|
themeLight: globalTokens.color.brand50,
|
|
89
|
-
// @ts-
|
|
89
|
+
// @ts-expect-error
|
|
90
90
|
themeLighter: globalTokens.color.brand40,
|
|
91
|
-
// @ts-
|
|
91
|
+
// @ts-expect-error
|
|
92
92
|
themeLighterAlt: globalTokens.color.brand30,
|
|
93
93
|
}, true),
|
|
94
94
|
...createColorAliasTokens('dark'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stockWebPalette.js","sourceRoot":"","sources":["../src/stockWebPalette.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,UAAU,kBAAkB,GAAyB;IACzD,OAAO;QACL,GAAG,uBAAuB,CAAC;YACzB,KAAK,EAAE,YAAY,CAAC,KAAK,CAAC,KAA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7B,iBAAiB,EAAE,SAAS;YAC5B,oBAAoB,EAAE,SAAS;YAC/B,YAAY,EAAE,SAAS;YACvB,cAAc,EAAE,SAAS;YACzB,iBAAiB,EAAE,SAAS;YAC5B,KAAK,EAAE,SAAS;YAChB,GAAG,EAAE,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO;YACnC,mBAAmB;YACnB,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO;YAClC,OAAO,EAAE,SAAS;YAClB,kBAAkB,EAAE,gBAAgB;YAEpC,0BAA0B;YAC1B,mBAAmB;YACnB,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC,QAAQ;YACxC,mBAAmB;YACnB,SAAS,EAAE,YAAY,CAAC,KAAK,CAAC,QAAQ;YACtC,mBAAmB;YACnB,YAAY,EAAE,YAAY,CAAC,KAAK,CAAC,QAAQ;YACzC,mBAAmB;YACnB,YAAY,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO;YACxC,mBAAmB;YACnB,cAAc,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO;YAC1C,mBAAmB;YACnB,aAAa,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO;YACzC,mBAAmB;YACnB,UAAU,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO;YACtC,mBAAmB;YACnB,YAAY,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO;YACxC,mBAAmB;YACnB,eAAe,EAAE,YAAY,CAAC,KAAK,CAAC,OAAO;SAC5C,EACD,IAAI,CACL;QACD,GAAG,sBAAsB,CAAC,MAAM,CAAC;KAClC,CAAC;AAAA,CACH"}
|
|
@@ -26,27 +26,27 @@ function getStockWebPalette() {
|
|
|
26
26
|
// Shared Colors
|
|
27
27
|
red: theme_tokens_1.globalTokens.color.red.primary,
|
|
28
28
|
redDark: theme_tokens_1.globalTokens.color.burgundy.primary,
|
|
29
|
-
// @ts-
|
|
29
|
+
// @ts-expect-error
|
|
30
30
|
accent: theme_tokens_1.globalTokens.color.brand80,
|
|
31
31
|
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
32
32
|
// Colors to be deprecated
|
|
33
|
-
// @ts-
|
|
33
|
+
// @ts-expect-error
|
|
34
34
|
themeDarker: theme_tokens_1.globalTokens.color.brand40,
|
|
35
|
-
// @ts-
|
|
35
|
+
// @ts-expect-error
|
|
36
36
|
themeDark: theme_tokens_1.globalTokens.color.brand60,
|
|
37
|
-
// @ts-
|
|
37
|
+
// @ts-expect-error
|
|
38
38
|
themeDarkAlt: theme_tokens_1.globalTokens.color.brand70,
|
|
39
|
-
// @ts-
|
|
39
|
+
// @ts-expect-error
|
|
40
40
|
themePrimary: theme_tokens_1.globalTokens.color.brand80,
|
|
41
|
-
// @ts-
|
|
41
|
+
// @ts-expect-error
|
|
42
42
|
themeSecondary: theme_tokens_1.globalTokens.color.brand90,
|
|
43
|
-
// @ts-
|
|
43
|
+
// @ts-expect-error
|
|
44
44
|
themeTertiary: theme_tokens_1.globalTokens.color.brand120,
|
|
45
|
-
// @ts-
|
|
45
|
+
// @ts-expect-error
|
|
46
46
|
themeLight: theme_tokens_1.globalTokens.color.brand140,
|
|
47
|
-
// @ts-
|
|
47
|
+
// @ts-expect-error
|
|
48
48
|
themeLighter: theme_tokens_1.globalTokens.color.brand150,
|
|
49
|
-
// @ts-
|
|
49
|
+
// @ts-expect-error
|
|
50
50
|
themeLighterAlt: theme_tokens_1.globalTokens.color.brand160,
|
|
51
51
|
}),
|
|
52
52
|
...(0, createAliasTokens_1.createColorAliasTokens)('light'),
|
|
@@ -71,28 +71,28 @@ function getStockWebDarkPalette() {
|
|
|
71
71
|
neutralLighterAlt: '#201f1e',
|
|
72
72
|
white: '#1b1a19',
|
|
73
73
|
red: theme_tokens_1.globalTokens.color.red.primary,
|
|
74
|
-
// @ts-
|
|
74
|
+
// @ts-expect-error
|
|
75
75
|
accent: theme_tokens_1.globalTokens.color.brand40,
|
|
76
76
|
redDark: '#f1707b',
|
|
77
77
|
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
78
78
|
// Colors to be deprecated
|
|
79
|
-
// @ts-
|
|
79
|
+
// @ts-expect-error
|
|
80
80
|
themeDarker: theme_tokens_1.globalTokens.color.brand110,
|
|
81
|
-
// @ts-
|
|
81
|
+
// @ts-expect-error
|
|
82
82
|
themeDark: theme_tokens_1.globalTokens.color.brand100,
|
|
83
|
-
// @ts-
|
|
83
|
+
// @ts-expect-error
|
|
84
84
|
themeDarkAlt: theme_tokens_1.globalTokens.color.brand100,
|
|
85
|
-
// @ts-
|
|
85
|
+
// @ts-expect-error
|
|
86
86
|
themePrimary: theme_tokens_1.globalTokens.color.brand90,
|
|
87
|
-
// @ts-
|
|
87
|
+
// @ts-expect-error
|
|
88
88
|
themeSecondary: theme_tokens_1.globalTokens.color.brand90,
|
|
89
|
-
// @ts-
|
|
89
|
+
// @ts-expect-error
|
|
90
90
|
themeTertiary: theme_tokens_1.globalTokens.color.brand60,
|
|
91
|
-
// @ts-
|
|
91
|
+
// @ts-expect-error
|
|
92
92
|
themeLight: theme_tokens_1.globalTokens.color.brand50,
|
|
93
|
-
// @ts-
|
|
93
|
+
// @ts-expect-error
|
|
94
94
|
themeLighter: theme_tokens_1.globalTokens.color.brand40,
|
|
95
|
-
// @ts-
|
|
95
|
+
// @ts-expect-error
|
|
96
96
|
themeLighterAlt: theme_tokens_1.globalTokens.color.brand30,
|
|
97
97
|
}, true),
|
|
98
98
|
...(0, createAliasTokens_1.createColorAliasTokens)('dark'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stockWebPalette.js","sourceRoot":"","sources":["../src/stockWebPalette.ts"],"names":[],"mappings":";;;;AAAA,sDAAsD;AACtD,sEAAmE;AAGnE,2DAA6D;AAC7D,mDAA0D;AAE1D,8BAA2D;IACzD,OAAO;QACL,GAAG,IAAA,uCAAuB,EAAC;YACzB,KAAK,EAAE,2BAAY,CAAC,KAAK,CAAC,KAAK;YAC/B,WAAW,EAAE,SAAS;YACtB,cAAc,EAAE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YAChB,GAAG,EAAE,2BAAY,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO;YACnC,mBAAmB;YACnB,MAAM,EAAE,2BAAY,CAAC,KAAK,CAAC,OAAO;YAClC,OAAO,EAAE,SAAS;YAClB,kBAAkB,EAAE,gBAAgB;YAEpC,0BAA0B;YAC1B,mBAAmB;YACnB,WAAW,EAAE,2BAAY,CAAC,KAAK,CAAC,QAAQ;YACxC,mBAAmB;YACnB,SAAS,EAAE,2BAAY,CAAC,KAAK,CAAC,QAAQ;YACtC,mBAAmB;YACnB,YAAY,EAAE,2BAAY,CAAC,KAAK,CAAC,QAAQ;YACzC,mBAAmB;YACnB,YAAY,EAAE,2BAAY,CAAC,KAAK,CAAC,OAAO;YACxC,mBAAmB;YACnB,cAAc,EAAE,2BAAY,CAAC,KAAK,CAAC,OAAO;YAC1C,mBAAmB;YACnB,aAAa,EAAE,2BAAY,CAAC,KAAK,CAAC,OAAO;YACzC,mBAAmB;YACnB,UAAU,EAAE,2BAAY,CAAC,KAAK,CAAC,OAAO;YACtC,mBAAmB;YACnB,YAAY,EAAE,2BAAY,CAAC,KAAK,CAAC,OAAO;YACxC,mBAAmB;YACnB,eAAe,EAAE,2BAAY,CAAC,KAAK,CAAC,OAAO;SAC5C,EACD,IAAI,CACL;QACD,GAAG,IAAA,0CAAsB,EAAC,MAAM,CAAC;KAClC,CAAC;AAAA,CACH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/default-theme",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.3",
|
|
4
4
|
"description": "Typing only package for fluentui-react-native theme types",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,28 +27,28 @@
|
|
|
27
27
|
"build-core": "tsgo --outDir lib --module esnext --moduleResolution bundler",
|
|
28
28
|
"clean": "fluentui-scripts clean",
|
|
29
29
|
"depcheck": "fluentui-scripts depcheck",
|
|
30
|
-
"lint": "fluentui-scripts eslint",
|
|
31
|
-
"lint-package": "fluentui-scripts lint-package",
|
|
32
30
|
"format": "fluentui-scripts format",
|
|
31
|
+
"lint": "fluentui-scripts lint",
|
|
32
|
+
"lint-package": "fluentui-scripts lint-package",
|
|
33
33
|
"start": "fluentui-scripts dev",
|
|
34
34
|
"start-test": "fluentui-scripts jest-watch",
|
|
35
35
|
"test": "fluentui-scripts jest",
|
|
36
36
|
"update-snapshots": "fluentui-scripts jest -u"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@fluentui-react-native/framework-base": "0.3.
|
|
40
|
-
"@fluentui-react-native/theme": "0.12.
|
|
41
|
-
"@fluentui-react-native/theme-tokens": "0.28.
|
|
42
|
-
"@fluentui-react-native/theme-types": "0.44.
|
|
43
|
-
"@fluentui-react-native/theming-utils": "0.27.
|
|
39
|
+
"@fluentui-react-native/framework-base": "0.3.3",
|
|
40
|
+
"@fluentui-react-native/theme": "0.12.3",
|
|
41
|
+
"@fluentui-react-native/theme-tokens": "0.28.3",
|
|
42
|
+
"@fluentui-react-native/theme-types": "0.44.3",
|
|
43
|
+
"@fluentui-react-native/theming-utils": "0.27.3",
|
|
44
44
|
"assert-never": "^1.2.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@babel/core": "^7.20.0",
|
|
48
48
|
"@fluentui-react-native/babel-config": "0.1.1",
|
|
49
|
-
"@fluentui-react-native/eslint-config-rules": "0.1.2",
|
|
50
49
|
"@fluentui-react-native/jest-config": "0.1.0",
|
|
51
50
|
"@fluentui-react-native/kit-config": "0.1.2",
|
|
51
|
+
"@fluentui-react-native/lint-config-rules": "0.1.3",
|
|
52
52
|
"@fluentui-react-native/scripts": "0.1.0",
|
|
53
53
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
54
54
|
"@react-native-community/cli": "^20.0.0",
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
"@react-native-community/cli-platform-ios": "^20.0.0",
|
|
57
57
|
"@react-native/babel-preset": "^0.81.0",
|
|
58
58
|
"@react-native/metro-config": "^0.81.0",
|
|
59
|
-
"@types/react": "~19.1.
|
|
60
|
-
"react": "19.1.
|
|
61
|
-
"react-native": "^0.81.
|
|
59
|
+
"@types/react": "~19.1.4",
|
|
60
|
+
"react": "19.1.4",
|
|
61
|
+
"react-native": "^0.81.6",
|
|
62
62
|
"react-native-macos": "^0.81.0",
|
|
63
63
|
"react-native-windows": "^0.81.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@office-iss/react-native-win32": "^0.74.0",
|
|
67
|
-
"@types/react": "~18.2.0 || ~19.0.0 || ~19.1.
|
|
68
|
-
"react": "18.2.0 || 19.0.0 || 19.1.
|
|
69
|
-
"react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.
|
|
67
|
+
"@types/react": "~18.2.0 || ~19.0.0 || ~19.1.4",
|
|
68
|
+
"react": "18.2.0 || 19.0.0 || 19.1.4",
|
|
69
|
+
"react-native": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.6",
|
|
70
70
|
"react-native-macos": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0",
|
|
71
71
|
"react-native-windows": "^0.73.0 || ^0.74.0 || ^0.78.0 || ^0.81.0"
|
|
72
72
|
},
|
package/src/stockWebPalette.ts
CHANGED
|
@@ -26,28 +26,28 @@ export function getStockWebPalette(): ThemeColorDefinition {
|
|
|
26
26
|
red: globalTokens.color.red.primary,
|
|
27
27
|
redDark: globalTokens.color.burgundy.primary,
|
|
28
28
|
|
|
29
|
-
// @ts-
|
|
29
|
+
// @ts-expect-error
|
|
30
30
|
accent: globalTokens.color.brand80,
|
|
31
31
|
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
32
32
|
|
|
33
33
|
// Colors to be deprecated
|
|
34
|
-
// @ts-
|
|
34
|
+
// @ts-expect-error
|
|
35
35
|
themeDarker: globalTokens.color.brand40,
|
|
36
|
-
// @ts-
|
|
36
|
+
// @ts-expect-error
|
|
37
37
|
themeDark: globalTokens.color.brand60,
|
|
38
|
-
// @ts-
|
|
38
|
+
// @ts-expect-error
|
|
39
39
|
themeDarkAlt: globalTokens.color.brand70,
|
|
40
|
-
// @ts-
|
|
40
|
+
// @ts-expect-error
|
|
41
41
|
themePrimary: globalTokens.color.brand80,
|
|
42
|
-
// @ts-
|
|
42
|
+
// @ts-expect-error
|
|
43
43
|
themeSecondary: globalTokens.color.brand90,
|
|
44
|
-
// @ts-
|
|
44
|
+
// @ts-expect-error
|
|
45
45
|
themeTertiary: globalTokens.color.brand120,
|
|
46
|
-
// @ts-
|
|
46
|
+
// @ts-expect-error
|
|
47
47
|
themeLight: globalTokens.color.brand140,
|
|
48
|
-
// @ts-
|
|
48
|
+
// @ts-expect-error
|
|
49
49
|
themeLighter: globalTokens.color.brand150,
|
|
50
|
-
// @ts-
|
|
50
|
+
// @ts-expect-error
|
|
51
51
|
themeLighterAlt: globalTokens.color.brand160,
|
|
52
52
|
}),
|
|
53
53
|
...createColorAliasTokens('light'),
|
|
@@ -74,29 +74,29 @@ export function getStockWebDarkPalette(): ThemeColorDefinition {
|
|
|
74
74
|
neutralLighterAlt: '#201f1e',
|
|
75
75
|
white: '#1b1a19',
|
|
76
76
|
red: globalTokens.color.red.primary,
|
|
77
|
-
// @ts-
|
|
77
|
+
// @ts-expect-error
|
|
78
78
|
accent: globalTokens.color.brand40,
|
|
79
79
|
redDark: '#f1707b',
|
|
80
80
|
blackTranslucent40: 'rgba(0,0,0,.4)',
|
|
81
81
|
|
|
82
82
|
// Colors to be deprecated
|
|
83
|
-
// @ts-
|
|
83
|
+
// @ts-expect-error
|
|
84
84
|
themeDarker: globalTokens.color.brand110,
|
|
85
|
-
// @ts-
|
|
85
|
+
// @ts-expect-error
|
|
86
86
|
themeDark: globalTokens.color.brand100,
|
|
87
|
-
// @ts-
|
|
87
|
+
// @ts-expect-error
|
|
88
88
|
themeDarkAlt: globalTokens.color.brand100,
|
|
89
|
-
// @ts-
|
|
89
|
+
// @ts-expect-error
|
|
90
90
|
themePrimary: globalTokens.color.brand90,
|
|
91
|
-
// @ts-
|
|
91
|
+
// @ts-expect-error
|
|
92
92
|
themeSecondary: globalTokens.color.brand90,
|
|
93
|
-
// @ts-
|
|
93
|
+
// @ts-expect-error
|
|
94
94
|
themeTertiary: globalTokens.color.brand60,
|
|
95
|
-
// @ts-
|
|
95
|
+
// @ts-expect-error
|
|
96
96
|
themeLight: globalTokens.color.brand50,
|
|
97
|
-
// @ts-
|
|
97
|
+
// @ts-expect-error
|
|
98
98
|
themeLighter: globalTokens.color.brand40,
|
|
99
|
-
// @ts-
|
|
99
|
+
// @ts-expect-error
|
|
100
100
|
themeLighterAlt: globalTokens.color.brand30,
|
|
101
101
|
},
|
|
102
102
|
true,
|
package/eslint.config.js
DELETED