@fluentui/tokens 1.0.0-alpha.4 → 1.0.0-alpha.6

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.
Files changed (153) hide show
  1. package/CHANGELOG.json +75 -1
  2. package/CHANGELOG.md +21 -2
  3. package/dist/index.d.ts +7 -0
  4. package/lib/alias/darkColor.js +160 -154
  5. package/lib/alias/darkColor.js.map +1 -1
  6. package/lib/alias/darkColorPalette.js +25 -26
  7. package/lib/alias/darkColorPalette.js.map +1 -1
  8. package/lib/alias/highContrastColor.js +160 -154
  9. package/lib/alias/highContrastColor.js.map +1 -1
  10. package/lib/alias/highContrastColorPalette.js +24 -25
  11. package/lib/alias/highContrastColorPalette.js.map +1 -1
  12. package/lib/alias/lightColor.js +160 -154
  13. package/lib/alias/lightColor.js.map +1 -1
  14. package/lib/alias/lightColorPalette.js +24 -25
  15. package/lib/alias/lightColorPalette.js.map +1 -1
  16. package/lib/alias/teamsDarkColor.js +160 -154
  17. package/lib/alias/teamsDarkColor.js.map +1 -1
  18. package/lib/global/borderRadius.js +6 -7
  19. package/lib/global/borderRadius.js.map +1 -1
  20. package/lib/global/brandColors.js +48 -49
  21. package/lib/global/brandColors.js.map +1 -1
  22. package/lib/global/colorPalette.js +35 -36
  23. package/lib/global/colorPalette.js.map +1 -1
  24. package/lib/global/colors.js +689 -690
  25. package/lib/global/colors.js.map +1 -1
  26. package/lib/global/curves.js +9 -10
  27. package/lib/global/curves.js.map +1 -1
  28. package/lib/global/durations.js +7 -8
  29. package/lib/global/durations.js.map +1 -1
  30. package/lib/global/fonts.js +29 -32
  31. package/lib/global/fonts.js.map +1 -1
  32. package/lib/global/index.js +0 -1
  33. package/lib/global/index.js.map +1 -1
  34. package/lib/global/spacings.js +33 -34
  35. package/lib/global/spacings.js.map +1 -1
  36. package/lib/global/strokeWidths.js +4 -5
  37. package/lib/global/strokeWidths.js.map +1 -1
  38. package/lib/global/typographyStyles.js +103 -105
  39. package/lib/global/typographyStyles.js.map +1 -1
  40. package/lib/index.js +0 -1
  41. package/lib/index.js.map +1 -1
  42. package/lib/sharedColorNames.js +55 -6
  43. package/lib/sharedColorNames.js.map +1 -1
  44. package/lib/themeToTokensObject.js +7 -8
  45. package/lib/themeToTokensObject.js.map +1 -1
  46. package/lib/themes/index.js +0 -1
  47. package/lib/themes/index.js.map +1 -1
  48. package/lib/themes/teams/darkTheme.js +1 -2
  49. package/lib/themes/teams/darkTheme.js.map +1 -1
  50. package/lib/themes/teams/highContrastTheme.js +1 -2
  51. package/lib/themes/teams/highContrastTheme.js.map +1 -1
  52. package/lib/themes/teams/index.js +0 -1
  53. package/lib/themes/teams/index.js.map +1 -1
  54. package/lib/themes/teams/lightTheme.js +1 -2
  55. package/lib/themes/teams/lightTheme.js.map +1 -1
  56. package/lib/themes/web/darkTheme.js +1 -2
  57. package/lib/themes/web/darkTheme.js.map +1 -1
  58. package/lib/themes/web/index.js +0 -1
  59. package/lib/themes/web/index.js.map +1 -1
  60. package/lib/themes/web/lightTheme.js +1 -2
  61. package/lib/themes/web/lightTheme.js.map +1 -1
  62. package/lib/tokens.js +442 -436
  63. package/lib/tokens.js.map +1 -1
  64. package/lib/types.js +1 -2
  65. package/lib/types.js.map +1 -1
  66. package/lib/utils/createDarkTheme.js +18 -19
  67. package/lib/utils/createDarkTheme.js.map +1 -1
  68. package/lib/utils/createHighContrastTheme.js +18 -19
  69. package/lib/utils/createHighContrastTheme.js.map +1 -1
  70. package/lib/utils/createLightTheme.js +18 -19
  71. package/lib/utils/createLightTheme.js.map +1 -1
  72. package/lib/utils/createTeamsDarkTheme.js +18 -19
  73. package/lib/utils/createTeamsDarkTheme.js.map +1 -1
  74. package/lib/utils/index.js +0 -1
  75. package/lib/utils/index.js.map +1 -1
  76. package/lib/utils/shadows.js +8 -9
  77. package/lib/utils/shadows.js.map +1 -1
  78. package/lib-commonjs/alias/darkColor.js +9 -4
  79. package/lib-commonjs/alias/darkColor.js.map +1 -1
  80. package/lib-commonjs/alias/darkColorPalette.js +3 -5
  81. package/lib-commonjs/alias/darkColorPalette.js.map +1 -1
  82. package/lib-commonjs/alias/highContrastColor.js +10 -5
  83. package/lib-commonjs/alias/highContrastColor.js.map +1 -1
  84. package/lib-commonjs/alias/highContrastColorPalette.js +3 -5
  85. package/lib-commonjs/alias/highContrastColorPalette.js.map +1 -1
  86. package/lib-commonjs/alias/lightColor.js +8 -3
  87. package/lib-commonjs/alias/lightColor.js.map +1 -1
  88. package/lib-commonjs/alias/lightColorPalette.js +3 -5
  89. package/lib-commonjs/alias/lightColorPalette.js.map +1 -1
  90. package/lib-commonjs/alias/teamsDarkColor.js +9 -4
  91. package/lib-commonjs/alias/teamsDarkColor.js.map +1 -1
  92. package/lib-commonjs/global/borderRadius.js +1 -3
  93. package/lib-commonjs/global/borderRadius.js.map +1 -1
  94. package/lib-commonjs/global/brandColors.js +1 -3
  95. package/lib-commonjs/global/brandColors.js.map +1 -1
  96. package/lib-commonjs/global/colorPalette.js +1 -3
  97. package/lib-commonjs/global/colorPalette.js.map +1 -1
  98. package/lib-commonjs/global/colors.js +1 -3
  99. package/lib-commonjs/global/colors.js.map +1 -1
  100. package/lib-commonjs/global/curves.js +1 -3
  101. package/lib-commonjs/global/curves.js.map +1 -1
  102. package/lib-commonjs/global/durations.js +1 -3
  103. package/lib-commonjs/global/durations.js.map +1 -1
  104. package/lib-commonjs/global/fonts.js +3 -7
  105. package/lib-commonjs/global/fonts.js.map +1 -1
  106. package/lib-commonjs/global/index.js +0 -3
  107. package/lib-commonjs/global/index.js.map +1 -1
  108. package/lib-commonjs/global/spacings.js +1 -3
  109. package/lib-commonjs/global/spacings.js.map +1 -1
  110. package/lib-commonjs/global/strokeWidths.js +1 -3
  111. package/lib-commonjs/global/strokeWidths.js.map +1 -1
  112. package/lib-commonjs/global/typographyStyles.js +1 -3
  113. package/lib-commonjs/global/typographyStyles.js.map +1 -1
  114. package/lib-commonjs/index.js +0 -3
  115. package/lib-commonjs/index.js.map +1 -1
  116. package/lib-commonjs/sharedColorNames.js +1 -3
  117. package/lib-commonjs/sharedColorNames.js.map +1 -1
  118. package/lib-commonjs/themeToTokensObject.js +2 -4
  119. package/lib-commonjs/themeToTokensObject.js.map +1 -1
  120. package/lib-commonjs/themes/index.js +0 -3
  121. package/lib-commonjs/themes/index.js.map +1 -1
  122. package/lib-commonjs/themes/teams/darkTheme.js +1 -3
  123. package/lib-commonjs/themes/teams/darkTheme.js.map +1 -1
  124. package/lib-commonjs/themes/teams/highContrastTheme.js +1 -3
  125. package/lib-commonjs/themes/teams/highContrastTheme.js.map +1 -1
  126. package/lib-commonjs/themes/teams/index.js +0 -3
  127. package/lib-commonjs/themes/teams/index.js.map +1 -1
  128. package/lib-commonjs/themes/teams/lightTheme.js +1 -3
  129. package/lib-commonjs/themes/teams/lightTheme.js.map +1 -1
  130. package/lib-commonjs/themes/web/darkTheme.js +1 -3
  131. package/lib-commonjs/themes/web/darkTheme.js.map +1 -1
  132. package/lib-commonjs/themes/web/index.js +0 -3
  133. package/lib-commonjs/themes/web/index.js.map +1 -1
  134. package/lib-commonjs/themes/web/lightTheme.js +1 -3
  135. package/lib-commonjs/themes/web/lightTheme.js.map +1 -1
  136. package/lib-commonjs/tokens.js +8 -3
  137. package/lib-commonjs/tokens.js.map +1 -1
  138. package/lib-commonjs/types.js +0 -3
  139. package/lib-commonjs/types.js.map +1 -1
  140. package/lib-commonjs/utils/createDarkTheme.js +1 -3
  141. package/lib-commonjs/utils/createDarkTheme.js.map +1 -1
  142. package/lib-commonjs/utils/createHighContrastTheme.js +1 -3
  143. package/lib-commonjs/utils/createHighContrastTheme.js.map +1 -1
  144. package/lib-commonjs/utils/createLightTheme.js +1 -3
  145. package/lib-commonjs/utils/createLightTheme.js.map +1 -1
  146. package/lib-commonjs/utils/createTeamsDarkTheme.js +1 -3
  147. package/lib-commonjs/utils/createTeamsDarkTheme.js.map +1 -1
  148. package/lib-commonjs/utils/index.js +0 -3
  149. package/lib-commonjs/utils/index.js.map +1 -1
  150. package/lib-commonjs/utils/shadows.js +1 -3
  151. package/lib-commonjs/utils/shadows.js.map +1 -1
  152. package/package.json +1 -1
  153. package/.swcrc +0 -30
@@ -1,109 +1,107 @@
1
1
  import { tokens } from '../tokens';
2
2
  /**
3
3
  * Global typography styles (fontSize, fontWeight, and lineHeight)
4
- */
5
- export const typographyStyles = {
6
- body1: {
7
- fontFamily: tokens.fontFamilyBase,
8
- fontSize: tokens.fontSizeBase300,
9
- fontWeight: tokens.fontWeightRegular,
10
- lineHeight: tokens.lineHeightBase300
11
- },
12
- body1Strong: {
13
- fontFamily: tokens.fontFamilyBase,
14
- fontSize: tokens.fontSizeBase300,
15
- fontWeight: tokens.fontWeightSemibold,
16
- lineHeight: tokens.lineHeightBase300
17
- },
18
- body1Stronger: {
19
- fontFamily: tokens.fontFamilyBase,
20
- fontSize: tokens.fontSizeBase300,
21
- fontWeight: tokens.fontWeightBold,
22
- lineHeight: tokens.lineHeightBase300
23
- },
24
- body2: {
25
- fontFamily: tokens.fontFamilyBase,
26
- fontSize: tokens.fontSizeBase400,
27
- fontWeight: tokens.fontWeightRegular,
28
- lineHeight: tokens.lineHeightBase400
29
- },
30
- caption1: {
31
- fontFamily: tokens.fontFamilyBase,
32
- fontSize: tokens.fontSizeBase200,
33
- fontWeight: tokens.fontWeightRegular,
34
- lineHeight: tokens.lineHeightBase200
35
- },
36
- caption1Strong: {
37
- fontFamily: tokens.fontFamilyBase,
38
- fontSize: tokens.fontSizeBase200,
39
- fontWeight: tokens.fontWeightSemibold,
40
- lineHeight: tokens.lineHeightBase200
41
- },
42
- caption1Stronger: {
43
- fontFamily: tokens.fontFamilyBase,
44
- fontSize: tokens.fontSizeBase200,
45
- fontWeight: tokens.fontWeightBold,
46
- lineHeight: tokens.lineHeightBase200
47
- },
48
- caption2: {
49
- fontFamily: tokens.fontFamilyBase,
50
- fontSize: tokens.fontSizeBase100,
51
- fontWeight: tokens.fontWeightRegular,
52
- lineHeight: tokens.lineHeightBase100
53
- },
54
- caption2Strong: {
55
- fontFamily: tokens.fontFamilyBase,
56
- fontSize: tokens.fontSizeBase100,
57
- fontWeight: tokens.fontWeightSemibold,
58
- lineHeight: tokens.lineHeightBase100
59
- },
60
- subtitle1: {
61
- fontFamily: tokens.fontFamilyBase,
62
- fontSize: tokens.fontSizeBase500,
63
- fontWeight: tokens.fontWeightSemibold,
64
- lineHeight: tokens.lineHeightBase500
65
- },
66
- subtitle2: {
67
- fontFamily: tokens.fontFamilyBase,
68
- fontSize: tokens.fontSizeBase400,
69
- fontWeight: tokens.fontWeightSemibold,
70
- lineHeight: tokens.lineHeightBase400
71
- },
72
- subtitle2Stronger: {
73
- fontFamily: tokens.fontFamilyBase,
74
- fontSize: tokens.fontSizeBase400,
75
- fontWeight: tokens.fontWeightBold,
76
- lineHeight: tokens.lineHeightBase400
77
- },
78
- title1: {
79
- fontFamily: tokens.fontFamilyBase,
80
- fontSize: tokens.fontSizeHero800,
81
- fontWeight: tokens.fontWeightSemibold,
82
- lineHeight: tokens.lineHeightHero800
83
- },
84
- title2: {
85
- fontFamily: tokens.fontFamilyBase,
86
- fontSize: tokens.fontSizeHero700,
87
- fontWeight: tokens.fontWeightSemibold,
88
- lineHeight: tokens.lineHeightHero700
89
- },
90
- title3: {
91
- fontFamily: tokens.fontFamilyBase,
92
- fontSize: tokens.fontSizeBase600,
93
- fontWeight: tokens.fontWeightSemibold,
94
- lineHeight: tokens.lineHeightBase600
95
- },
96
- largeTitle: {
97
- fontFamily: tokens.fontFamilyBase,
98
- fontSize: tokens.fontSizeHero900,
99
- fontWeight: tokens.fontWeightSemibold,
100
- lineHeight: tokens.lineHeightHero900
101
- },
102
- display: {
103
- fontFamily: tokens.fontFamilyBase,
104
- fontSize: tokens.fontSizeHero1000,
105
- fontWeight: tokens.fontWeightSemibold,
106
- lineHeight: tokens.lineHeightHero1000
107
- }
4
+ */ export const typographyStyles = {
5
+ body1: {
6
+ fontFamily: tokens.fontFamilyBase,
7
+ fontSize: tokens.fontSizeBase300,
8
+ fontWeight: tokens.fontWeightRegular,
9
+ lineHeight: tokens.lineHeightBase300
10
+ },
11
+ body1Strong: {
12
+ fontFamily: tokens.fontFamilyBase,
13
+ fontSize: tokens.fontSizeBase300,
14
+ fontWeight: tokens.fontWeightSemibold,
15
+ lineHeight: tokens.lineHeightBase300
16
+ },
17
+ body1Stronger: {
18
+ fontFamily: tokens.fontFamilyBase,
19
+ fontSize: tokens.fontSizeBase300,
20
+ fontWeight: tokens.fontWeightBold,
21
+ lineHeight: tokens.lineHeightBase300
22
+ },
23
+ body2: {
24
+ fontFamily: tokens.fontFamilyBase,
25
+ fontSize: tokens.fontSizeBase400,
26
+ fontWeight: tokens.fontWeightRegular,
27
+ lineHeight: tokens.lineHeightBase400
28
+ },
29
+ caption1: {
30
+ fontFamily: tokens.fontFamilyBase,
31
+ fontSize: tokens.fontSizeBase200,
32
+ fontWeight: tokens.fontWeightRegular,
33
+ lineHeight: tokens.lineHeightBase200
34
+ },
35
+ caption1Strong: {
36
+ fontFamily: tokens.fontFamilyBase,
37
+ fontSize: tokens.fontSizeBase200,
38
+ fontWeight: tokens.fontWeightSemibold,
39
+ lineHeight: tokens.lineHeightBase200
40
+ },
41
+ caption1Stronger: {
42
+ fontFamily: tokens.fontFamilyBase,
43
+ fontSize: tokens.fontSizeBase200,
44
+ fontWeight: tokens.fontWeightBold,
45
+ lineHeight: tokens.lineHeightBase200
46
+ },
47
+ caption2: {
48
+ fontFamily: tokens.fontFamilyBase,
49
+ fontSize: tokens.fontSizeBase100,
50
+ fontWeight: tokens.fontWeightRegular,
51
+ lineHeight: tokens.lineHeightBase100
52
+ },
53
+ caption2Strong: {
54
+ fontFamily: tokens.fontFamilyBase,
55
+ fontSize: tokens.fontSizeBase100,
56
+ fontWeight: tokens.fontWeightSemibold,
57
+ lineHeight: tokens.lineHeightBase100
58
+ },
59
+ subtitle1: {
60
+ fontFamily: tokens.fontFamilyBase,
61
+ fontSize: tokens.fontSizeBase500,
62
+ fontWeight: tokens.fontWeightSemibold,
63
+ lineHeight: tokens.lineHeightBase500
64
+ },
65
+ subtitle2: {
66
+ fontFamily: tokens.fontFamilyBase,
67
+ fontSize: tokens.fontSizeBase400,
68
+ fontWeight: tokens.fontWeightSemibold,
69
+ lineHeight: tokens.lineHeightBase400
70
+ },
71
+ subtitle2Stronger: {
72
+ fontFamily: tokens.fontFamilyBase,
73
+ fontSize: tokens.fontSizeBase400,
74
+ fontWeight: tokens.fontWeightBold,
75
+ lineHeight: tokens.lineHeightBase400
76
+ },
77
+ title1: {
78
+ fontFamily: tokens.fontFamilyBase,
79
+ fontSize: tokens.fontSizeHero800,
80
+ fontWeight: tokens.fontWeightSemibold,
81
+ lineHeight: tokens.lineHeightHero800
82
+ },
83
+ title2: {
84
+ fontFamily: tokens.fontFamilyBase,
85
+ fontSize: tokens.fontSizeHero700,
86
+ fontWeight: tokens.fontWeightSemibold,
87
+ lineHeight: tokens.lineHeightHero700
88
+ },
89
+ title3: {
90
+ fontFamily: tokens.fontFamilyBase,
91
+ fontSize: tokens.fontSizeBase600,
92
+ fontWeight: tokens.fontWeightSemibold,
93
+ lineHeight: tokens.lineHeightBase600
94
+ },
95
+ largeTitle: {
96
+ fontFamily: tokens.fontFamilyBase,
97
+ fontSize: tokens.fontSizeHero900,
98
+ fontWeight: tokens.fontWeightSemibold,
99
+ lineHeight: tokens.lineHeightHero900
100
+ },
101
+ display: {
102
+ fontFamily: tokens.fontFamilyBase,
103
+ fontSize: tokens.fontSizeHero1000,
104
+ fontWeight: tokens.fontWeightSemibold,
105
+ lineHeight: tokens.lineHeightHero1000
106
+ }
108
107
  };
109
- //# sourceMappingURL=typographyStyles.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["tokens","typographyStyles","body1","fontFamily","fontFamilyBase","fontSize","fontSizeBase300","fontWeight","fontWeightRegular","lineHeight","lineHeightBase300","body1Strong","fontWeightSemibold","body1Stronger","fontWeightBold","body2","fontSizeBase400","lineHeightBase400","caption1","fontSizeBase200","lineHeightBase200","caption1Strong","caption1Stronger","caption2","fontSizeBase100","lineHeightBase100","caption2Strong","subtitle1","fontSizeBase500","lineHeightBase500","subtitle2","subtitle2Stronger","title1","fontSizeHero800","lineHeightHero800","title2","fontSizeHero700","lineHeightHero700","title3","fontSizeBase600","lineHeightBase600","largeTitle","fontSizeHero900","lineHeightHero900","display","fontSizeHero1000","lineHeightHero1000"],"sources":["../../src/global/typographyStyles.ts"],"sourcesContent":["import { tokens } from '../tokens';\nimport { TypographyStyles } from '../types';\n\n/**\n * Global typography styles (fontSize, fontWeight, and lineHeight)\n */\nexport const typographyStyles: TypographyStyles = {\n body1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase300,\n },\n body1Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase300,\n },\n body1Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase300,\n },\n body2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase400,\n },\n caption1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase200,\n },\n caption1Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase200,\n },\n caption1Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase200,\n },\n caption2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase100,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase100,\n },\n caption2Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase100,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase100,\n },\n subtitle1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase500,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase500,\n },\n subtitle2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase400,\n },\n subtitle2Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase400,\n },\n title1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero800,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero800,\n },\n title2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero700,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero700,\n },\n title3: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase600,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase600,\n },\n largeTitle: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero900,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero900,\n },\n display: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero1000,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero1000,\n },\n};\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ;AAGvB;;;AAGA,OAAO,MAAMC,gBAAA,GAAqC;EAChDC,KAAA,EAAO;IACLC,UAAA,EAAYH,MAAA,CAAOI,cAAc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AA,EAAYT,MAAA,CAAOqC;EACrB;EACAC,MAAA,EAAQ;IACNnC,UAAA,EAAYH,MAAA,CAAOI,cAAc;IACjCC,QAAA,EAAUL,MAAA,CAAOuC,eAAe;IAChChC,UAAA,EAAYP,MAAA,CAAOY,kBAAkB;IACrCH,UAAA,EAAYT,MAAA,CAAOwC;EACrB;EACAC,UAAA,EAAY;IACVtC,UAAA,EAAYH,MAAA,CAAOI,cAAc;IACjCC,QAAA,EAAUL,MAAA,CAAO0C,eAAe;IAChCnC,UAAA,EAAYP,MAAA,CAAOY,kBAAkB;IACrCH,UAAA,EAAYT,MAAA,CAAO2C;EACrB;EACAC,OAAA,EAAS;IACPzC,UAAA,EAAYH,MAAA,CAAOI,cAAc;IACjCC,QAAA,EAAUL,MAAA,CAAO6C,gBAAgB;IACjCtC,UAAA,EAAYP,MAAA,CAAOY,kBAAkB;IACrCH,UAAA,EAAYT,MAAA,CAAO8C;EACrB;AACF"}
1
+ {"version":3,"sources":["typographyStyles.ts"],"sourcesContent":["import { tokens } from '../tokens';\nimport { TypographyStyles } from '../types';\n\n/**\n * Global typography styles (fontSize, fontWeight, and lineHeight)\n */\nexport const typographyStyles: TypographyStyles = {\n body1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase300,\n },\n body1Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase300,\n },\n body1Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase300,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase300,\n },\n body2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase400,\n },\n caption1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase200,\n },\n caption1Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase200,\n },\n caption1Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase200,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase200,\n },\n caption2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase100,\n fontWeight: tokens.fontWeightRegular,\n lineHeight: tokens.lineHeightBase100,\n },\n caption2Strong: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase100,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase100,\n },\n subtitle1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase500,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase500,\n },\n subtitle2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase400,\n },\n subtitle2Stronger: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase400,\n fontWeight: tokens.fontWeightBold,\n lineHeight: tokens.lineHeightBase400,\n },\n title1: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero800,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero800,\n },\n title2: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero700,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero700,\n },\n title3: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeBase600,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightBase600,\n },\n largeTitle: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero900,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero900,\n },\n display: {\n fontFamily: tokens.fontFamilyBase,\n fontSize: tokens.fontSizeHero1000,\n fontWeight: tokens.fontWeightSemibold,\n lineHeight: tokens.lineHeightHero1000,\n },\n};\n"],"names":["tokens","typographyStyles","body1","fontFamily","fontFamilyBase","fontSize","fontSizeBase300","fontWeight","fontWeightRegular","lineHeight","lineHeightBase300","body1Strong","fontWeightSemibold","body1Stronger","fontWeightBold","body2","fontSizeBase400","lineHeightBase400","caption1","fontSizeBase200","lineHeightBase200","caption1Strong","caption1Stronger","caption2","fontSizeBase100","lineHeightBase100","caption2Strong","subtitle1","fontSizeBase500","lineHeightBase500","subtitle2","subtitle2Stronger","title1","fontSizeHero800","lineHeightHero800","title2","fontSizeHero700","lineHeightHero700","title3","fontSizeBase600","lineHeightBase600","largeTitle","fontSizeHero900","lineHeightHero900","display","fontSizeHero1000","lineHeightHero1000"],"mappings":"AAAA,SAASA,MAAM,QAAQ,YAAY;AAGnC;;CAEC,GACD,OAAO,MAAMC,mBAAqC;IAChDC,OAAO;QACLC,YAAYH,OAAOI,cAAc;QACjCC,UAAUL,OAAOM,eAAe;QAChCC,YAAYP,OAAOQ,iBAAiB;QACpCC,YAAYT,OAAOU,iBAAiB;IACtC;IACAC,aAAa;QACXR,YAAYH,OAAOI,cAAc;QACjCC,UAAUL,OAAOM,eAAe;QAChCC,YAAYP,OAAOY,kBAAkB;QACrCH,YAAYT,OAAOU,iBAAiB;IACtC;IACAG,eAAe;QACbV,YAAYH,OAAOI,cAAc;QACjCC,UAAUL,OAAOM,eAAe;QAChCC,YAAYP,OAAOc,cAAc;QACjCL,YAAYT,OAAOU,iBAAiB;IACtC;IACAK,OAAO;QACLZ,YAAYH,OAAOI,cAAc;QACjCC,UAAUL,OAAOgB,eAAe;QAChCT,YAAYP,OAAOQ,iBAAiB;QACpCC,YAAYT,OAAOi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YT,OAAOkC,iBAAiB;IACtC;IACAC,QAAQ;QACNhC,YAAYH,OAAOI,cAAc;QACjCC,UAAUL,OAAOoC,eAAe;QAChC7B,YAAYP,OAAOY,kBAAkB;QACrCH,YAAYT,OAAOqC,iBAAiB;IACtC;IACAC,QAAQ;QACNnC,YAAYH,OAAOI,cAAc;QACjCC,UAAUL,OAAOuC,eAAe;QAChChC,YAAYP,OAAOY,kBAAkB;QACrCH,YAAYT,OAAOwC,iBAAiB;IACtC;IACAC,YAAY;QACVtC,YAAYH,OAAOI,cAAc;QACjCC,UAAUL,OAAO0C,eAAe;QAChCnC,YAAYP,OAAOY,kBAAkB;QACrCH,YAAYT,OAAO2C,iBAAiB;IACtC;IACAC,SAAS;QACPzC,YAAYH,OAAOI,cAAc;QACjCC,UAAUL,OAAO6C,gBAAgB;QACjCtC,YAAYP,OAAOY,kBAAkB;QACrCH,YAAYT,OAAO8C,kBAAkB;IACvC;AACF,EAAE"}
package/lib/index.js CHANGED
@@ -3,4 +3,3 @@ export { createDarkTheme, createHighContrastTheme, createLightTheme, createTeams
3
3
  export { themeToTokensObject } from './themeToTokensObject';
4
4
  export { tokens } from './tokens';
5
5
  export { typographyStyles } from './global/index';
6
- //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme","createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","themeToTokensObject","tokens","typographyStyles"],"sources":["../src/index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes/index';\nexport { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils/index';\n\nexport { themeToTokensObject } from './themeToTokensObject';\nexport { tokens } from './tokens';\nexport { typographyStyles } from './global/index';\n\nexport type {\n Brands,\n BrandVariants,\n FontSizeTokens,\n FontWeightTokens,\n LineHeightTokens,\n BorderRadiusTokens,\n StrokeWidthTokens,\n SpacingTokens,\n HorizontalSpacingTokens,\n VerticalSpacingTokens,\n DurationTokens,\n CurveTokens,\n ShadowTokens,\n ShadowBrandTokens,\n FontFamilyTokens,\n ColorPaletteTokens,\n ColorPaletteDarkRed,\n ColorPaletteCranberry,\n ColorPaletteRed,\n ColorPaletteDarkOrange,\n ColorPalettePumpkin,\n ColorPalettePeach,\n ColorPaletteMarigold,\n ColorPaletteYellow,\n ColorPaletteGold,\n ColorPaletteBrass,\n ColorPaletteBrown,\n ColorPaletteForest,\n ColorPaletteSeafoam,\n ColorPaletteGreen,\n ColorPaletteLightGreen,\n ColorPaletteDarkGreen,\n ColorPaletteLightTeal,\n ColorPaletteTeal,\n ColorPaletteSteel,\n ColorPaletteBlue,\n ColorPaletteRoyalBlue,\n ColorPaletteCornflower,\n ColorPaletteNavy,\n ColorPaletteLavender,\n ColorPalettePurple,\n ColorPaletteGrape,\n ColorPaletteBerry,\n ColorPaletteLilac,\n ColorPalettePink,\n ColorPaletteMagenta,\n ColorPalettePlum,\n ColorPaletteBeige,\n ColorPaletteMink,\n ColorPalettePlatinum,\n ColorPaletteAnchor,\n ColorTokens,\n PartialTheme,\n Theme,\n TypographyStyle,\n TypographyStyles,\n} from './types';\n"],"mappings":"AAAA,SAASA,cAAc,EAAEC,sBAAsB,EAAEC,eAAe,EAAEC,YAAY,EAAEC,aAAa,QAAQ;AACrG,SAASC,eAAe,EAAEC,uBAAuB,EAAEC,gBAAgB,EAAEC,oBAAoB,QAAQ;AAEjG,SAASC,mBAAmB,QAAQ;AACpC,SAASC,MAAM,QAAQ;AACvB,SAASC,gBAAgB,QAAQ"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export { teamsDarkTheme, teamsHighContrastTheme, teamsLightTheme, webDarkTheme, webLightTheme } from './themes/index';\nexport { createDarkTheme, createHighContrastTheme, createLightTheme, createTeamsDarkTheme } from './utils/index';\n\nexport { themeToTokensObject } from './themeToTokensObject';\nexport { tokens } from './tokens';\nexport { typographyStyles } from './global/index';\n\nexport type {\n Brands,\n BrandVariants,\n FontSizeTokens,\n FontWeightTokens,\n LineHeightTokens,\n BorderRadiusTokens,\n StrokeWidthTokens,\n SpacingTokens,\n HorizontalSpacingTokens,\n VerticalSpacingTokens,\n DurationTokens,\n CurveTokens,\n ShadowTokens,\n ShadowBrandTokens,\n FontFamilyTokens,\n ColorPaletteTokens,\n ColorPaletteDarkRed,\n ColorPaletteCranberry,\n ColorPaletteRed,\n ColorPaletteDarkOrange,\n ColorPalettePumpkin,\n ColorPalettePeach,\n ColorPaletteMarigold,\n ColorPaletteYellow,\n ColorPaletteGold,\n ColorPaletteBrass,\n ColorPaletteBrown,\n ColorPaletteForest,\n ColorPaletteSeafoam,\n ColorPaletteGreen,\n ColorPaletteLightGreen,\n ColorPaletteDarkGreen,\n ColorPaletteLightTeal,\n ColorPaletteTeal,\n ColorPaletteSteel,\n ColorPaletteBlue,\n ColorPaletteRoyalBlue,\n ColorPaletteCornflower,\n ColorPaletteNavy,\n ColorPaletteLavender,\n ColorPalettePurple,\n ColorPaletteGrape,\n ColorPaletteBerry,\n ColorPaletteLilac,\n ColorPalettePink,\n ColorPaletteMagenta,\n ColorPalettePlum,\n ColorPaletteBeige,\n ColorPaletteMink,\n ColorPalettePlatinum,\n ColorPaletteAnchor,\n ColorTokens,\n PartialTheme,\n Theme,\n TypographyStyle,\n TypographyStyles,\n} from './types';\n"],"names":["teamsDarkTheme","teamsHighContrastTheme","teamsLightTheme","webDarkTheme","webLightTheme","createDarkTheme","createHighContrastTheme","createLightTheme","createTeamsDarkTheme","themeToTokensObject","tokens","typographyStyles"],"mappings":"AAAA,SAASA,cAAc,EAAEC,sBAAsB,EAAEC,eAAe,EAAEC,YAAY,EAAEC,aAAa,QAAQ,iBAAiB;AACtH,SAASC,eAAe,EAAEC,uBAAuB,EAAEC,gBAAgB,EAAEC,oBAAoB,QAAQ,gBAAgB;AAEjH,SAASC,mBAAmB,QAAQ,wBAAwB;AAC5D,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,gBAAgB,QAAQ,iBAAiB"}
@@ -1,6 +1,55 @@
1
- /* Names of colors used in shared color palette alias tokens for status. */export const statusSharedColorNames = ['red', 'green', 'darkOrange', 'yellow', 'berry', 'lightGreen', 'marigold'];
2
- /* Names of colors used in shared color palette alias tokens for persona. */
3
- export const personaSharedColorNames = ['darkRed', 'cranberry', 'pumpkin', 'peach', 'gold', 'brass', 'brown', 'forest', 'seafoam', 'darkGreen', 'lightTeal', 'teal', 'steel', 'blue', 'royalBlue', 'cornflower', 'navy', 'lavender', 'purple', 'grape', 'lilac', 'pink', 'magenta', 'plum', 'beige', 'mink', 'platinum', 'anchor'];
4
- /* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */
5
- export const unusedSharedColorNames = ['burgundy', 'bronze', 'orange', 'darkBrown', 'lime', 'darkTeal', 'cyan', 'lightBlue', 'darkBlue', 'darkPurple', 'orchid', 'hotPink', 'silver', 'charcoal'];
6
- //# sourceMappingURL=sharedColorNames.js.map
1
+ /* Names of colors used in shared color palette alias tokens for status. */ export const statusSharedColorNames = [
2
+ 'red',
3
+ 'green',
4
+ 'darkOrange',
5
+ 'yellow',
6
+ 'berry',
7
+ 'lightGreen',
8
+ 'marigold'
9
+ ];
10
+ /* Names of colors used in shared color palette alias tokens for persona. */ export const personaSharedColorNames = [
11
+ 'darkRed',
12
+ 'cranberry',
13
+ 'pumpkin',
14
+ 'peach',
15
+ 'gold',
16
+ 'brass',
17
+ 'brown',
18
+ 'forest',
19
+ 'seafoam',
20
+ 'darkGreen',
21
+ 'lightTeal',
22
+ 'teal',
23
+ 'steel',
24
+ 'blue',
25
+ 'royalBlue',
26
+ 'cornflower',
27
+ 'navy',
28
+ 'lavender',
29
+ 'purple',
30
+ 'grape',
31
+ 'lilac',
32
+ 'pink',
33
+ 'magenta',
34
+ 'plum',
35
+ 'beige',
36
+ 'mink',
37
+ 'platinum',
38
+ 'anchor'
39
+ ];
40
+ /* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */ export const unusedSharedColorNames = [
41
+ 'burgundy',
42
+ 'bronze',
43
+ 'orange',
44
+ 'darkBrown',
45
+ 'lime',
46
+ 'darkTeal',
47
+ 'cyan',
48
+ 'lightBlue',
49
+ 'darkBlue',
50
+ 'darkPurple',
51
+ 'orchid',
52
+ 'hotPink',
53
+ 'silver',
54
+ 'charcoal'
55
+ ];
@@ -1 +1 @@
1
- {"version":3,"names":["statusSharedColorNames","personaSharedColorNames","unusedSharedColorNames"],"sources":["../src/sharedColorNames.ts"],"sourcesContent":["/* Names of colors used in shared color palette alias tokens for status. */\nexport const statusSharedColorNames = [\n 'red',\n 'green',\n 'darkOrange',\n 'yellow',\n 'berry',\n 'lightGreen',\n 'marigold',\n] as const;\n\n/* Names of colors used in shared color palette alias tokens for persona. */\nexport const personaSharedColorNames = [\n 'darkRed',\n 'cranberry',\n 'pumpkin',\n 'peach',\n 'gold',\n 'brass',\n 'brown',\n 'forest',\n 'seafoam',\n 'darkGreen',\n 'lightTeal',\n 'teal',\n 'steel',\n 'blue',\n 'royalBlue',\n 'cornflower',\n 'navy',\n 'lavender',\n 'purple',\n 'grape',\n 'lilac',\n 'pink',\n 'magenta',\n 'plum',\n 'beige',\n 'mink',\n 'platinum',\n 'anchor',\n] as const;\n\n/* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */\nexport const unusedSharedColorNames = [\n 'burgundy',\n 'bronze',\n 'orange',\n 'darkBrown',\n 'lime',\n 'darkTeal',\n 'cyan',\n 'lightBlue',\n 'darkBlue',\n 'darkPurple',\n 'orchid',\n 'hotPink',\n 'silver',\n 'charcoal',\n] as const;\n"],"mappings":"AAAA,2EACA,OAAO,MAAMA,sBAAA,GAAyB,CACpC,OACA,SACA,cACA,UACA,SACA,cACA,WACD;AAED;AACA,OAAO,MAAMC,uBAAA,GAA0B,CACrC,WACA,aACA,WACA,SACA,QACA,SACA,SACA,UACA,WACA,aACA,aACA,QACA,SACA,QACA,aACA,cACA,QACA,YACA,UACA,SACA,SACA,QACA,WACA,QACA,SACA,QACA,YACA,SACD;AAED;AACA,OAAO,MAAMC,sBAAA,GAAyB,CACpC,YACA,UACA,UACA,aACA,QACA,YACA,QACA,aACA,YACA,cACA,UACA,WACA,UACA,WACD"}
1
+ {"version":3,"sources":["sharedColorNames.ts"],"sourcesContent":["/* Names of colors used in shared color palette alias tokens for status. */\nexport const statusSharedColorNames = [\n 'red',\n 'green',\n 'darkOrange',\n 'yellow',\n 'berry',\n 'lightGreen',\n 'marigold',\n] as const;\n\n/* Names of colors used in shared color palette alias tokens for persona. */\nexport const personaSharedColorNames = [\n 'darkRed',\n 'cranberry',\n 'pumpkin',\n 'peach',\n 'gold',\n 'brass',\n 'brown',\n 'forest',\n 'seafoam',\n 'darkGreen',\n 'lightTeal',\n 'teal',\n 'steel',\n 'blue',\n 'royalBlue',\n 'cornflower',\n 'navy',\n 'lavender',\n 'purple',\n 'grape',\n 'lilac',\n 'pink',\n 'magenta',\n 'plum',\n 'beige',\n 'mink',\n 'platinum',\n 'anchor',\n] as const;\n\n/* Names of colors not used in alias tokens but produced by token pipeline as global color tokens. */\nexport const unusedSharedColorNames = [\n 'burgundy',\n 'bronze',\n 'orange',\n 'darkBrown',\n 'lime',\n 'darkTeal',\n 'cyan',\n 'lightBlue',\n 'darkBlue',\n 'darkPurple',\n 'orchid',\n 'hotPink',\n 'silver',\n 'charcoal',\n] as const;\n"],"names":["statusSharedColorNames","personaSharedColorNames","unusedSharedColorNames"],"mappings":"AAAA,yEAAyE,GACzE,OAAO,MAAMA,yBAAyB;IACpC;IACA;IACA;IACA;IACA;IACA;IACA;CACD,CAAU;AAEX,0EAA0E,GAC1E,OAAO,MAAMC,0BAA0B;IACrC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,CAAU;AAEX,mGAAmG,GACnG,OAAO,MAAMC,yBAAyB;IACpC;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;CACD,CAAU"}
@@ -5,12 +5,11 @@
5
5
  *
6
6
  * @param theme - Theme from which to get the keys to generate the tokens to css variables mapping object
7
7
  * @returns Tokens to css variables mapping object corresponding to the passed theme
8
- */export function themeToTokensObject(theme) {
9
- const tokens = {};
10
- const keys = Object.keys(theme);
11
- for (const key of keys) {
12
- tokens[key] = `var(--${key})`;
13
- }
14
- return tokens;
8
+ */ export function themeToTokensObject(theme) {
9
+ const tokens = {};
10
+ const keys = Object.keys(theme);
11
+ for (const key of keys){
12
+ tokens[key] = `var(--${String(key)})`;
13
+ }
14
+ return tokens;
15
15
  }
16
- //# sourceMappingURL=themeToTokensObject.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["themeToTokensObject","theme","tokens","keys","Object","key"],"sources":["../src/themeToTokensObject.ts"],"sourcesContent":["import { Theme } from './types';\n\n/**\n * Programmatically generates a tokens to css variables mapping object from the keys in a theme.\n * This helps with ease of use as a user of a custom theme does not have to manually construct this object, but it could\n * affect tree-shaking since bundlers do not know the shape of the output.\n *\n * @param theme - Theme from which to get the keys to generate the tokens to css variables mapping object\n * @returns Tokens to css variables mapping object corresponding to the passed theme\n */\nexport function themeToTokensObject<TTheme extends Theme>(theme: TTheme): Record<keyof TTheme, string> {\n const tokens = {} as Record<keyof TTheme, string>;\n const keys = Object.keys(theme) as (keyof TTheme)[];\n for (const key of keys) {\n tokens[key] = `var(--${key})`;\n }\n return tokens;\n}\n"],"mappings":"AAEA;;;;;;;GAQA,OAAO,SAASA,oBAA0CC,KAAa,EAAgC;EACrG,MAAMC,MAAA,GAAS,CAAC;EAChB,MAAMC,IAAA,GAAOC,MAAA,CAAOD,IAAI,CAACF,KAAA;EACzB,KAAK,MAAMI,GAAA,IAAOF,IAAA,EAAM;IACtBD,MAAM,CAACG,GAAA,CAAI,GAAI,SAAQA,GAAI,GAAE;EAC/B;EACA,OAAOH,MAAA;AACT"}
1
+ {"version":3,"sources":["themeToTokensObject.ts"],"sourcesContent":["import { Theme } from './types';\n\n/**\n * Programmatically generates a tokens to css variables mapping object from the keys in a theme.\n * This helps with ease of use as a user of a custom theme does not have to manually construct this object, but it could\n * affect tree-shaking since bundlers do not know the shape of the output.\n *\n * @param theme - Theme from which to get the keys to generate the tokens to css variables mapping object\n * @returns Tokens to css variables mapping object corresponding to the passed theme\n */\nexport function themeToTokensObject<TTheme extends Theme>(theme: TTheme): Record<keyof TTheme, string> {\n const tokens = {} as Record<keyof TTheme, string>;\n const keys = Object.keys(theme) as (keyof TTheme)[];\n for (const key of keys) {\n tokens[key] = `var(--${String(key)})`;\n }\n return tokens;\n}\n"],"names":["themeToTokensObject","theme","tokens","keys","Object","key","String"],"mappings":"AAEA;;;;;;;CAOC,GACD,OAAO,SAASA,oBAA0CC,KAAa,EAAgC;IACrG,MAAMC,SAAS,CAAC;IAChB,MAAMC,OAAOC,OAAOD,IAAI,CAACF;IACzB,KAAK,MAAMI,OAAOF,KAAM;QACtBD,MAAM,CAACG,IAAI,GAAG,CAAC,MAAM,EAAEC,OAAOD,KAAK,CAAC,CAAC;IACvC;IACA,OAAOH;AACT,CAAC"}
@@ -1,3 +1,2 @@
1
1
  export * from './teams/index';
2
2
  export * from './web/index';
3
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './teams/index';\nexport * from './web/index';\n"],"names":[],"mappings":"AAAA,cAAc,gBAAgB;AAC9B,cAAc,cAAc"}
@@ -1,4 +1,3 @@
1
1
  import { createTeamsDarkTheme } from '../../utils/createTeamsDarkTheme';
2
2
  import { brandTeams } from '../../global/brandColors';
3
- export const teamsDarkTheme = /*#__PURE__*/createTeamsDarkTheme(brandTeams);
4
- //# sourceMappingURL=darkTheme.js.map
3
+ export const teamsDarkTheme = createTeamsDarkTheme(brandTeams);
@@ -1 +1 @@
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
+ {"version":3,"sources":["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"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,mCAAmC;AACxE,SAASC,UAAU,QAAQ,2BAA2B;AAGtD,OAAO,MAAMC,iBAAwBF,qBAAqBC,YAAY"}
@@ -1,3 +1,2 @@
1
1
  import { createHighContrastTheme } from '../../utils/createHighContrastTheme';
2
- export const teamsHighContrastTheme = /*#__PURE__*/createHighContrastTheme();
3
- //# sourceMappingURL=highContrastTheme.js.map
2
+ export const teamsHighContrastTheme = createHighContrastTheme();
@@ -1 +1 @@
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
+ {"version":3,"sources":["highContrastTheme.ts"],"sourcesContent":["import { createHighContrastTheme } from '../../utils/createHighContrastTheme';\nimport type { Theme } from '../../types';\n\nexport const teamsHighContrastTheme: Theme = createHighContrastTheme();\n"],"names":["createHighContrastTheme","teamsHighContrastTheme"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ,sCAAsC;AAG9E,OAAO,MAAMC,yBAAgCD,0BAA0B"}
@@ -1,4 +1,3 @@
1
1
  export * from './lightTheme';
2
2
  export * from './darkTheme';
3
3
  export * from './highContrastTheme';
4
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\nexport * from './highContrastTheme';\n"],"names":[],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,cAAc;AAC5B,cAAc,sBAAsB"}
@@ -1,4 +1,3 @@
1
1
  import { createLightTheme } from '../../utils/createLightTheme';
2
2
  import { brandTeams } from '../../global/brandColors';
3
- export const teamsLightTheme = /*#__PURE__*/createLightTheme(brandTeams);
4
- //# sourceMappingURL=lightTheme.js.map
3
+ export const teamsLightTheme = createLightTheme(brandTeams);
@@ -1 +1 @@
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
+ {"version":3,"sources":["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"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,UAAU,QAAQ,2BAA2B;AAGtD,OAAO,MAAMC,kBAAyBF,iBAAiBC,YAAY"}
@@ -1,4 +1,3 @@
1
1
  import { createDarkTheme } from '../../utils/createDarkTheme';
2
2
  import { brandWeb } from '../../global/brandColors';
3
- export const webDarkTheme = /*#__PURE__*/createDarkTheme(brandWeb);
4
- //# sourceMappingURL=darkTheme.js.map
3
+ export const webDarkTheme = createDarkTheme(brandWeb);
@@ -1 +1 @@
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"}
1
+ {"version":3,"sources":["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"],"names":["createDarkTheme","brandWeb","webDarkTheme"],"mappings":"AAAA,SAASA,eAAe,QAAQ,8BAA8B;AAC9D,SAASC,QAAQ,QAAQ,2BAA2B;AAGpD,OAAO,MAAMC,eAAsBF,gBAAgBC,UAAU"}
@@ -1,3 +1,2 @@
1
1
  export * from './lightTheme';
2
2
  export * from './darkTheme';
3
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../../../src/themes/web/index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"],"mappings":"AAAA,cAAc;AACd,cAAc"}
1
+ {"version":3,"sources":["index.ts"],"sourcesContent":["export * from './lightTheme';\nexport * from './darkTheme';\n"],"names":[],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,cAAc"}
@@ -1,4 +1,3 @@
1
1
  import { createLightTheme } from '../../utils/createLightTheme';
2
2
  import { brandWeb } from '../../global/brandColors';
3
- export const webLightTheme = /*#__PURE__*/createLightTheme(brandWeb);
4
- //# sourceMappingURL=lightTheme.js.map
3
+ export const webLightTheme = createLightTheme(brandWeb);
@@ -1 +1 @@
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"}
1
+ {"version":3,"sources":["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"],"names":["createLightTheme","brandWeb","webLightTheme"],"mappings":"AAAA,SAASA,gBAAgB,QAAQ,+BAA+B;AAChE,SAASC,QAAQ,QAAQ,2BAA2B;AAGpD,OAAO,MAAMC,gBAAuBF,iBAAiBC,UAAU"}