@fluentui-react-native/apple-theme 0.19.0 → 0.19.1
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.json +28 -1
- package/CHANGELOG.md +12 -2
- package/package.json +4 -4
- package/lib/__tests__/apple-theme.test.d.ts +0 -2
- package/lib/__tests__/apple-theme.test.d.ts.map +0 -1
- package/lib/__tests__/apple-theme.test.js +0 -83
- package/lib/__tests__/apple-theme.test.js.map +0 -1
- package/lib/appleColors.ios.d.ts +0 -4
- package/lib/appleColors.ios.d.ts.map +0 -1
- package/lib/appleColors.ios.js +0 -76
- package/lib/appleColors.ios.js.map +0 -1
- package/lib/appleColors.macos.d.ts +0 -6
- package/lib/appleColors.macos.d.ts.map +0 -1
- package/lib/appleColors.macos.js +0 -542
- package/lib/appleColors.macos.js.map +0 -1
- package/lib/appleColors.types.ios.d.ts +0 -24
- package/lib/appleColors.types.ios.d.ts.map +0 -1
- package/lib/appleColors.types.ios.js +0 -2
- package/lib/appleColors.types.ios.js.map +0 -1
- package/lib/appleColors.types.macos.d.ts +0 -155
- package/lib/appleColors.types.macos.d.ts.map +0 -1
- package/lib/appleColors.types.macos.js +0 -2
- package/lib/appleColors.types.macos.js.map +0 -1
- package/lib/appleHighContrast.macos.d.ts +0 -3
- package/lib/appleHighContrast.macos.d.ts.map +0 -1
- package/lib/appleHighContrast.macos.js +0 -8
- package/lib/appleHighContrast.macos.js.map +0 -1
- package/lib/appleShadows.ios.d.ts +0 -3
- package/lib/appleShadows.ios.d.ts.map +0 -1
- package/lib/appleShadows.ios.js +0 -9
- package/lib/appleShadows.ios.js.map +0 -1
- package/lib/appleShadows.macos.d.ts +0 -3
- package/lib/appleShadows.macos.d.ts.map +0 -1
- package/lib/appleShadows.macos.js +0 -6
- package/lib/appleShadows.macos.js.map +0 -1
- package/lib/appleTheme.ios.d.ts +0 -5
- package/lib/appleTheme.ios.d.ts.map +0 -1
- package/lib/appleTheme.ios.js +0 -134
- package/lib/appleTheme.ios.js.map +0 -1
- package/lib/appleTheme.macos.d.ts +0 -61
- package/lib/appleTheme.macos.d.ts.map +0 -1
- package/lib/appleTheme.macos.js +0 -82
- package/lib/appleTheme.macos.js.map +0 -1
- package/lib/appleTypography.ios.d.ts +0 -3
- package/lib/appleTypography.ios.d.ts.map +0 -1
- package/lib/appleTypography.ios.js +0 -49
- package/lib/appleTypography.ios.js.map +0 -1
- package/lib/appleTypography.macos.d.ts +0 -9
- package/lib/appleTypography.macos.d.ts.map +0 -1
- package/lib/appleTypography.macos.js +0 -70
- package/lib/appleTypography.macos.js.map +0 -1
- package/lib/createAppleTheme.d.ts +0 -3
- package/lib/createAppleTheme.d.ts.map +0 -1
- package/lib/createAppleTheme.ios.d.ts +0 -3
- package/lib/createAppleTheme.ios.d.ts.map +0 -1
- package/lib/createAppleTheme.ios.js +0 -20
- package/lib/createAppleTheme.ios.js.map +0 -1
- package/lib/createAppleTheme.js +0 -7
- package/lib/createAppleTheme.js.map +0 -1
- package/lib/createAppleTheme.macos.d.ts +0 -3
- package/lib/createAppleTheme.macos.d.ts.map +0 -1
- package/lib/createAppleTheme.macos.js +0 -31
- package/lib/createAppleTheme.macos.js.map +0 -1
- package/lib/createFontAliasTokens.ios.d.ts +0 -5
- package/lib/createFontAliasTokens.ios.d.ts.map +0 -1
- package/lib/createFontAliasTokens.ios.js +0 -8
- package/lib/createFontAliasTokens.ios.js.map +0 -1
- package/lib/createMacOSAliasTokens.d.ts +0 -8
- package/lib/createMacOSAliasTokens.d.ts.map +0 -1
- package/lib/createMacOSAliasTokens.js +0 -14
- package/lib/createMacOSAliasTokens.js.map +0 -1
- package/lib/createiOSAliasTokens.d.ts +0 -8
- package/lib/createiOSAliasTokens.d.ts.map +0 -1
- package/lib/createiOSAliasTokens.js +0 -14
- package/lib/createiOSAliasTokens.js.map +0 -1
- package/lib/getMacOSTokens.d.ts +0 -545
- package/lib/getMacOSTokens.d.ts.map +0 -1
- package/lib/getMacOSTokens.js +0 -58
- package/lib/getMacOSTokens.js.map +0 -1
- package/lib/index.d.ts +0 -4
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -4
- package/lib/index.js.map +0 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,34 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Sat, 18 Mar 2023 17:18:20 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/apple-theme_v0.19.1",
|
|
7
|
+
"version": "0.19.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.18.1",
|
|
14
|
+
"commit": "601309349ca2bc18780a3fb71c59337f7c26f9bf"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/experimental-appearance-additions to v0.3.8",
|
|
20
|
+
"commit": "601309349ca2bc18780a3fb71c59337f7c26f9bf"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/apple-theme",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.23.9",
|
|
26
|
+
"commit": "601309349ca2bc18780a3fb71c59337f7c26f9bf"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Tue, 14 Mar 2023 20:50:45 GMT",
|
|
6
33
|
"tag": "@fluentui-react-native/apple-theme_v0.19.0",
|
|
7
34
|
"version": "0.19.0",
|
|
8
35
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/apple-theme
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Sat, 18 Mar 2023 17:18:20 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.19.1
|
|
8
|
+
|
|
9
|
+
Sat, 18 Mar 2023 17:18:20 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/default-theme to v0.18.1
|
|
14
|
+
- Bump @fluentui-react-native/experimental-appearance-additions to v0.3.8
|
|
15
|
+
- Bump @fluentui-react-native/theming-utils to v0.23.9
|
|
16
|
+
|
|
7
17
|
## 0.19.0
|
|
8
18
|
|
|
9
|
-
Tue, 14 Mar 2023 20:
|
|
19
|
+
Tue, 14 Mar 2023 20:50:45 GMT
|
|
10
20
|
|
|
11
21
|
### Minor changes
|
|
12
22
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/apple-theme",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "A FluentUI React Native theme that pulls constants from FluentUI Apple",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"directory": "packages/theming/apple-theme"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@fluentui-react-native/default-theme": ">=0.18.
|
|
30
|
+
"@fluentui-react-native/default-theme": ">=0.18.1 <1.0.0",
|
|
31
31
|
"@fluentui-react-native/design-tokens-ios": "^0.42.0",
|
|
32
32
|
"@fluentui-react-native/design-tokens-macos": "^0.42.0",
|
|
33
|
-
"@fluentui-react-native/experimental-appearance-additions": "^0.3.
|
|
33
|
+
"@fluentui-react-native/experimental-appearance-additions": "^0.3.8",
|
|
34
34
|
"@fluentui-react-native/memo-cache": "^1.1.8",
|
|
35
35
|
"@fluentui-react-native/theme": ">=0.8.3 <1.0.0",
|
|
36
36
|
"@fluentui-react-native/theme-tokens": "^0.24.5",
|
|
37
37
|
"@fluentui-react-native/theme-types": ">=0.31.0 <1.0.0",
|
|
38
|
-
"@fluentui-react-native/theming-utils": "^0.23.
|
|
38
|
+
"@fluentui-react-native/theming-utils": "^0.23.9",
|
|
39
39
|
"assert-never": "^1.2.1"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apple-theme.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/apple-theme.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
-
function step(op) {
|
|
15
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
-
switch (op[0]) {
|
|
20
|
-
case 0: case 1: t = op; break;
|
|
21
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
-
default:
|
|
25
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
-
if (t[2]) _.ops.pop();
|
|
30
|
-
_.trys.pop(); continue;
|
|
31
|
-
}
|
|
32
|
-
op = body.call(thisArg, _);
|
|
33
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
import { getIsHighContrast, setIsHighContrast } from '../appleHighContrast.macos';
|
|
38
|
-
import { createAppleTheme } from '../createAppleTheme';
|
|
39
|
-
import { createMacOSColorAliasTokens, createMacOSShadowAliasTokens } from '../createMacOSAliasTokens';
|
|
40
|
-
// For some reason the automatically mocked AccessibilityInfo object is the react-native version, not the
|
|
41
|
-
// react-native-macos version, which doesn't contain the isHighContrastEnabled function that is accessed in
|
|
42
|
-
// createAppleTheme. Use the actual module instead
|
|
43
|
-
jest.dontMock('react-native-macos/Libraries/Components/AccessibilityInfo/AccessibilityInfo');
|
|
44
|
-
var macOSAliasTokensTable = [
|
|
45
|
-
['light', true],
|
|
46
|
-
['light', false],
|
|
47
|
-
['dark', true],
|
|
48
|
-
['dark', false],
|
|
49
|
-
['highContrast', null],
|
|
50
|
-
];
|
|
51
|
-
it('createAppleTheme test', function () {
|
|
52
|
-
var appleTheme = createAppleTheme().theme;
|
|
53
|
-
expect(appleTheme).toMatchSnapshot();
|
|
54
|
-
});
|
|
55
|
-
it('IsHighContrast test', function () {
|
|
56
|
-
setIsHighContrast(false);
|
|
57
|
-
expect(getIsHighContrast()).toBe(false);
|
|
58
|
-
setIsHighContrast(true);
|
|
59
|
-
expect(getIsHighContrast()).toBe(true);
|
|
60
|
-
});
|
|
61
|
-
it.concurrent.each(macOSAliasTokensTable)('createMacOSColorAliasTokens test mode: %s, isHighContrast: %p', function (mode, isHighContrast) { return __awaiter(void 0, void 0, void 0, function () {
|
|
62
|
-
return __generator(this, function (_a) {
|
|
63
|
-
if (mode === 'highContrast') {
|
|
64
|
-
expect(function () { return createMacOSColorAliasTokens(mode, isHighContrast); }).toThrow();
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
expect(createMacOSColorAliasTokens(mode, isHighContrast)).toMatchSnapshot();
|
|
68
|
-
}
|
|
69
|
-
return [2 /*return*/];
|
|
70
|
-
});
|
|
71
|
-
}); });
|
|
72
|
-
it.concurrent.each(macOSAliasTokensTable)('createMacOSShadowAliasTokens test mode: %s, isHighContrast: %p', function (mode, isHighContrast) { return __awaiter(void 0, void 0, void 0, function () {
|
|
73
|
-
return __generator(this, function (_a) {
|
|
74
|
-
if (mode === 'highContrast') {
|
|
75
|
-
expect(function () { return createMacOSShadowAliasTokens(mode, isHighContrast); }).toThrow();
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
expect(createMacOSShadowAliasTokens(mode, isHighContrast)).toMatchSnapshot();
|
|
79
|
-
}
|
|
80
|
-
return [2 /*return*/];
|
|
81
|
-
});
|
|
82
|
-
}); });
|
|
83
|
-
//# sourceMappingURL=apple-theme.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apple-theme.test.js","sourceRoot":"","sources":["../../src/__tests__/apple-theme.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AAEtG,yGAAyG;AACzG,2GAA2G;AAC3G,kDAAkD;AAClD,IAAI,CAAC,QAAQ,CAAC,6EAA6E,CAAC,CAAC;AAE7F,IAAM,qBAAqB,GAAmC;IAC5D,CAAC,OAAO,EAAE,IAAI,CAAC;IACf,CAAC,OAAO,EAAE,KAAK,CAAC;IAChB,CAAC,MAAM,EAAE,IAAI,CAAC;IACd,CAAC,MAAM,EAAE,KAAK,CAAC;IACf,CAAC,cAAc,EAAE,IAAI,CAAC;CACvB,CAAC;AAEF,EAAE,CAAC,uBAAuB,EAAE;IAC1B,IAAM,UAAU,GAAG,gBAAgB,EAAE,CAAC,KAAK,CAAC;IAC5C,MAAM,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;AACvC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,qBAAqB,EAAE;IACxB,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACzB,MAAM,CAAC,iBAAiB,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACxC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IACxB,MAAM,CAAC,iBAAiB,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC,CAAC,CAAC;AAEH,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,qBAAqB,CAAC,CACvC,+DAA+D,EAC/D,UAAO,IAAuB,EAAE,cAAuB;;QACrD,IAAI,IAAI,KAAK,cAAc,EAAE;YAC3B,MAAM,CAAC,cAAM,OAAA,2BAA2B,CAAC,IAAI,EAAE,cAAc,CAAC,EAAjD,CAAiD,CAAC,CAAC,OAAO,EAAE,CAAC;SAC3E;aAAM;YACL,MAAM,CAAC,2BAA2B,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC;SAC7E;;;KACF,CACF,CAAC;AAEF,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,qBAAqB,CAAC,CACvC,gEAAgE,EAChE,UAAO,IAAuB,EAAE,cAAuB;;QACrD,IAAI,IAAI,KAAK,cAAc,EAAE;YAC3B,MAAM,CAAC,cAAM,OAAA,4BAA4B,CAAC,IAAI,EAAE,cAAc,CAAC,EAAlD,CAAkD,CAAC,CAAC,OAAO,EAAE,CAAC;SAC5E;aAAM;YACL,MAAM,CAAC,4BAA4B,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC;SAC9E;;;KACF,CACF,CAAC"}
|
package/lib/appleColors.ios.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { ThemeColorDefinition } from '@fluentui-react-native/theme-types';
|
|
2
|
-
/** Creates a palette of colors for the apple theme, using the appropriate FluentUI Apple Palette based on appearance */
|
|
3
|
-
export declare function paletteFromAppleColors(isLightMode: boolean, isElevated: boolean): ThemeColorDefinition;
|
|
4
|
-
//# sourceMappingURL=appleColors.ios.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.ios.d.ts","sourceRoot":"","sources":["../src/appleColors.ios.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAgD/E,wHAAwH;AACxH,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,GAAG,oBAAoB,CAwOtG"}
|
package/lib/appleColors.ios.js
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
import { Appearance } from 'react-native';
|
|
13
|
-
import { globalTokens } from '@fluentui-react-native/theme-tokens';
|
|
14
|
-
import { getCurrentAppearance } from '@fluentui-react-native/theming-utils';
|
|
15
|
-
import { createiOSColorAliasTokens } from './createiOSAliasTokens';
|
|
16
|
-
//TODO: remove and replace with Fluent 2 alias color tokens
|
|
17
|
-
function getFluentUIAppleLightPalette() {
|
|
18
|
-
return {
|
|
19
|
-
communicationBlue: '#0078D4',
|
|
20
|
-
communicationBlueTint10: '#2B88D8',
|
|
21
|
-
communicationBlueTint20: '#C7E0F4',
|
|
22
|
-
communicationBlueTint30: '#DEECF9',
|
|
23
|
-
dangerPrimary: '#D92C2C',
|
|
24
|
-
dangerTint10: '#DD4242',
|
|
25
|
-
gray20: '#69797E',
|
|
26
|
-
gray30: '#7A7574',
|
|
27
|
-
gray40: '#393939',
|
|
28
|
-
successTint10: '#27AC22',
|
|
29
|
-
warningPrimary: '#FFD335',
|
|
30
|
-
warningTint10: '#FFD94E',
|
|
31
|
-
buttonBackgroundFilledPressed: '#2B88D8',
|
|
32
|
-
buttonTitleDisabled: '#ACACAC', //textDisabled
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
//TODO: remove and replace with Fluent 2 alias color tokens
|
|
36
|
-
function getFluentUIAppleDarkPalette() {
|
|
37
|
-
return {
|
|
38
|
-
communicationBlue: '#0086F0',
|
|
39
|
-
communicationBlueTint10: '#0078D4',
|
|
40
|
-
communicationBlueTint20: '#004C87',
|
|
41
|
-
communicationBlueTint30: '#043862',
|
|
42
|
-
dangerPrimary: '#E83A3A',
|
|
43
|
-
dangerTint10: '#CC3333',
|
|
44
|
-
gray20: '#69797E',
|
|
45
|
-
gray30: '#7A7574',
|
|
46
|
-
gray40: '#393939',
|
|
47
|
-
successTint10: '#0D9D3D',
|
|
48
|
-
warningPrimary: '#FFC328',
|
|
49
|
-
warningTint10: '#E0AB24',
|
|
50
|
-
buttonBackgroundFilledPressed: '#004C87',
|
|
51
|
-
buttonTitleDisabled: '#404040', //textDisabled
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
/** Creates a palette of colors for the apple theme, using the appropriate FluentUI Apple Palette based on appearance */
|
|
55
|
-
export function paletteFromAppleColors(isLightMode, isElevated) {
|
|
56
|
-
var fluentApple = isLightMode ? getFluentUIAppleLightPalette() : getFluentUIAppleDarkPalette();
|
|
57
|
-
var appearance = Appearance.getColorScheme();
|
|
58
|
-
var mode = getCurrentAppearance(appearance, 'light');
|
|
59
|
-
if (mode === 'dark' && isElevated) {
|
|
60
|
-
mode = 'darkElevated';
|
|
61
|
-
}
|
|
62
|
-
var fluent2AliasColorTokens = createiOSColorAliasTokens(mode);
|
|
63
|
-
return __assign(__assign({}, fluent2AliasColorTokens), {
|
|
64
|
-
/* PaletteBackgroundColors & PaletteTextColors */
|
|
65
|
-
background: fluent2AliasColorTokens.neutralBackground1, bodyStandoutBackground: fluent2AliasColorTokens.neutralBackground4, bodyFrameBackground: fluent2AliasColorTokens.neutralBackground1, bodyFrameDivider: fluent2AliasColorTokens.neutralStroke2, bodyText: fluent2AliasColorTokens.neutralForeground1, bodyTextChecked: fluent2AliasColorTokens.neutralForeground1, subText: fluent2AliasColorTokens.neutralForeground3, bodyDivider: fluent2AliasColorTokens.neutralStroke1, disabledBackground: fluent2AliasColorTokens.neutralBackgroundDisabled, disabledText: fluent2AliasColorTokens.neutralForegroundDisabled1, disabledBodyText: fluent2AliasColorTokens.neutralForegroundDisabled1, disabledSubtext: fluent2AliasColorTokens.neutralForegroundDisabled1, disabledBodySubtext: fluent2AliasColorTokens.neutralForegroundDisabled1, focusBorder: 'transparent', variantBorder: fluent2AliasColorTokens.neutralStroke2, variantBorderHovered: fluent2AliasColorTokens.neutralStroke2, defaultStateBackground: fluent2AliasColorTokens.neutralBackground1, errorText: fluentApple.dangerPrimary, warningText: fluentApple.warningPrimary, errorBackground: fluentApple.dangerTint10, blockingBackground: fluentApple.dangerTint10, warningBackground: fluentApple.warningPrimary, warningHighlight: fluentApple.warningTint10, successBackground: fluentApple.successTint10, inputBorder: fluent2AliasColorTokens.neutralStroke2, inputBorderHovered: fluent2AliasColorTokens.neutralStroke2, inputBackground: fluent2AliasColorTokens.neutralBackground1, inputBackgroundChecked: fluent2AliasColorTokens.neutralBackground1, inputBackgroundCheckedHovered: fluent2AliasColorTokens.neutralBackground1, inputForegroundChecked: fluent2AliasColorTokens.neutralForegroundOnColor, inputFocusBorderAlt: fluent2AliasColorTokens.neutralStroke1, smallInputBorder: fluent2AliasColorTokens.neutralStroke1, inputText: fluent2AliasColorTokens.neutralForeground1, inputTextHovered: fluent2AliasColorTokens.neutralForeground1, inputPlaceholderText: fluent2AliasColorTokens.neutralForeground3,
|
|
66
|
-
// Default values without any style
|
|
67
|
-
// on FluentUI Apple iOS, this is the buttonStyle "Secondary Outline"
|
|
68
|
-
buttonBackground: 'transparent', buttonBackgroundChecked: 'transparent', buttonBackgroundHovered: 'transparent', buttonBackgroundCheckedHovered: 'transparent', buttonBackgroundPressed: 'transparent', buttonBackgroundDisabled: 'transparent', buttonBorder: fluentApple.communicationBlueTint10, buttonText: fluentApple.communicationBlue, buttonTextHovered: fluentApple.communicationBlue, buttonTextChecked: fluentApple.communicationBlue, buttonTextCheckedHovered: fluentApple.communicationBlue, buttonTextPressed: fluentApple.communicationBlueTint20, buttonTextDisabled: fluentApple.buttonTitleDisabled, buttonBorderDisabled: fluent2AliasColorTokens.neutralBackgroundDisabled, buttonBorderFocused: fluentApple.communicationBlueTint10, primaryButtonBackground: fluentApple.communicationBlue, primaryButtonBackgroundHovered: fluentApple.communicationBlue, primaryButtonBackgroundPressed: fluentApple.buttonBackgroundFilledPressed, primaryButtonBackgroundDisabled: fluent2AliasColorTokens.neutralBackgroundDisabled, primaryButtonBorder: 'transparent', primaryButtonBorderFocused: 'transparent', primaryButtonText: fluent2AliasColorTokens.neutralForegroundOnColor, primaryButtonTextHovered: fluent2AliasColorTokens.neutralForegroundOnColor, primaryButtonTextPressed: fluent2AliasColorTokens.neutralForegroundOnColor, primaryButtonTextDisabled: fluent2AliasColorTokens.neutralForegroundOnColor, accentButtonBackground: fluentApple.communicationBlue, accentButtonText: fluent2AliasColorTokens.neutralForegroundOnColor, menuBackground: fluent2AliasColorTokens.neutralBackground1, menuDivider: fluent2AliasColorTokens.neutralStroke2, menuIcon: fluent2AliasColorTokens.neutralForeground3, menuHeader: fluent2AliasColorTokens.neutralForeground1, menuItemBackgroundHovered: fluent2AliasColorTokens.neutralBackground1, menuItemBackgroundPressed: fluent2AliasColorTokens.neutralBackground1, menuItemText: fluent2AliasColorTokens.neutralForeground1, menuItemTextHovered: fluent2AliasColorTokens.neutralForeground1, listBackground: fluent2AliasColorTokens.neutralBackground1, listText: fluent2AliasColorTokens.neutralForeground1, listItemBackgroundHovered: fluent2AliasColorTokens.neutralBackground1, listItemBackgroundChecked: fluent2AliasColorTokens.neutralBackground1, listItemBackgroundCheckedHovered: fluent2AliasColorTokens.neutralBackground1, listHeaderBackgroundHovered: fluent2AliasColorTokens.neutralForeground1, listHeaderBackgroundPressed: fluent2AliasColorTokens.neutralForeground1, actionLink: fluentApple.communicationBlue, actionLinkHovered: fluentApple.communicationBlue, link: fluentApple.communicationBlue, linkHovered: fluentApple.communicationBlue, linkPressed: fluentApple.communicationBlueTint10,
|
|
69
|
-
/* ControlColorTokens */
|
|
70
|
-
// Default values without any style
|
|
71
|
-
// on FluentUI Apple iOS, this is the buttonStyle "Secondary Outline"
|
|
72
|
-
defaultBackground: 'transparent', defaultBorder: fluentApple.communicationBlueTint10, defaultContent: fluentApple.communicationBlue, defaultIcon: fluentApple.communicationBlue, defaultHoveredBackground: 'transparent', defaultHoveredBorder: fluentApple.communicationBlueTint10, defaultHoveredContent: fluentApple.communicationBlue, defaultHoveredIcon: fluentApple.communicationBlue, defaultFocusedBackground: 'transparent', defaultFocusedBorder: fluentApple.communicationBlueTint10, defaultFocusedContent: fluentApple.communicationBlue, defaultFocusedIcon: fluentApple.communicationBlue, defaultPressedBackground: 'transparent', defaultPressedBorder: fluentApple.communicationBlueTint30, defaultPressedContent: fluentApple.communicationBlueTint20, defaultPressedIcon: fluentApple.communicationBlueTint20, defaultDisabledBackground: 'transparent', defaultDisabledBorder: fluent2AliasColorTokens.neutralBackgroundDisabled, defaultDisabledContent: fluentApple.buttonTitleDisabled, defaultDisabledIcon: fluentApple.buttonTitleDisabled, ghostBackground: 'transparent', ghostBorder: 'transparent', ghostContent: fluentApple.communicationBlue, ghostIcon: fluentApple.communicationBlue, ghostHoveredBackground: 'transparent', ghostHoveredBorder: 'transparent', ghostHoveredContent: fluentApple.communicationBlue, ghostHoveredIcon: fluentApple.communicationBlue, ghostFocusedBackground: 'transparent', ghostFocusedBorder: 'transparent', ghostFocusedContent: fluentApple.communicationBlue, ghostFocusedIcon: fluentApple.communicationBlue, ghostPressedBackground: 'transparent', ghostPressedBorder: 'transparent', ghostPressedContent: fluentApple.communicationBlueTint20, ghostPressedIcon: fluentApple.communicationBlueTint20, ghostDisabledBackground: 'transparent', ghostDisabledBorder: 'transparent', ghostDisabledContent: fluentApple.buttonTitleDisabled, ghostDisabledIcon: fluentApple.buttonTitleDisabled, brandedBackground: fluentApple.communicationBlue, brandedBorder: 'transparent', brandedContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedIcon: fluent2AliasColorTokens.neutralForegroundOnColor, brandedHoveredBackground: fluentApple.communicationBlue, brandedHoveredBorder: 'transparent', brandedHoveredContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedHoveredIcon: fluent2AliasColorTokens.neutralForegroundOnColor, brandedFocusedBackground: fluentApple.communicationBlue, brandedFocusedBorder: 'transparent', brandedFocusedContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedFocusedIcon: fluent2AliasColorTokens.neutralForegroundOnColor, brandedPressedBackground: fluentApple.buttonBackgroundFilledPressed, brandedPressedBorder: 'transparent', brandedPressedContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedPressedIcon: fluent2AliasColorTokens.neutralForegroundOnColor, brandedDisabledBackground: fluent2AliasColorTokens.neutralBackgroundDisabled, brandedDisabledBorder: 'transparent', brandedDisabledContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedDisabledIcon: fluent2AliasColorTokens.neutralForegroundOnColor, defaultCheckedBackground: 'transparent', defaultCheckedContent: fluentApple.communicationBlue, defaultCheckedHoveredBackground: 'transparent', defaultCheckedHoveredContent: fluentApple.communicationBlue, brandedCheckedBackground: fluentApple.communicationBlue, brandedCheckedContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedCheckedHoveredBackground: fluent2AliasColorTokens.neutralForegroundOnColor, brandedCheckedHoveredContent: fluent2AliasColorTokens.neutralForegroundOnColor, ghostCheckedBackground: 'transparent', ghostCheckedContent: fluentApple.communicationBlue, ghostCheckedHoveredBackground: 'transparent', ghostCheckedHoveredContent: fluentApple.communicationBlue, ghostCheckedHoveredBorder: 'transparent',
|
|
73
|
-
// Buttons on iOS don't have secondary text, so map these to be the same as the normal content
|
|
74
|
-
ghostSecondaryContent: fluentApple.communicationBlue, ghostFocusedSecondaryContent: fluentApple.communicationBlue, ghostHoveredSecondaryContent: fluentApple.communicationBlue, ghostPressedSecondaryContent: fluentApple.communicationBlueTint20, brandedSecondaryContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedFocusedSecondaryContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedHoveredSecondaryContent: fluent2AliasColorTokens.neutralForegroundOnColor, brandedPressedSecondaryContent: fluent2AliasColorTokens.neutralForegroundOnColor, defaultDisabledSecondaryContent: fluentApple.buttonTitleDisabled, defaultHoveredSecondaryContent: fluentApple.communicationBlue, defaultPressedSecondaryContent: fluentApple.communicationBlueTint20, checkboxBackground: fluentApple.communicationBlue, checkboxBackgroundDisabled: fluent2AliasColorTokens.neutralBackground1, checkboxBorderColor: globalTokens.color.grey26, checkmarkColor: fluent2AliasColorTokens.neutralForegroundOnColor, personaActivityGlow: 'transparent', personaActivityRing: fluent2AliasColorTokens.neutralBackground1 });
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=appleColors.ios.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.ios.js","sourceRoot":"","sources":["../src/appleColors.ios.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAG5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,2DAA2D;AAC3D,SAAS,4BAA4B;IACnC,OAAO;QACL,iBAAiB,EAAE,SAAS;QAC5B,uBAAuB,EAAE,SAAS;QAClC,uBAAuB,EAAE,SAAS;QAClC,uBAAuB,EAAE,SAAS;QAClC,aAAa,EAAE,SAAS;QACxB,YAAY,EAAE,SAAS;QACvB,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,SAAS;QACjB,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,SAAS;QACxB,cAAc,EAAE,SAAS;QACzB,aAAa,EAAE,SAAS;QAExB,6BAA6B,EAAE,SAAS;QACxC,mBAAmB,EAAE,SAAS,EAAE,cAAc;KAC/C,CAAC;AACJ,CAA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AC,uBAAuB,EAEnE,kBAAkB,EAAE,WAAW,CAAC,iBAAiB,EACjD,0BAA0B,EAAE,uBAAuB,CAAC,kBAAkB,EACtE,mBAAmB,EAAE,YAAY,CAAC,KAAK,CAAC,MAAM,EAC9C,cAAc,EAAE,uBAAuB,CAAC,wBAAwB,EAEhE,mBAAmB,EAAE,aAAa,EAClC,mBAAmB,EAAE,uBAAuB,CAAC,kBAAkB,IAC/D;AACJ,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ThemeColorDefinition, AppearanceOptions } from '@fluentui-react-native/theme-types';
|
|
2
|
-
/** Creates a palette of colors for the apple theme, given the FluentUI Apple Palette and Apple Semantic Palette
|
|
3
|
-
* The fallback palette is loaded while we wait for the native theming module to load, or if the module is not found
|
|
4
|
-
*/
|
|
5
|
-
export declare function fallbackApplePalette(mode: AppearanceOptions): ThemeColorDefinition;
|
|
6
|
-
//# sourceMappingURL=appleColors.macos.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"appleColors.macos.d.ts","sourceRoot":"","sources":["../src/appleColors.macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAgQlG;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,GAAG,oBAAoB,CA2VlF"}
|