@fluentui/tokens 0.0.0-nightly-20230317-1454.1 → 0.0.0-nightly-20230321-0440.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 +3 -3
- package/CHANGELOG.md +4 -4
- package/lib/alias/darkColor.js +21 -19
- package/lib/alias/darkColor.js.map +1 -1
- package/lib/alias/darkColorPalette.js +3 -2
- package/lib/alias/darkColorPalette.js.map +1 -1
- package/lib/alias/highContrastColor.js +14 -12
- 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 +21 -19
- 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 +21 -19
- 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 +701 -699
- 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 +4 -3
- package/lib/sharedColorNames.js.map +1 -1
- package/lib/themeToTokensObject.js +2 -1
- 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 +159 -158
- package/lib-commonjs/alias/darkColor.js.map +1 -1
- package/lib-commonjs/alias/darkColorPalette.js +44 -46
- package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
- package/lib-commonjs/alias/highContrastColor.js +159 -158
- package/lib-commonjs/alias/highContrastColor.js.map +1 -1
- package/lib-commonjs/alias/highContrastColorPalette.js +34 -37
- package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
- package/lib-commonjs/alias/lightColor.js +159 -158
- package/lib-commonjs/alias/lightColor.js.map +1 -1
- package/lib-commonjs/alias/lightColorPalette.js +35 -38
- package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
- package/lib-commonjs/alias/teamsDarkColor.js +159 -158
- package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
- package/lib-commonjs/global/borderRadius.js +11 -14
- package/lib-commonjs/global/borderRadius.js.map +1 -1
- package/lib-commonjs/global/brandColors.js +55 -65
- package/lib-commonjs/global/brandColors.js.map +1 -1
- package/lib-commonjs/global/colorPalette.js +42 -51
- package/lib-commonjs/global/colorPalette.js.map +1 -1
- package/lib-commonjs/global/colors.js +814 -883
- package/lib-commonjs/global/colors.js.map +1 -1
- package/lib-commonjs/global/curves.js +14 -17
- package/lib-commonjs/global/curves.js.map +1 -1
- package/lib-commonjs/global/durations.js +12 -15
- package/lib-commonjs/global/durations.js.map +1 -1
- package/lib-commonjs/global/fonts.js +39 -48
- 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 +40 -49
- package/lib-commonjs/global/spacings.js.map +1 -1
- package/lib-commonjs/global/strokeWidths.js +9 -12
- 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 +81 -29
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/sharedColorNames.js +10 -69
- package/lib-commonjs/sharedColorNames.js.map +1 -1
- package/lib-commonjs/themeToTokensObject.js +15 -16
- package/lib-commonjs/themeToTokensObject.js.map +1 -1
- package/lib-commonjs/themes/index.js +5 -6
- package/lib-commonjs/themes/index.js.map +1 -1
- package/lib-commonjs/themes/teams/darkTheme.js +6 -9
- package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/highContrastTheme.js +5 -8
- package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
- package/lib-commonjs/themes/teams/index.js +6 -7
- package/lib-commonjs/themes/teams/index.js.map +1 -1
- package/lib-commonjs/themes/teams/lightTheme.js +6 -9
- package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
- package/lib-commonjs/themes/web/darkTheme.js +6 -9
- package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
- package/lib-commonjs/themes/web/index.js +5 -6
- package/lib-commonjs/themes/web/index.js.map +1 -1
- package/lib-commonjs/themes/web/lightTheme.js +6 -9
- package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
- package/lib-commonjs/tokens.js +440 -443
- package/lib-commonjs/tokens.js.map +1 -1
- package/lib-commonjs/types.js +2 -3
- package/lib-commonjs/types.js.map +1 -1
- package/lib-commonjs/utils/createDarkTheme.js +30 -32
- package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
- package/lib-commonjs/utils/createHighContrastTheme.js +30 -32
- package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
- package/lib-commonjs/utils/createLightTheme.js +30 -32
- package/lib-commonjs/utils/createLightTheme.js.map +1 -1
- package/lib-commonjs/utils/createTeamsDarkTheme.js +30 -32
- package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
- package/lib-commonjs/utils/index.js +7 -8
- package/lib-commonjs/utils/index.js.map +1 -1
- package/lib-commonjs/utils/shadows.js +14 -16
- package/lib-commonjs/utils/shadows.js.map +1 -1
- package/package.json +4 -3
- package/.swcrc +0 -39
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,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/tokens/src/themes/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC","sourcesContent":["export * from './teams/index';\nexport * from './web/index';\n"]}
|
|
@@ -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":["../../../../../../../../packages/tokens/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,kCAAkC;AACvE,SAASC,UAAU,QAAQ,0BAA0B;AAGrD,OAAO,MAAMC,cAAc,gBAAUF,oBAAoB,CAACC,UAAU,CAAC"}
|
|
@@ -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":["../../../../../../../../packages/tokens/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,qCAAqC;AAG7E,OAAO,MAAMC,sBAAsB,gBAAUD,uBAAuB,EAAE"}
|
|
@@ -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,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/tokens/src/themes/teams/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC","sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n"]}
|
|
@@ -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":["../../../../../../../../packages/tokens/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,8BAA8B;AAC/D,SAASC,UAAU,QAAQ,0BAA0B;AAGrD,OAAO,MAAMC,eAAe,gBAAUF,gBAAgB,CAACC,UAAU,CAAC"}
|
|
@@ -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":["../../../../../../../../packages/tokens/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,6BAA6B;AAC7D,SAASC,QAAQ,QAAQ,0BAA0B;AAGnD,OAAO,MAAMC,YAAY,gBAAUF,eAAe,CAACC,QAAQ,CAAC"}
|
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,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/tokens/src/themes/web/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC","sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"]}
|
|
@@ -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":["../../../../../../../../packages/tokens/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,8BAA8B;AAC/D,SAASC,QAAQ,QAAQ,0BAA0B;AAGnD,OAAO,MAAMC,aAAa,gBAAUF,gBAAgB,CAACC,QAAQ,CAAC"}
|