@fluentui/tokens 1.0.0-alpha.20 → 1.0.0-alpha.21
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 +11 -2
- package/lib/alias/teamsFontFamilies.js +5 -0
- package/lib/alias/teamsFontFamilies.js.map +1 -0
- package/lib/themes/teams/darkTheme.js +5 -1
- package/lib/themes/teams/darkTheme.js.map +1 -1
- package/lib/themes/teams/highContrastTheme.js +5 -1
- package/lib/themes/teams/highContrastTheme.js.map +1 -1
- package/lib/themes/teams/lightTheme.js +5 -1
- package/lib/themes/teams/lightTheme.js.map +1 -1
- package/lib-commonjs/alias/teamsFontFamilies.js +15 -0
- package/lib-commonjs/alias/teamsFontFamilies.js.map +1 -0
- package/lib-commonjs/themes/teams/darkTheme.js +5 -1
- package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.js +5 -1
- package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/lightTheme.js +5 -1
- package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
# Change Log - @fluentui/tokens
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 16 Dec 2024 16:22:05 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [1.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.21)
|
|
8
|
+
|
|
9
|
+
Mon, 16 Dec 2024 16:22:05 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.20..@fluentui/tokens_v1.0.0-alpha.21)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- bugfix: ensure teams tokens follow teams overrides for fonts ([PR #33393](https://github.com/microsoft/fluentui/pull/33393) by bernardo.sunderhus@gmail.com)
|
|
15
|
+
|
|
7
16
|
## [1.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/tokens_v1.0.0-alpha.20)
|
|
8
17
|
|
|
9
|
-
Fri, 06 Dec 2024 12:
|
|
18
|
+
Fri, 06 Dec 2024 12:53:46 GMT
|
|
10
19
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/tokens_v1.0.0-alpha.19..@fluentui/tokens_v1.0.0-alpha.20)
|
|
11
20
|
|
|
12
21
|
### Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/alias/teamsFontFamilies.ts"],"sourcesContent":["import { fontFamilies as globalFontFamilies } from '../global/fonts';\n\nexport const fontFamilies = {\n ...globalFontFamilies,\n fontFamilyBase:\n '-apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, \"Apple Color Emoji\", \"Segoe UI Emoji\", sans-serif',\n};\n"],"names":["fontFamilies","globalFontFamilies","fontFamilyBase"],"rangeMappings":";;;;","mappings":"AAAA,SAASA,gBAAgBC,kBAAkB,QAAQ,qBAAkB;AAErE,OAAO,MAAMD,eAAe;IAC1B,GAAGC,kBAAkB;IACrBC,gBACE;AACJ,EAAE"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { createTeamsDarkTheme } from "../../utils/createTeamsDarkTheme.js";
|
|
2
2
|
import { brandTeams } from "../../global/brandColors.js";
|
|
3
|
-
|
|
3
|
+
import { fontFamilies } from "../../alias/teamsFontFamilies.js";
|
|
4
|
+
export const teamsDarkTheme = {
|
|
5
|
+
...createTeamsDarkTheme(brandTeams),
|
|
6
|
+
...fontFamilies
|
|
7
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/teams/darkTheme.ts"],"sourcesContent":["import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const teamsDarkTheme: Theme = createTeamsDarkTheme(brandTeams);\n"],"names":["createTeamsDarkTheme","brandTeams","teamsDarkTheme"],"rangeMappings":"
|
|
1
|
+
{"version":3,"sources":["../src/themes/teams/darkTheme.ts"],"sourcesContent":["import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\nimport { fontFamilies } from '../../alias/teamsFontFamilies';\n\nexport const teamsDarkTheme: Theme = {\n ...createTeamsDarkTheme(brandTeams),\n ...fontFamilies,\n};\n"],"names":["createTeamsDarkTheme","brandTeams","fontFamilies","teamsDarkTheme"],"rangeMappings":";;;;;;","mappings":"AAAA,SAASA,oBAAoB,QAAQ,sCAAmC;AACxE,SAASC,UAAU,QAAQ,8BAA2B;AAEtD,SAASC,YAAY,QAAQ,mCAAgC;AAE7D,OAAO,MAAMC,iBAAwB;IACnC,GAAGH,qBAAqBC,WAAW;IACnC,GAAGC,YAAY;AACjB,EAAE"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { createHighContrastTheme } from "../../utils/createHighContrastTheme.js";
|
|
2
|
-
|
|
2
|
+
import { fontFamilies } from "../../alias/teamsFontFamilies.js";
|
|
3
|
+
export const teamsHighContrastTheme = {
|
|
4
|
+
...createHighContrastTheme(),
|
|
5
|
+
...fontFamilies
|
|
6
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/teams/highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"names":["createHighContrastTheme","teamsHighContrastTheme"],"rangeMappings":"
|
|
1
|
+
{"version":3,"sources":["../src/themes/teams/highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\nimport { fontFamilies } from '../../alias/teamsFontFamilies';\n\nexport const teamsHighContrastTheme: Theme = {\n ...createHighContrastTheme(),\n ...fontFamilies,\n};\n"],"names":["createHighContrastTheme","fontFamilies","teamsHighContrastTheme"],"rangeMappings":";;;;;","mappings":"AAAA,SAASA,uBAAuB,QAAQ,yCAAsC;AAE9E,SAASC,YAAY,QAAQ,mCAAgC;AAE7D,OAAO,MAAMC,yBAAgC;IAC3C,GAAGF,yBAAyB;IAC5B,GAAGC,YAAY;AACjB,EAAE"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { createLightTheme } from "../../utils/createLightTheme.js";
|
|
2
2
|
import { brandTeams } from "../../global/brandColors.js";
|
|
3
|
-
|
|
3
|
+
import { fontFamilies } from "../../alias/teamsFontFamilies.js";
|
|
4
|
+
export const teamsLightTheme = {
|
|
5
|
+
...createLightTheme(brandTeams),
|
|
6
|
+
...fontFamilies
|
|
7
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/teams/lightTheme.ts"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const teamsLightTheme: Theme = createLightTheme(brandTeams);\n"],"names":["createLightTheme","brandTeams","teamsLightTheme"],"rangeMappings":"
|
|
1
|
+
{"version":3,"sources":["../src/themes/teams/lightTheme.ts"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\nimport { fontFamilies } from '../../alias/teamsFontFamilies';\n\nexport const teamsLightTheme: Theme = {\n ...createLightTheme(brandTeams),\n ...fontFamilies,\n};\n"],"names":["createLightTheme","brandTeams","fontFamilies","teamsLightTheme"],"rangeMappings":";;;;;;","mappings":"AAAA,SAASA,gBAAgB,QAAQ,kCAA+B;AAChE,SAASC,UAAU,QAAQ,8BAA2B;AAEtD,SAASC,YAAY,QAAQ,mCAAgC;AAE7D,OAAO,MAAMC,kBAAyB;IACpC,GAAGH,iBAAiBC,WAAW;IAC/B,GAAGC,YAAY;AACjB,EAAE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
Object.defineProperty(exports, "fontFamilies", {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: function() {
|
|
8
|
+
return fontFamilies;
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const _fonts = require("../global/fonts.js");
|
|
12
|
+
const fontFamilies = {
|
|
13
|
+
..._fonts.fontFamilies,
|
|
14
|
+
fontFamilyBase: '-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/alias/teamsFontFamilies.ts"],"sourcesContent":["import { fontFamilies as globalFontFamilies } from '../global/fonts';\n\nexport const fontFamilies = {\n ...globalFontFamilies,\n fontFamilyBase:\n '-apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, \"Apple Color Emoji\", \"Segoe UI Emoji\", sans-serif',\n};\n"],"names":["fontFamilies","globalFontFamilies","fontFamilyBase"],"rangeMappings":";;;;;;;;;;;;;;","mappings":";;;;+BAEaA;;;eAAAA;;;uBAFsC;AAE5C,MAAMA,eAAe;IAC1B,GAAGC,mBAAkB;IACrBC,gBACE;AACJ"}
|
|
@@ -10,4 +10,8 @@ Object.defineProperty(exports, "teamsDarkTheme", {
|
|
|
10
10
|
});
|
|
11
11
|
const _createTeamsDarkTheme = require("../../utils/createTeamsDarkTheme.js");
|
|
12
12
|
const _brandColors = require("../../global/brandColors.js");
|
|
13
|
-
const
|
|
13
|
+
const _teamsFontFamilies = require("../../alias/teamsFontFamilies.js");
|
|
14
|
+
const teamsDarkTheme = {
|
|
15
|
+
...(0, _createTeamsDarkTheme.createTeamsDarkTheme)(_brandColors.brandTeams),
|
|
16
|
+
..._teamsFontFamilies.fontFamilies
|
|
17
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/teams/darkTheme.ts"],"sourcesContent":["import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const teamsDarkTheme: Theme = createTeamsDarkTheme(brandTeams);\n"],"names":["teamsDarkTheme","createTeamsDarkTheme","brandTeams"],"rangeMappings":"
|
|
1
|
+
{"version":3,"sources":["../src/themes/teams/darkTheme.ts"],"sourcesContent":["import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\nimport { fontFamilies } from '../../alias/teamsFontFamilies';\n\nexport const teamsDarkTheme: Theme = {\n ...createTeamsDarkTheme(brandTeams),\n ...fontFamilies,\n};\n"],"names":["teamsDarkTheme","createTeamsDarkTheme","brandTeams","fontFamilies"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAKaA;;;eAAAA;;;sCALwB;6BACV;mCAEE;AAEtB,MAAMA,iBAAwB;IACnC,GAAGC,IAAAA,0CAAoB,EAACC,uBAAU,CAAC;IACnC,GAAGC,+BAAY;AACjB"}
|
|
@@ -9,4 +9,8 @@ Object.defineProperty(exports, "teamsHighContrastTheme", {
|
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
const _createHighContrastTheme = require("../../utils/createHighContrastTheme.js");
|
|
12
|
-
const
|
|
12
|
+
const _teamsFontFamilies = require("../../alias/teamsFontFamilies.js");
|
|
13
|
+
const teamsHighContrastTheme = {
|
|
14
|
+
...(0, _createHighContrastTheme.createHighContrastTheme)(),
|
|
15
|
+
..._teamsFontFamilies.fontFamilies
|
|
16
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/teams/highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"names":["teamsHighContrastTheme","createHighContrastTheme"],"rangeMappings":"
|
|
1
|
+
{"version":3,"sources":["../src/themes/teams/highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\nimport { fontFamilies } from '../../alias/teamsFontFamilies';\n\nexport const teamsHighContrastTheme: Theme = {\n ...createHighContrastTheme(),\n ...fontFamilies,\n};\n"],"names":["teamsHighContrastTheme","createHighContrastTheme","fontFamilies"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":";;;;+BAIaA;;;eAAAA;;;yCAJ2B;mCAEX;AAEtB,MAAMA,yBAAgC;IAC3C,GAAGC,IAAAA,gDAAuB,GAAE;IAC5B,GAAGC,+BAAY;AACjB"}
|
|
@@ -10,4 +10,8 @@ Object.defineProperty(exports, "teamsLightTheme", {
|
|
|
10
10
|
});
|
|
11
11
|
const _createLightTheme = require("../../utils/createLightTheme.js");
|
|
12
12
|
const _brandColors = require("../../global/brandColors.js");
|
|
13
|
-
const
|
|
13
|
+
const _teamsFontFamilies = require("../../alias/teamsFontFamilies.js");
|
|
14
|
+
const teamsLightTheme = {
|
|
15
|
+
...(0, _createLightTheme.createLightTheme)(_brandColors.brandTeams),
|
|
16
|
+
..._teamsFontFamilies.fontFamilies
|
|
17
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/themes/teams/lightTheme.ts"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const teamsLightTheme: Theme = createLightTheme(brandTeams);\n"],"names":["teamsLightTheme","createLightTheme","brandTeams"],"rangeMappings":"
|
|
1
|
+
{"version":3,"sources":["../src/themes/teams/lightTheme.ts"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandTeams } from '../../global/brandColors';\nimport type { Theme } from '../../types';\nimport { fontFamilies } from '../../alias/teamsFontFamilies';\n\nexport const teamsLightTheme: Theme = {\n ...createLightTheme(brandTeams),\n ...fontFamilies,\n};\n"],"names":["teamsLightTheme","createLightTheme","brandTeams","fontFamilies"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":";;;;+BAKaA;;;eAAAA;;;kCALoB;6BACN;mCAEE;AAEtB,MAAMA,kBAAyB;IACpC,GAAGC,IAAAA,kCAAgB,EAACC,uBAAU,CAAC;IAC/B,GAAGC,+BAAY;AACjB"}
|