@fluentui/tokens 0.0.0-nightly-20230317-0436.1 → 0.0.0-nightly-20230317-1454.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/.swcrc +39 -0
- package/CHANGELOG.json +3 -3
- package/CHANGELOG.md +4 -4
- package/lib/alias/darkColor.js +19 -21
- package/lib/alias/darkColor.js.map +1 -1
- package/lib/alias/darkColorPalette.js +2 -3
- package/lib/alias/darkColorPalette.js.map +1 -1
- package/lib/alias/highContrastColor.js +12 -14
- package/lib/alias/highContrastColor.js.map +1 -1
- package/lib/alias/highContrastColorPalette.js +2 -2
- package/lib/alias/highContrastColorPalette.js.map +1 -1
- package/lib/alias/lightColor.js +19 -21
- package/lib/alias/lightColor.js.map +1 -1
- package/lib/alias/lightColorPalette.js +2 -2
- package/lib/alias/lightColorPalette.js.map +1 -1
- package/lib/alias/teamsDarkColor.js +19 -21
- package/lib/alias/teamsDarkColor.js.map +1 -1
- package/lib/global/borderRadius.js +6 -6
- package/lib/global/borderRadius.js.map +1 -1
- package/lib/global/brandColors.js.map +1 -1
- package/lib/global/colorPalette.js +1 -1
- package/lib/global/colorPalette.js.map +1 -1
- package/lib/global/colors.js +699 -701
- package/lib/global/colors.js.map +1 -1
- package/lib/global/curves.js +9 -9
- package/lib/global/curves.js.map +1 -1
- package/lib/global/durations.js +7 -7
- package/lib/global/durations.js.map +1 -1
- package/lib/global/fonts.js +20 -20
- package/lib/global/fonts.js.map +1 -1
- package/lib/global/index.js +9 -9
- package/lib/global/index.js.map +1 -1
- package/lib/global/spacings.js +11 -11
- package/lib/global/spacings.js.map +1 -1
- package/lib/global/strokeWidths.js +4 -4
- package/lib/global/strokeWidths.js.map +1 -1
- package/lib/global/typographyStyles.js +1 -1
- package/lib/global/typographyStyles.js.map +1 -1
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/sharedColorNames.js +3 -4
- package/lib/sharedColorNames.js.map +1 -1
- package/lib/themeToTokensObject.js +1 -2
- package/lib/themeToTokensObject.js.map +1 -1
- package/lib/themes/index.js +2 -2
- package/lib/themes/index.js.map +1 -1
- package/lib/themes/teams/darkTheme.js +2 -2
- package/lib/themes/teams/darkTheme.js.map +1 -1
- package/lib/themes/teams/highContrastTheme.js +1 -1
- package/lib/themes/teams/highContrastTheme.js.map +1 -1
- package/lib/themes/teams/index.js +3 -3
- package/lib/themes/teams/index.js.map +1 -1
- package/lib/themes/teams/lightTheme.js +2 -2
- package/lib/themes/teams/lightTheme.js.map +1 -1
- package/lib/themes/web/darkTheme.js +2 -2
- package/lib/themes/web/darkTheme.js.map +1 -1
- package/lib/themes/web/index.js +2 -2
- package/lib/themes/web/index.js.map +1 -1
- package/lib/themes/web/lightTheme.js +2 -2
- package/lib/themes/web/lightTheme.js.map +1 -1
- package/lib/tokens.js +387 -387
- package/lib/tokens.js.map +1 -1
- package/lib/types.js.map +1 -1
- package/lib/utils/createDarkTheme.js +8 -8
- package/lib/utils/createDarkTheme.js.map +1 -1
- package/lib/utils/createHighContrastTheme.js +8 -8
- package/lib/utils/createHighContrastTheme.js.map +1 -1
- package/lib/utils/createLightTheme.js +8 -8
- package/lib/utils/createLightTheme.js.map +1 -1
- package/lib/utils/createTeamsDarkTheme.js +8 -8
- package/lib/utils/createTeamsDarkTheme.js.map +1 -1
- package/lib/utils/index.js +4 -4
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/shadows.js +1 -1
- package/lib/utils/shadows.js.map +1 -1
- package/lib-commonjs/alias/darkColor.js +158 -159
- package/lib-commonjs/alias/darkColor.js.map +1 -1
- package/lib-commonjs/alias/darkColorPalette.js +46 -44
- package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
- package/lib-commonjs/alias/highContrastColor.js +158 -159
- package/lib-commonjs/alias/highContrastColor.js.map +1 -1
- package/lib-commonjs/alias/highContrastColorPalette.js +37 -34
- package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
- package/lib-commonjs/alias/lightColor.js +158 -159
- package/lib-commonjs/alias/lightColor.js.map +1 -1
- package/lib-commonjs/alias/lightColorPalette.js +38 -35
- package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
- package/lib-commonjs/alias/teamsDarkColor.js +158 -159
- package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
- package/lib-commonjs/global/borderRadius.js +14 -11
- package/lib-commonjs/global/borderRadius.js.map +1 -1
- package/lib-commonjs/global/brandColors.js +65 -55
- package/lib-commonjs/global/brandColors.js.map +1 -1
- package/lib-commonjs/global/colorPalette.js +51 -42
- package/lib-commonjs/global/colorPalette.js.map +1 -1
- package/lib-commonjs/global/colors.js +883 -814
- package/lib-commonjs/global/colors.js.map +1 -1
- package/lib-commonjs/global/curves.js +17 -14
- package/lib-commonjs/global/curves.js.map +1 -1
- package/lib-commonjs/global/durations.js +15 -12
- package/lib-commonjs/global/durations.js.map +1 -1
- package/lib-commonjs/global/fonts.js +48 -39
- package/lib-commonjs/global/fonts.js.map +1 -1
- package/lib-commonjs/global/index.js +12 -12
- package/lib-commonjs/global/index.js.map +1 -1
- package/lib-commonjs/global/spacings.js +49 -40
- package/lib-commonjs/global/spacings.js.map +1 -1
- package/lib-commonjs/global/strokeWidths.js +12 -9
- package/lib-commonjs/global/strokeWidths.js.map +1 -1
- package/lib-commonjs/global/typographyStyles.js +111 -111
- package/lib-commonjs/global/typographyStyles.js.map +1 -1
- package/lib-commonjs/index.js +29 -81
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/sharedColorNames.js +69 -10
- package/lib-commonjs/sharedColorNames.js.map +1 -1
- package/lib-commonjs/themeToTokensObject.js +16 -15
- package/lib-commonjs/themeToTokensObject.js.map +1 -1
- package/lib-commonjs/themes/index.js +6 -5
- package/lib-commonjs/themes/index.js.map +1 -1
- package/lib-commonjs/themes/teams/darkTheme.js +9 -6
- package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.js +8 -5
- package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/index.js +7 -6
- package/lib-commonjs/themes/teams/index.js.map +1 -1
- package/lib-commonjs/themes/teams/lightTheme.js +9 -6
- package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
- package/lib-commonjs/themes/web/darkTheme.js +9 -6
- package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/web/index.js +6 -5
- package/lib-commonjs/themes/web/index.js.map +1 -1
- package/lib-commonjs/themes/web/lightTheme.js +9 -6
- package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
- package/lib-commonjs/tokens.js +443 -440
- package/lib-commonjs/tokens.js.map +1 -1
- package/lib-commonjs/types.js +3 -2
- package/lib-commonjs/types.js.map +1 -1
- package/lib-commonjs/utils/createDarkTheme.js +32 -30
- package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
- package/lib-commonjs/utils/createHighContrastTheme.js +32 -30
- package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
- package/lib-commonjs/utils/createLightTheme.js +32 -30
- package/lib-commonjs/utils/createLightTheme.js.map +1 -1
- package/lib-commonjs/utils/createTeamsDarkTheme.js +32 -30
- package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
- package/lib-commonjs/utils/index.js +8 -7
- package/lib-commonjs/utils/index.js.map +1 -1
- package/lib-commonjs/utils/shadows.js +16 -14
- package/lib-commonjs/utils/shadows.js.map +1 -1
- package/package.json +3 -3
package/lib/themes/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./teams/index";
|
|
2
|
+
export * from "./web/index";
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/lib/themes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":[],"sources":["../../src/themes/index.ts"],"sourcesContent":["export * from './teams/index';\nexport * from './web/index';\n"],"mappings":"AAAA,cAAc;AACd,cAAc"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createTeamsDarkTheme } from
|
|
2
|
-
import { brandTeams } from
|
|
1
|
+
import { createTeamsDarkTheme } from "../../utils/createTeamsDarkTheme";
|
|
2
|
+
import { brandTeams } from "../../global/brandColors";
|
|
3
3
|
export const teamsDarkTheme = /*#__PURE__*/createTeamsDarkTheme(brandTeams);
|
|
4
4
|
//# sourceMappingURL=darkTheme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createTeamsDarkTheme","brandTeams","teamsDarkTheme"],"sources":["
|
|
1
|
+
{"version":3,"names":["createTeamsDarkTheme","brandTeams","teamsDarkTheme"],"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"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ;AACrC,SAASC,UAAU,QAAQ;AAG3B,OAAO,MAAMC,cAAA,gBAAwBF,oBAAA,CAAqBC,UAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { createHighContrastTheme } from
|
|
1
|
+
import { createHighContrastTheme } from "../../utils/createHighContrastTheme";
|
|
2
2
|
export const teamsHighContrastTheme = /*#__PURE__*/createHighContrastTheme();
|
|
3
3
|
//# sourceMappingURL=highContrastTheme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createHighContrastTheme","teamsHighContrastTheme"],"sources":["
|
|
1
|
+
{"version":3,"names":["createHighContrastTheme","teamsHighContrastTheme"],"sources":["../../../src/themes/teams/highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ;AAGxC,OAAO,MAAMC,sBAAA,gBAAgCD,uBAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from "./lightTheme";
|
|
2
|
+
export * from "./darkTheme";
|
|
3
|
+
export * from "./highContrastTheme";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/themes/teams/index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLightTheme } from
|
|
2
|
-
import { brandTeams } from
|
|
1
|
+
import { createLightTheme } from "../../utils/createLightTheme";
|
|
2
|
+
import { brandTeams } from "../../global/brandColors";
|
|
3
3
|
export const teamsLightTheme = /*#__PURE__*/createLightTheme(brandTeams);
|
|
4
4
|
//# sourceMappingURL=lightTheme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createLightTheme","brandTeams","teamsLightTheme"],"sources":["
|
|
1
|
+
{"version":3,"names":["createLightTheme","brandTeams","teamsLightTheme"],"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"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ;AACjC,SAASC,UAAU,QAAQ;AAG3B,OAAO,MAAMC,eAAA,gBAAyBF,gBAAA,CAAiBC,UAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createDarkTheme } from
|
|
2
|
-
import { brandWeb } from
|
|
1
|
+
import { createDarkTheme } from "../../utils/createDarkTheme";
|
|
2
|
+
import { brandWeb } from "../../global/brandColors";
|
|
3
3
|
export const webDarkTheme = /*#__PURE__*/createDarkTheme(brandWeb);
|
|
4
4
|
//# sourceMappingURL=darkTheme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createDarkTheme","brandWeb","webDarkTheme"],"sources":["
|
|
1
|
+
{"version":3,"names":["createDarkTheme","brandWeb","webDarkTheme"],"sources":["../../../src/themes/web/darkTheme.ts"],"sourcesContent":["import { createDarkTheme } from '../../utils/createDarkTheme';\nimport { brandWeb } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const webDarkTheme: Theme = createDarkTheme(brandWeb);\n"],"mappings":"AAAA,SAASA,eAAe,QAAQ;AAChC,SAASC,QAAQ,QAAQ;AAGzB,OAAO,MAAMC,YAAA,gBAAsBF,eAAA,CAAgBC,QAAA"}
|
package/lib/themes/web/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./lightTheme";
|
|
2
|
+
export * from "./darkTheme";
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":[],"sources":["../../../src/themes/web/index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"],"mappings":"AAAA,cAAc;AACd,cAAc"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createLightTheme } from
|
|
2
|
-
import { brandWeb } from
|
|
1
|
+
import { createLightTheme } from "../../utils/createLightTheme";
|
|
2
|
+
import { brandWeb } from "../../global/brandColors";
|
|
3
3
|
export const webLightTheme = /*#__PURE__*/createLightTheme(brandWeb);
|
|
4
4
|
//# sourceMappingURL=lightTheme.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createLightTheme","brandWeb","webLightTheme"],"sources":["
|
|
1
|
+
{"version":3,"names":["createLightTheme","brandWeb","webLightTheme"],"sources":["../../../src/themes/web/lightTheme.ts"],"sourcesContent":["import { createLightTheme } from '../../utils/createLightTheme';\nimport { brandWeb } from '../../global/brandColors';\nimport type { Theme } from '../../types';\n\nexport const webLightTheme: Theme = createLightTheme(brandWeb);\n"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ;AACjC,SAASC,QAAQ,QAAQ;AAGzB,OAAO,MAAMC,aAAA,gBAAuBF,gBAAA,CAAiBC,QAAA"}
|