@metamask-previews/design-tokens 4.1.0-preview.f4da8f1

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 (204) hide show
  1. package/CHANGELOG.md +353 -0
  2. package/LICENSE +20 -0
  3. package/README.md +103 -0
  4. package/dist/index.cjs +10 -0
  5. package/dist/index.cjs.map +1 -0
  6. package/dist/index.d.cts +3 -0
  7. package/dist/index.d.cts.map +1 -0
  8. package/dist/index.d.mts +3 -0
  9. package/dist/index.d.mts.map +1 -0
  10. package/dist/index.mjs +2 -0
  11. package/dist/index.mjs.map +1 -0
  12. package/dist/js/brandColor/brandColor.cjs +190 -0
  13. package/dist/js/brandColor/brandColor.cjs.map +1 -0
  14. package/dist/js/brandColor/brandColor.d.cts +3 -0
  15. package/dist/js/brandColor/brandColor.d.cts.map +1 -0
  16. package/dist/js/brandColor/brandColor.d.mts +3 -0
  17. package/dist/js/brandColor/brandColor.d.mts.map +1 -0
  18. package/dist/js/brandColor/brandColor.mjs +187 -0
  19. package/dist/js/brandColor/brandColor.mjs.map +1 -0
  20. package/dist/js/brandColor/brandColor.types.cjs +3 -0
  21. package/dist/js/brandColor/brandColor.types.cjs.map +1 -0
  22. package/dist/js/brandColor/brandColor.types.d.cts +187 -0
  23. package/dist/js/brandColor/brandColor.types.d.cts.map +1 -0
  24. package/dist/js/brandColor/brandColor.types.d.mts +187 -0
  25. package/dist/js/brandColor/brandColor.types.d.mts.map +1 -0
  26. package/dist/js/brandColor/brandColor.types.mjs +2 -0
  27. package/dist/js/brandColor/brandColor.types.mjs.map +1 -0
  28. package/dist/js/brandColor/index.cjs +6 -0
  29. package/dist/js/brandColor/index.cjs.map +1 -0
  30. package/dist/js/brandColor/index.d.cts +2 -0
  31. package/dist/js/brandColor/index.d.cts.map +1 -0
  32. package/dist/js/brandColor/index.d.mts +2 -0
  33. package/dist/js/brandColor/index.d.mts.map +1 -0
  34. package/dist/js/brandColor/index.mjs +2 -0
  35. package/dist/js/brandColor/index.mjs.map +1 -0
  36. package/dist/js/colors/colors.cjs +17 -0
  37. package/dist/js/colors/colors.cjs.map +1 -0
  38. package/dist/js/colors/colors.d.cts +157 -0
  39. package/dist/js/colors/colors.d.cts.map +1 -0
  40. package/dist/js/colors/colors.d.mts +157 -0
  41. package/dist/js/colors/colors.d.mts.map +1 -0
  42. package/dist/js/colors/colors.mjs +14 -0
  43. package/dist/js/colors/colors.mjs.map +1 -0
  44. package/dist/js/colors/index.cjs +8 -0
  45. package/dist/js/colors/index.cjs.map +1 -0
  46. package/dist/js/colors/index.d.cts +3 -0
  47. package/dist/js/colors/index.d.cts.map +1 -0
  48. package/dist/js/colors/index.d.mts +3 -0
  49. package/dist/js/colors/index.d.mts.map +1 -0
  50. package/dist/js/colors/index.mjs +3 -0
  51. package/dist/js/colors/index.mjs.map +1 -0
  52. package/dist/js/index.cjs +15 -0
  53. package/dist/js/index.cjs.map +1 -0
  54. package/dist/js/index.d.cts +7 -0
  55. package/dist/js/index.d.cts.map +1 -0
  56. package/dist/js/index.d.mts +7 -0
  57. package/dist/js/index.d.mts.map +1 -0
  58. package/dist/js/index.mjs +7 -0
  59. package/dist/js/index.mjs.map +1 -0
  60. package/dist/js/themes/darkTheme/colors.cjs +80 -0
  61. package/dist/js/themes/darkTheme/colors.cjs.map +1 -0
  62. package/dist/js/themes/darkTheme/colors.d.cts +3 -0
  63. package/dist/js/themes/darkTheme/colors.d.cts.map +1 -0
  64. package/dist/js/themes/darkTheme/colors.d.mts +3 -0
  65. package/dist/js/themes/darkTheme/colors.d.mts.map +1 -0
  66. package/dist/js/themes/darkTheme/colors.mjs +77 -0
  67. package/dist/js/themes/darkTheme/colors.mjs.map +1 -0
  68. package/dist/js/themes/darkTheme/darkTheme.cjs +12 -0
  69. package/dist/js/themes/darkTheme/darkTheme.cjs.map +1 -0
  70. package/dist/js/themes/darkTheme/darkTheme.d.cts +3 -0
  71. package/dist/js/themes/darkTheme/darkTheme.d.cts.map +1 -0
  72. package/dist/js/themes/darkTheme/darkTheme.d.mts +3 -0
  73. package/dist/js/themes/darkTheme/darkTheme.d.mts.map +1 -0
  74. package/dist/js/themes/darkTheme/darkTheme.mjs +9 -0
  75. package/dist/js/themes/darkTheme/darkTheme.mjs.map +1 -0
  76. package/dist/js/themes/darkTheme/index.cjs +6 -0
  77. package/dist/js/themes/darkTheme/index.cjs.map +1 -0
  78. package/dist/js/themes/darkTheme/index.d.cts +2 -0
  79. package/dist/js/themes/darkTheme/index.d.cts.map +1 -0
  80. package/dist/js/themes/darkTheme/index.d.mts +2 -0
  81. package/dist/js/themes/darkTheme/index.d.mts.map +1 -0
  82. package/dist/js/themes/darkTheme/index.mjs +2 -0
  83. package/dist/js/themes/darkTheme/index.mjs.map +1 -0
  84. package/dist/js/themes/darkTheme/shadows.cjs +45 -0
  85. package/dist/js/themes/darkTheme/shadows.cjs.map +1 -0
  86. package/dist/js/themes/darkTheme/shadows.d.cts +3 -0
  87. package/dist/js/themes/darkTheme/shadows.d.cts.map +1 -0
  88. package/dist/js/themes/darkTheme/shadows.d.mts +3 -0
  89. package/dist/js/themes/darkTheme/shadows.d.mts.map +1 -0
  90. package/dist/js/themes/darkTheme/shadows.mjs +42 -0
  91. package/dist/js/themes/darkTheme/shadows.mjs.map +1 -0
  92. package/dist/js/themes/index.cjs +8 -0
  93. package/dist/js/themes/index.cjs.map +1 -0
  94. package/dist/js/themes/index.d.cts +4 -0
  95. package/dist/js/themes/index.d.cts.map +1 -0
  96. package/dist/js/themes/index.d.mts +4 -0
  97. package/dist/js/themes/index.d.mts.map +1 -0
  98. package/dist/js/themes/index.mjs +3 -0
  99. package/dist/js/themes/index.mjs.map +1 -0
  100. package/dist/js/themes/lightTheme/colors.cjs +80 -0
  101. package/dist/js/themes/lightTheme/colors.cjs.map +1 -0
  102. package/dist/js/themes/lightTheme/colors.d.cts +3 -0
  103. package/dist/js/themes/lightTheme/colors.d.cts.map +1 -0
  104. package/dist/js/themes/lightTheme/colors.d.mts +3 -0
  105. package/dist/js/themes/lightTheme/colors.d.mts.map +1 -0
  106. package/dist/js/themes/lightTheme/colors.mjs +77 -0
  107. package/dist/js/themes/lightTheme/colors.mjs.map +1 -0
  108. package/dist/js/themes/lightTheme/index.cjs +6 -0
  109. package/dist/js/themes/lightTheme/index.cjs.map +1 -0
  110. package/dist/js/themes/lightTheme/index.d.cts +2 -0
  111. package/dist/js/themes/lightTheme/index.d.cts.map +1 -0
  112. package/dist/js/themes/lightTheme/index.d.mts +2 -0
  113. package/dist/js/themes/lightTheme/index.d.mts.map +1 -0
  114. package/dist/js/themes/lightTheme/index.mjs +2 -0
  115. package/dist/js/themes/lightTheme/index.mjs.map +1 -0
  116. package/dist/js/themes/lightTheme/lightTheme.cjs +12 -0
  117. package/dist/js/themes/lightTheme/lightTheme.cjs.map +1 -0
  118. package/dist/js/themes/lightTheme/lightTheme.d.cts +3 -0
  119. package/dist/js/themes/lightTheme/lightTheme.d.cts.map +1 -0
  120. package/dist/js/themes/lightTheme/lightTheme.d.mts +3 -0
  121. package/dist/js/themes/lightTheme/lightTheme.d.mts.map +1 -0
  122. package/dist/js/themes/lightTheme/lightTheme.mjs +9 -0
  123. package/dist/js/themes/lightTheme/lightTheme.mjs.map +1 -0
  124. package/dist/js/themes/lightTheme/shadows.cjs +45 -0
  125. package/dist/js/themes/lightTheme/shadows.cjs.map +1 -0
  126. package/dist/js/themes/lightTheme/shadows.d.cts +3 -0
  127. package/dist/js/themes/lightTheme/shadows.d.cts.map +1 -0
  128. package/dist/js/themes/lightTheme/shadows.d.mts +3 -0
  129. package/dist/js/themes/lightTheme/shadows.d.mts.map +1 -0
  130. package/dist/js/themes/lightTheme/shadows.mjs +42 -0
  131. package/dist/js/themes/lightTheme/shadows.mjs.map +1 -0
  132. package/dist/js/themes/types.cjs +3 -0
  133. package/dist/js/themes/types.cjs.map +1 -0
  134. package/dist/js/themes/types.d.cts +248 -0
  135. package/dist/js/themes/types.d.cts.map +1 -0
  136. package/dist/js/themes/types.d.mts +248 -0
  137. package/dist/js/themes/types.d.mts.map +1 -0
  138. package/dist/js/themes/types.mjs +2 -0
  139. package/dist/js/themes/types.mjs.map +1 -0
  140. package/dist/js/typography/fontFamilies.cjs +7 -0
  141. package/dist/js/typography/fontFamilies.cjs.map +1 -0
  142. package/dist/js/typography/fontFamilies.d.cts +4 -0
  143. package/dist/js/typography/fontFamilies.d.cts.map +1 -0
  144. package/dist/js/typography/fontFamilies.d.mts +4 -0
  145. package/dist/js/typography/fontFamilies.d.mts.map +1 -0
  146. package/dist/js/typography/fontFamilies.mjs +4 -0
  147. package/dist/js/typography/fontFamilies.mjs.map +1 -0
  148. package/dist/js/typography/fontSizes.cjs +14 -0
  149. package/dist/js/typography/fontSizes.cjs.map +1 -0
  150. package/dist/js/typography/fontSizes.d.cts +11 -0
  151. package/dist/js/typography/fontSizes.d.cts.map +1 -0
  152. package/dist/js/typography/fontSizes.d.mts +11 -0
  153. package/dist/js/typography/fontSizes.d.mts.map +1 -0
  154. package/dist/js/typography/fontSizes.mjs +11 -0
  155. package/dist/js/typography/fontSizes.mjs.map +1 -0
  156. package/dist/js/typography/fontWeights.cjs +9 -0
  157. package/dist/js/typography/fontWeights.cjs.map +1 -0
  158. package/dist/js/typography/fontWeights.d.cts +6 -0
  159. package/dist/js/typography/fontWeights.d.cts.map +1 -0
  160. package/dist/js/typography/fontWeights.d.mts +6 -0
  161. package/dist/js/typography/fontWeights.d.mts.map +1 -0
  162. package/dist/js/typography/fontWeights.mjs +6 -0
  163. package/dist/js/typography/fontWeights.mjs.map +1 -0
  164. package/dist/js/typography/index.cjs +6 -0
  165. package/dist/js/typography/index.cjs.map +1 -0
  166. package/dist/js/typography/index.d.cts +3 -0
  167. package/dist/js/typography/index.d.cts.map +1 -0
  168. package/dist/js/typography/index.d.mts +3 -0
  169. package/dist/js/typography/index.d.mts.map +1 -0
  170. package/dist/js/typography/index.mjs +2 -0
  171. package/dist/js/typography/index.mjs.map +1 -0
  172. package/dist/js/typography/letterSpacing.cjs +8 -0
  173. package/dist/js/typography/letterSpacing.cjs.map +1 -0
  174. package/dist/js/typography/letterSpacing.d.cts +5 -0
  175. package/dist/js/typography/letterSpacing.d.cts.map +1 -0
  176. package/dist/js/typography/letterSpacing.d.mts +5 -0
  177. package/dist/js/typography/letterSpacing.d.mts.map +1 -0
  178. package/dist/js/typography/letterSpacing.mjs +5 -0
  179. package/dist/js/typography/letterSpacing.mjs.map +1 -0
  180. package/dist/js/typography/lineHeights.cjs +13 -0
  181. package/dist/js/typography/lineHeights.cjs.map +1 -0
  182. package/dist/js/typography/lineHeights.d.cts +10 -0
  183. package/dist/js/typography/lineHeights.d.cts.map +1 -0
  184. package/dist/js/typography/lineHeights.d.mts +10 -0
  185. package/dist/js/typography/lineHeights.d.mts.map +1 -0
  186. package/dist/js/typography/lineHeights.mjs +10 -0
  187. package/dist/js/typography/lineHeights.mjs.map +1 -0
  188. package/dist/js/typography/types.cjs +3 -0
  189. package/dist/js/typography/types.cjs.map +1 -0
  190. package/dist/js/typography/types.d.cts +39 -0
  191. package/dist/js/typography/types.d.cts.map +1 -0
  192. package/dist/js/typography/types.d.mts +39 -0
  193. package/dist/js/typography/types.d.mts.map +1 -0
  194. package/dist/js/typography/types.mjs +2 -0
  195. package/dist/js/typography/types.mjs.map +1 -0
  196. package/dist/js/typography/typography.cjs +216 -0
  197. package/dist/js/typography/typography.cjs.map +1 -0
  198. package/dist/js/typography/typography.d.cts +3 -0
  199. package/dist/js/typography/typography.d.cts.map +1 -0
  200. package/dist/js/typography/typography.d.mts +3 -0
  201. package/dist/js/typography/typography.d.mts.map +1 -0
  202. package/dist/js/typography/typography.mjs +213 -0
  203. package/dist/js/typography/typography.mjs.map +1 -0
  204. package/package.json +70 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/colors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAiB;AAE5C,eAAO,MAAM,MAAM,EAAE,WA0EpB,CAAC"}
@@ -0,0 +1,77 @@
1
+ import { brandColor } from "../../brandColor/index.mjs";
2
+ export const colors = {
3
+ background: {
4
+ default: brandColor.grey000,
5
+ alternative: brandColor.grey050,
6
+ defaultHover: '#f5f5f5',
7
+ defaultPressed: '#ebebeb',
8
+ alternativeHover: '#e7ebee',
9
+ alternativePressed: '#dbe0e6',
10
+ hover: '#0000000a',
11
+ pressed: '#00000014', // For "pressed" state that use no background fill.
12
+ },
13
+ text: {
14
+ default: brandColor.grey900,
15
+ alternative: brandColor.grey500,
16
+ muted: brandColor.grey300, // For the softest contrast neutral text (not accessible)
17
+ },
18
+ icon: {
19
+ default: brandColor.grey900,
20
+ alternative: brandColor.grey500,
21
+ muted: brandColor.grey300, // For the weakest contrast neutral icons (not accessible)
22
+ },
23
+ border: {
24
+ default: brandColor.grey200,
25
+ muted: '#bbc0c566', // For the weakest contrast neutral border
26
+ },
27
+ overlay: {
28
+ default: '#00000099',
29
+ alternative: '#000000cc',
30
+ inverse: brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border
31
+ },
32
+ primary: {
33
+ default: brandColor.blue500,
34
+ alternative: brandColor.blue600,
35
+ muted: '#0376c91a',
36
+ inverse: brandColor.grey000,
37
+ defaultHover: '#036ab5',
38
+ defaultPressed: '#025ea1', // For the "pressed" state of primary-default elements
39
+ },
40
+ error: {
41
+ default: brandColor.red500,
42
+ alternative: brandColor.red600,
43
+ muted: '#d738471a',
44
+ inverse: brandColor.grey000,
45
+ defaultHover: '#d02a3a',
46
+ defaultPressed: '#bf2635', // For the "pressed" state of error-default elements.
47
+ },
48
+ warning: {
49
+ default: brandColor.yellow500,
50
+ muted: '#bf52081a',
51
+ inverse: brandColor.grey000,
52
+ defaultHover: '#ac4a07',
53
+ defaultPressed: '#984106', // For the "pressed" state of warning-default elements
54
+ },
55
+ success: {
56
+ default: brandColor.green500,
57
+ muted: '#1c82341a',
58
+ inverse: brandColor.grey000,
59
+ defaultHover: '#18712d',
60
+ defaultPressed: '#156127', // For the "pressed" state of success-default elements
61
+ },
62
+ info: {
63
+ default: brandColor.blue500,
64
+ muted: '#0376c91a',
65
+ inverse: brandColor.grey000, // For elements used on top of info/default. Used for text, icon or border
66
+ },
67
+ flask: {
68
+ default: brandColor.purple500,
69
+ inverse: brandColor.grey000, // For elements used on top of flask/default. Used for text, icon or border
70
+ },
71
+ shadow: {
72
+ default: '#0000001a',
73
+ primary: '#0376c933',
74
+ error: '#ca354266', // For critical/danger drop shadow color.
75
+ },
76
+ };
77
+ //# sourceMappingURL=colors.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colors.mjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mCAAyB;AAG9C,MAAM,CAAC,MAAM,MAAM,GAAgB;IACjC,UAAU,EAAE;QACV,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,YAAY,EAAE,SAAS;QACvB,cAAc,EAAE,SAAS;QACzB,gBAAgB,EAAE,SAAS;QAC3B,kBAAkB,EAAE,SAAS;QAC7B,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,WAAW,EAAE,mDAAmD;KAC1E;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,EAAE,yDAAyD;KACrF;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,WAAW,EAAE,UAAU,CAAC,OAAO;QAC/B,KAAK,EAAE,UAAU,CAAC,OAAO,EAAE,0DAA0D;KACtF;IACD,MAAM,EAAE;QACN,OAAO,EAAE,UAAU,CAAC,OAAO;QAC3B,KAAK,EAAE,WAAW,EAAE,2CAA2C;KAChE;IACD,OAAO,EAAE;QACP,OAAO,EA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AAE,yCAAyC;KAC9D;CACF,CAAC","sourcesContent":["import { brandColor } from '../../brandColor';\nimport type { ThemeColors } from '../types';\n\nexport const colors: ThemeColors = {\n background: {\n default: brandColor.grey000, // For default neutral backgrounds\n alternative: brandColor.grey050, // For secondary neutral backgrounds.\n defaultHover: '#f5f5f5', // For \"hover\" states that use background-default.\n defaultPressed: '#ebebeb', // For \"pressed\" states that use background-alternative.\n alternativeHover: '#e7ebee', // For \"hover\" states that use background-alternative.\n alternativePressed: '#dbe0e6', // For \"pressed\" states that use background-alternative.\n hover: '#0000000a', // For \"hover\" state that use no background fill.\n pressed: '#00000014', // For \"pressed\" state that use no background fill.\n },\n text: {\n default: brandColor.grey900, // For default neutral text.\n alternative: brandColor.grey500, // For softer contrast neutral text\n muted: brandColor.grey300, // For the softest contrast neutral text (not accessible)\n },\n icon: {\n default: brandColor.grey900, // For default neutral icons\n alternative: brandColor.grey500, // For softer neutral icons\n muted: brandColor.grey300, // For the weakest contrast neutral icons (not accessible)\n },\n border: {\n default: brandColor.grey200, // For soft contrast neutral border\n muted: '#bbc0c566', // For the weakest contrast neutral border\n },\n overlay: {\n default: '#00000099', // For the default shade of screen\n alternative: '#000000cc', // For a stronger shade of screen\n inverse: brandColor.grey000, // For elements used on top of overlay/alternative. Used for text, icon or border\n },\n primary: {\n default: brandColor.blue500, // For interactive, active, and selected semantics. Used for text, background, icon or border\n alternative: brandColor.blue600, // For the stronger contrast primary semantic elements.\n muted: '#0376c91a', // For the weakest contrast primary semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of primary/default. Used for text, icon or border\n defaultHover: '#036ab5', // For the \"hover\" state of primary-default elements\n defaultPressed: '#025ea1', // For the \"pressed\" state of primary-default elements\n },\n error: {\n default: brandColor.red500, // For the critical alert semantic elements. Used for text, background, icon or border\n alternative: brandColor.red600, // For the stronger contrast error semantic elements.\n muted: '#d738471a', // For the weakest contrast critical alert semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of error/default. Used for text, icon or border\n defaultHover: '#d02a3a', // For the \"hover\" state of error-default elements.\n defaultPressed: '#bf2635', // For the \"pressed\" state of error-default elements.\n },\n warning: {\n default: brandColor.yellow500, // For the caution alert semantic elements. Used for text, background, icon or border\n muted: '#bf52081a', // For the weakest contrast caution alert semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of warning/default. Used for text, icon or border\n defaultHover: '#ac4a07', // For the \"hover\" state of warning-default elements\n defaultPressed: '#984106', // For the \"pressed\" state of warning-default elements\n },\n success: {\n default: brandColor.green500, // For the positive semantic elements. Used for text, background, icon or border\n muted: '#1c82341a', // For the weakest contrast positive semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of success/default. Used for text, icon or border\n defaultHover: '#18712d', // For the \"hover\" state of success-default elements\n defaultPressed: '#156127', // For the \"pressed\" state of success-default elements\n },\n info: {\n default: brandColor.blue500, // For informational read-only elements. Used for text, background, icon or border\n muted: '#0376c91a', // For the weakest contrast informational semantic backgrounds.\n inverse: brandColor.grey000, // For elements used on top of info/default. Used for text, icon or border\n },\n flask: {\n default: brandColor.purple500, // For Flask primary accent color.\n inverse: brandColor.grey000, // For elements used on top of flask/default. Used for text, icon or border\n },\n shadow: {\n default: '#0000001a', // For neutral drop shadow color.\n primary: '#0376c933', // For primary drop shadow color.\n error: '#ca354266', // For critical/danger drop shadow color.\n },\n};\n"]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.lightTheme = void 0;
4
+ var lightTheme_1 = require("./lightTheme.cjs");
5
+ Object.defineProperty(exports, "lightTheme", { enumerable: true, get: function () { return lightTheme_1.lightTheme; } });
6
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/index.ts"],"names":[],"mappings":";;;AAAA,+CAA0C;AAAjC,wGAAA,UAAU,OAAA","sourcesContent":["export { lightTheme } from './lightTheme';\n"]}
@@ -0,0 +1,2 @@
1
+ export { lightTheme } from "./lightTheme.cjs";
2
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB"}
@@ -0,0 +1,2 @@
1
+ export { lightTheme } from "./lightTheme.mjs";
2
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB"}
@@ -0,0 +1,2 @@
1
+ export { lightTheme } from "./lightTheme.mjs";
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,yBAAqB","sourcesContent":["export { lightTheme } from './lightTheme';\n"]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.lightTheme = void 0;
4
+ const typography_1 = require("../../typography/index.cjs");
5
+ const colors_1 = require("./colors.cjs");
6
+ const shadows_1 = require("./shadows.cjs");
7
+ exports.lightTheme = {
8
+ colors: colors_1.colors,
9
+ typography: typography_1.typography,
10
+ shadows: shadows_1.shadows,
11
+ };
12
+ //# sourceMappingURL=lightTheme.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lightTheme.cjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/lightTheme.ts"],"names":[],"mappings":";;;AAAA,2DAA8C;AAE9C,yCAAkC;AAClC,2CAAoC;AAEvB,QAAA,UAAU,GAAU;IAC/B,MAAM,EAAN,eAAM;IACN,UAAU,EAAV,uBAAU;IACV,OAAO,EAAP,iBAAO;CACR,CAAC","sourcesContent":["import { typography } from '../../typography';\nimport type { Theme } from '../types';\nimport { colors } from './colors';\nimport { shadows } from './shadows';\n\nexport const lightTheme: Theme = {\n colors,\n typography,\n shadows,\n};\n"]}
@@ -0,0 +1,3 @@
1
+ import type { Theme } from "../types.cjs";
2
+ export declare const lightTheme: Theme;
3
+ //# sourceMappingURL=lightTheme.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lightTheme.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/lightTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAiB;AAItC,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Theme } from "../types.mjs";
2
+ export declare const lightTheme: Theme;
3
+ //# sourceMappingURL=lightTheme.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lightTheme.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/lightTheme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,qBAAiB;AAItC,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { typography } from "../../typography/index.mjs";
2
+ import { colors } from "./colors.mjs";
3
+ import { shadows } from "./shadows.mjs";
4
+ export const lightTheme = {
5
+ colors,
6
+ typography,
7
+ shadows,
8
+ };
9
+ //# sourceMappingURL=lightTheme.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lightTheme.mjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/lightTheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,mCAAyB;AAE9C,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,OAAO,EAAE,sBAAkB;AAEpC,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,MAAM;IACN,UAAU;IACV,OAAO;CACR,CAAC","sourcesContent":["import { typography } from '../../typography';\nimport type { Theme } from '../types';\nimport { colors } from './colors';\nimport { shadows } from './shadows';\n\nexport const lightTheme: Theme = {\n colors,\n typography,\n shadows,\n};\n"]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.shadows = void 0;
4
+ const colors_1 = require("./colors.cjs");
5
+ exports.shadows = {
6
+ size: {
7
+ xs: {
8
+ shadowColor: colors_1.colors.shadow.default,
9
+ shadowOffset: {
10
+ width: 0,
11
+ height: 2,
12
+ },
13
+ shadowOpacity: 1,
14
+ shadowRadius: 4,
15
+ },
16
+ sm: {
17
+ shadowColor: colors_1.colors.shadow.default,
18
+ shadowOffset: {
19
+ width: 0,
20
+ height: 2,
21
+ },
22
+ shadowOpacity: 1,
23
+ shadowRadius: 8,
24
+ },
25
+ md: {
26
+ shadowColor: colors_1.colors.shadow.default,
27
+ shadowOffset: {
28
+ width: 0,
29
+ height: 2,
30
+ },
31
+ shadowOpacity: 1,
32
+ shadowRadius: 16,
33
+ },
34
+ lg: {
35
+ shadowColor: colors_1.colors.shadow.default,
36
+ shadowOffset: {
37
+ width: 0,
38
+ height: 2,
39
+ },
40
+ shadowOpacity: 1,
41
+ shadowRadius: 40,
42
+ },
43
+ },
44
+ };
45
+ //# sourceMappingURL=shadows.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.cjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/shadows.ts"],"names":[],"mappings":";;;AACA,yCAAkC;AAErB,QAAA,OAAO,GAAiB;IACnC,IAAI,EAAE;QACJ,EAAE,EAAE;YACF,WAAW,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,CAAC;SAChB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,CAAC;SAChB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,EAAE;SACjB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,EAAE;SACjB;KACF;CACF,CAAC","sourcesContent":["import type { ThemeShadows } from '../types';\nimport { colors } from './colors';\n\nexport const shadows: ThemeShadows = {\n size: {\n xs: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 4,\n },\n sm: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 8,\n },\n md: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 16,\n },\n lg: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 40,\n },\n },\n};\n"]}
@@ -0,0 +1,3 @@
1
+ import type { ThemeShadows } from "../types.cjs";
2
+ export declare const shadows: ThemeShadows;
3
+ //# sourceMappingURL=shadows.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.d.cts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/shadows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAiB;AAG7C,eAAO,MAAM,OAAO,EAAE,YAuCrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThemeShadows } from "../types.mjs";
2
+ export declare const shadows: ThemeShadows;
3
+ //# sourceMappingURL=shadows.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.d.mts","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/shadows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAiB;AAG7C,eAAO,MAAM,OAAO,EAAE,YAuCrB,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { colors } from "./colors.mjs";
2
+ export const shadows = {
3
+ size: {
4
+ xs: {
5
+ shadowColor: colors.shadow.default,
6
+ shadowOffset: {
7
+ width: 0,
8
+ height: 2,
9
+ },
10
+ shadowOpacity: 1,
11
+ shadowRadius: 4,
12
+ },
13
+ sm: {
14
+ shadowColor: colors.shadow.default,
15
+ shadowOffset: {
16
+ width: 0,
17
+ height: 2,
18
+ },
19
+ shadowOpacity: 1,
20
+ shadowRadius: 8,
21
+ },
22
+ md: {
23
+ shadowColor: colors.shadow.default,
24
+ shadowOffset: {
25
+ width: 0,
26
+ height: 2,
27
+ },
28
+ shadowOpacity: 1,
29
+ shadowRadius: 16,
30
+ },
31
+ lg: {
32
+ shadowColor: colors.shadow.default,
33
+ shadowOffset: {
34
+ width: 0,
35
+ height: 2,
36
+ },
37
+ shadowOpacity: 1,
38
+ shadowRadius: 40,
39
+ },
40
+ },
41
+ };
42
+ //# sourceMappingURL=shadows.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadows.mjs","sourceRoot":"","sources":["../../../../src/js/themes/lightTheme/shadows.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAElC,MAAM,CAAC,MAAM,OAAO,GAAiB;IACnC,IAAI,EAAE;QACJ,EAAE,EAAE;YACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,CAAC;SAChB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,CAAC;SAChB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,EAAE;SACjB;QACD,EAAE,EAAE;YACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO;YAClC,YAAY,EAAE;gBACZ,KAAK,EAAE,CAAC;gBACR,MAAM,EAAE,CAAC;aACV;YACD,aAAa,EAAE,CAAC;YAChB,YAAY,EAAE,EAAE;SACjB;KACF;CACF,CAAC","sourcesContent":["import type { ThemeShadows } from '../types';\nimport { colors } from './colors';\n\nexport const shadows: ThemeShadows = {\n size: {\n xs: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 4,\n },\n sm: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 8,\n },\n md: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 16,\n },\n lg: {\n shadowColor: colors.shadow.default,\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 1,\n shadowRadius: 40,\n },\n },\n};\n"]}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.cjs","sourceRoot":"","sources":["../../../src/js/themes/types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ThemeTypography } from '../typography';\n\ntype ShadowShape = {\n shadowColor: string;\n shadowOffset: {\n width: number;\n height: number;\n };\n shadowOpacity: number;\n shadowRadius: number;\n};\n\ntype ShadowSizes = {\n xs: ShadowShape;\n sm: ShadowShape;\n md: ShadowShape;\n lg: ShadowShape;\n};\n\nexport type ThemeShadows = {\n size: ShadowSizes;\n};\n\nexport type ThemeColors = {\n background: {\n /**\n * {string} background.default - For default neutral backgrounds\n */\n default: string;\n /**\n * {string} background.defaultHover - For component hover states that use background/default\n */\n defaultHover: string;\n /**\n * {string} background.defaultPressed - For component pressed states that use background/default.\n */\n defaultPressed: string;\n /**\n * {string} background.alternative - For a subtle contrast option for neutral backgrounds. (Example: backdrop, header background)\n */\n alternative: string;\n /**\n * {string} background.alternativeHover - For component hover states that use background/alternative\n */\n alternativeHover: string;\n /**\n * {string} background.alternativePressed - For component pressed states that use background/alternative\n */\n alternativePressed: string;\n /**\n * {string} background.hover - For component hover states that don't have a background color\n */\n hover: string;\n /**\n * {string} background.pressed - For component pressed states that don't have a background color\n */\n pressed: string;\n };\n text: {\n /**\n * {string} text.default - For general text that takes main priority in the information hierarchy\n */\n default: string;\n /**\n * {string} text.alternative - For a weaker contrast option for neutral text\n */\n alternative: string;\n /**\n * {string} text.muted - For inactive or lowest priority text. (Example: placeholder)\n */\n muted: string;\n };\n icon: {\n /**\n * {string} icon.default - For default neutral icons\n */\n default: string;\n /**\n * {string} icon.alternative - For a weaker contrast option for neutral icons\n */\n alternative: string;\n /**\n * {string} icon.muted - For inactive or lowest priority icons\n */\n muted: string;\n };\n border: {\n /**\n * {string} border.default - For default neutral borders with visible contrast. (Example: text inputs)\n */\n default: string;\n /**\n * {string} border.muted - For a weaker contrast option for neutral borders.\n */\n muted: string;\n };\n overlay: {\n /**\n * {string} overlay.default - For shading layers behind modality screens\n */\n default: string;\n /**\n * {string} overlay.alternative - For a stronger shade of screen\n */\n alternative: string;\n /**\n * {string} overlay.inverse - For elements used on top of overlay/alternative. Used for text, icon or border\n */\n inverse: string;\n };\n shadow: {\n /**\n * {string} shadow.default - For neutral drop shadow color.\n */\n default: string;\n /**\n * {string} shadow.primary - For primary drop shadow color.\n */\n primary: string;\n /**\n * {string} shadow.default - For critical/danger drop shadow color.\n */\n error: string;\n };\n primary: {\n /**\n * {string} primary.default - For primary user action related elements\n */\n default: string;\n /**\n * {string} defaultHover - For the \"hover\" state of interactive elements\n */\n defaultHover: string;\n /**\n * {string} defaultPressed - For the \"pressed\" state of interactive elements\n */\n defaultPressed: string;\n /**\n * {string} primary.alternative - For the \\\"pressed\\\" state of interactive primary elements\n */\n alternative: string;\n /**\n * {string} primary.muted - For lowest contrast background used in primary elements\n */\n muted: string;\n /**\n * {string} primary.inverse - For elements used on top of primary/default. (Example: label of primary button, check in a checkbox)disabled state\n */\n inverse: string;\n };\n error: {\n /**\n * {string} error.default - For high-level alert danger/critical elements. Used for text, background, icon or border\n */\n default: string;\n /**\n * {string} defaultHover - For the \"hover\" state of interactive elements\n */\n defaultHover: string;\n /**\n * {string} defaultPressed - For the \"pressed\" state of interactive elements\n */\n defaultPressed: string;\n /**\n * {string} error.alternative - For the \\\"pressed\\\" state of interactive danger/critical elements\n */\n alternative: string;\n /**\n * {string} error.muted - For lowest contrast background used in high-level alert danger/critical elements. (Example: notification background)\n */\n muted: string;\n /**\n * {string} error.inverse - For elements used on top of error/default (Example: label of danger/critical button)\n */\n inverse: string;\n };\n warning: {\n /**\n * {string} warning.muted - For lowest contrast background used in warning elements. (Example: notification background)\n */\n default: string;\n /**\n * {string} defaultHover - For the \"hover\" state of interactive elements\n */\n defaultHover: string;\n /**\n * {string} defaultPressed - For the \"pressed\" state of interactive elements\n */\n defaultPressed: string;\n /**\n * {string} warning.muted - For lowest contrast background used in warning elements. (Example: notification background)\n */\n muted: string;\n /**\n * {string} warning.inverse - For elements used on top of warning/default. Used for text, icon or border\n */\n inverse: string;\n };\n success: {\n /**\n * {string} success.default - For positive & good semantic elements. Used for text, background, icon or border\n */\n default: string;\n /**\n * {string} defaultHover - For the \"hover\" state of interactive elements\n */\n defaultHover: string;\n /**\n * {string} defaultPressed - For the \"pressed\" state of interactive elements\n */\n defaultPressed: string;\n /**\n * {string} success.muted - For lowest contrast background used in success semantic. (Example: notification background)\n */\n muted: string;\n /**\n * {string} success.inverse - For elements used on top of success/default. Used for text, icon or border\n */\n inverse: string;\n };\n info: {\n /**\n * {string} info.default - For informational semantic elements. Used for text, background, icon or border\n */\n default: string;\n /**\n * {string} info.muted - For lowest contrast background used in informational semantic. (Example: notification background)\n */\n muted: string;\n /**\n * {string} info.inverse - For elements used on top of info/default. Used for text, icon or border\n */\n inverse: string;\n };\n flask: {\n /**\n * {string} flask.default - For Flask colored elements\n */\n default: string;\n /**\n * {string} flask.inverse - For elements used on top of flask/default\n */\n inverse: string;\n };\n};\n\nexport type Theme = {\n colors: ThemeColors;\n typography: ThemeTypography;\n shadows: ThemeShadows;\n};\n"]}
@@ -0,0 +1,248 @@
1
+ import type { ThemeTypography } from "../typography/index.cjs";
2
+ type ShadowShape = {
3
+ shadowColor: string;
4
+ shadowOffset: {
5
+ width: number;
6
+ height: number;
7
+ };
8
+ shadowOpacity: number;
9
+ shadowRadius: number;
10
+ };
11
+ type ShadowSizes = {
12
+ xs: ShadowShape;
13
+ sm: ShadowShape;
14
+ md: ShadowShape;
15
+ lg: ShadowShape;
16
+ };
17
+ export type ThemeShadows = {
18
+ size: ShadowSizes;
19
+ };
20
+ export type ThemeColors = {
21
+ background: {
22
+ /**
23
+ * {string} background.default - For default neutral backgrounds
24
+ */
25
+ default: string;
26
+ /**
27
+ * {string} background.defaultHover - For component hover states that use background/default
28
+ */
29
+ defaultHover: string;
30
+ /**
31
+ * {string} background.defaultPressed - For component pressed states that use background/default.
32
+ */
33
+ defaultPressed: string;
34
+ /**
35
+ * {string} background.alternative - For a subtle contrast option for neutral backgrounds. (Example: backdrop, header background)
36
+ */
37
+ alternative: string;
38
+ /**
39
+ * {string} background.alternativeHover - For component hover states that use background/alternative
40
+ */
41
+ alternativeHover: string;
42
+ /**
43
+ * {string} background.alternativePressed - For component pressed states that use background/alternative
44
+ */
45
+ alternativePressed: string;
46
+ /**
47
+ * {string} background.hover - For component hover states that don't have a background color
48
+ */
49
+ hover: string;
50
+ /**
51
+ * {string} background.pressed - For component pressed states that don't have a background color
52
+ */
53
+ pressed: string;
54
+ };
55
+ text: {
56
+ /**
57
+ * {string} text.default - For general text that takes main priority in the information hierarchy
58
+ */
59
+ default: string;
60
+ /**
61
+ * {string} text.alternative - For a weaker contrast option for neutral text
62
+ */
63
+ alternative: string;
64
+ /**
65
+ * {string} text.muted - For inactive or lowest priority text. (Example: placeholder)
66
+ */
67
+ muted: string;
68
+ };
69
+ icon: {
70
+ /**
71
+ * {string} icon.default - For default neutral icons
72
+ */
73
+ default: string;
74
+ /**
75
+ * {string} icon.alternative - For a weaker contrast option for neutral icons
76
+ */
77
+ alternative: string;
78
+ /**
79
+ * {string} icon.muted - For inactive or lowest priority icons
80
+ */
81
+ muted: string;
82
+ };
83
+ border: {
84
+ /**
85
+ * {string} border.default - For default neutral borders with visible contrast. (Example: text inputs)
86
+ */
87
+ default: string;
88
+ /**
89
+ * {string} border.muted - For a weaker contrast option for neutral borders.
90
+ */
91
+ muted: string;
92
+ };
93
+ overlay: {
94
+ /**
95
+ * {string} overlay.default - For shading layers behind modality screens
96
+ */
97
+ default: string;
98
+ /**
99
+ * {string} overlay.alternative - For a stronger shade of screen
100
+ */
101
+ alternative: string;
102
+ /**
103
+ * {string} overlay.inverse - For elements used on top of overlay/alternative. Used for text, icon or border
104
+ */
105
+ inverse: string;
106
+ };
107
+ shadow: {
108
+ /**
109
+ * {string} shadow.default - For neutral drop shadow color.
110
+ */
111
+ default: string;
112
+ /**
113
+ * {string} shadow.primary - For primary drop shadow color.
114
+ */
115
+ primary: string;
116
+ /**
117
+ * {string} shadow.default - For critical/danger drop shadow color.
118
+ */
119
+ error: string;
120
+ };
121
+ primary: {
122
+ /**
123
+ * {string} primary.default - For primary user action related elements
124
+ */
125
+ default: string;
126
+ /**
127
+ * {string} defaultHover - For the "hover" state of interactive elements
128
+ */
129
+ defaultHover: string;
130
+ /**
131
+ * {string} defaultPressed - For the "pressed" state of interactive elements
132
+ */
133
+ defaultPressed: string;
134
+ /**
135
+ * {string} primary.alternative - For the \"pressed\" state of interactive primary elements
136
+ */
137
+ alternative: string;
138
+ /**
139
+ * {string} primary.muted - For lowest contrast background used in primary elements
140
+ */
141
+ muted: string;
142
+ /**
143
+ * {string} primary.inverse - For elements used on top of primary/default. (Example: label of primary button, check in a checkbox)disabled state
144
+ */
145
+ inverse: string;
146
+ };
147
+ error: {
148
+ /**
149
+ * {string} error.default - For high-level alert danger/critical elements. Used for text, background, icon or border
150
+ */
151
+ default: string;
152
+ /**
153
+ * {string} defaultHover - For the "hover" state of interactive elements
154
+ */
155
+ defaultHover: string;
156
+ /**
157
+ * {string} defaultPressed - For the "pressed" state of interactive elements
158
+ */
159
+ defaultPressed: string;
160
+ /**
161
+ * {string} error.alternative - For the \"pressed\" state of interactive danger/critical elements
162
+ */
163
+ alternative: string;
164
+ /**
165
+ * {string} error.muted - For lowest contrast background used in high-level alert danger/critical elements. (Example: notification background)
166
+ */
167
+ muted: string;
168
+ /**
169
+ * {string} error.inverse - For elements used on top of error/default (Example: label of danger/critical button)
170
+ */
171
+ inverse: string;
172
+ };
173
+ warning: {
174
+ /**
175
+ * {string} warning.muted - For lowest contrast background used in warning elements. (Example: notification background)
176
+ */
177
+ default: string;
178
+ /**
179
+ * {string} defaultHover - For the "hover" state of interactive elements
180
+ */
181
+ defaultHover: string;
182
+ /**
183
+ * {string} defaultPressed - For the "pressed" state of interactive elements
184
+ */
185
+ defaultPressed: string;
186
+ /**
187
+ * {string} warning.muted - For lowest contrast background used in warning elements. (Example: notification background)
188
+ */
189
+ muted: string;
190
+ /**
191
+ * {string} warning.inverse - For elements used on top of warning/default. Used for text, icon or border
192
+ */
193
+ inverse: string;
194
+ };
195
+ success: {
196
+ /**
197
+ * {string} success.default - For positive & good semantic elements. Used for text, background, icon or border
198
+ */
199
+ default: string;
200
+ /**
201
+ * {string} defaultHover - For the "hover" state of interactive elements
202
+ */
203
+ defaultHover: string;
204
+ /**
205
+ * {string} defaultPressed - For the "pressed" state of interactive elements
206
+ */
207
+ defaultPressed: string;
208
+ /**
209
+ * {string} success.muted - For lowest contrast background used in success semantic. (Example: notification background)
210
+ */
211
+ muted: string;
212
+ /**
213
+ * {string} success.inverse - For elements used on top of success/default. Used for text, icon or border
214
+ */
215
+ inverse: string;
216
+ };
217
+ info: {
218
+ /**
219
+ * {string} info.default - For informational semantic elements. Used for text, background, icon or border
220
+ */
221
+ default: string;
222
+ /**
223
+ * {string} info.muted - For lowest contrast background used in informational semantic. (Example: notification background)
224
+ */
225
+ muted: string;
226
+ /**
227
+ * {string} info.inverse - For elements used on top of info/default. Used for text, icon or border
228
+ */
229
+ inverse: string;
230
+ };
231
+ flask: {
232
+ /**
233
+ * {string} flask.default - For Flask colored elements
234
+ */
235
+ default: string;
236
+ /**
237
+ * {string} flask.inverse - For elements used on top of flask/default
238
+ */
239
+ inverse: string;
240
+ };
241
+ };
242
+ export type Theme = {
243
+ colors: ThemeColors;
244
+ typography: ThemeTypography;
245
+ shadows: ThemeShadows;
246
+ };
247
+ export {};
248
+ //# sourceMappingURL=types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../../../src/js/themes/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,gCAAsB;AAErD,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAA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