@und-ui/tokens 0.2.0 → 0.3.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.
Files changed (247) hide show
  1. package/README.md +100 -11
  2. package/dist/android/values/und_colors.xml +204 -73
  3. package/dist/android/values/und_dimens.xml +15 -4
  4. package/dist/android/values-night/und_colors.xml +207 -76
  5. package/dist/css/base.css +610 -35
  6. package/dist/css/motion.css +129 -1
  7. package/dist/css/themes/butter.css +278 -0
  8. package/dist/css/themes/chocolate.css +255 -0
  9. package/dist/css/themes/gothic.css +710 -0
  10. package/dist/css/themes/kesar.css +1 -1
  11. package/dist/css/themes/matcha.css +291 -0
  12. package/dist/css/themes/mitti.css +1 -1
  13. package/dist/css/themes/nabh.css +179 -0
  14. package/dist/css/themes/neem.css +1 -1
  15. package/dist/css/themes/neutral.css +255 -0
  16. package/dist/css/themes/raat.css +35 -1
  17. package/dist/css/themes/stone.css +275 -0
  18. package/dist/css/themes/sutra.css +1 -1
  19. package/dist/css/themes/ujala.css +1 -1
  20. package/dist/css/themes/y2k.css +289 -0
  21. package/dist/css/tokens.css +2998 -1
  22. package/dist/dart/und_tokens.dart +11414 -320
  23. package/dist/js/contexts.js +1 -1
  24. package/dist/js/index.d.ts +583 -1
  25. package/dist/js/index.js +850 -157
  26. package/dist/json/flat/butter.dark.json +945 -0
  27. package/dist/json/flat/butter.darkMore.json +945 -0
  28. package/dist/json/flat/butter.light.json +945 -0
  29. package/dist/json/flat/butter.lightMore.json +945 -0
  30. package/dist/json/flat/chocolate.dark.json +945 -0
  31. package/dist/json/flat/chocolate.darkMore.json +945 -0
  32. package/dist/json/flat/chocolate.light.json +945 -0
  33. package/dist/json/flat/chocolate.lightMore.json +945 -0
  34. package/dist/json/flat/gothic.dark.json +945 -0
  35. package/dist/json/flat/gothic.darkMore.json +945 -0
  36. package/dist/json/flat/kesar.dark.json +207 -0
  37. package/dist/json/flat/kesar.darkMore.json +207 -0
  38. package/dist/json/flat/kesar.light.json +207 -0
  39. package/dist/json/flat/kesar.lightMore.json +207 -0
  40. package/dist/json/flat/matcha.dark.json +945 -0
  41. package/dist/json/flat/matcha.darkMore.json +945 -0
  42. package/dist/json/flat/matcha.light.json +945 -0
  43. package/dist/json/flat/matcha.lightMore.json +945 -0
  44. package/dist/json/flat/mitti.dark.json +207 -0
  45. package/dist/json/flat/mitti.darkMore.json +207 -0
  46. package/dist/json/flat/mitti.light.json +207 -0
  47. package/dist/json/flat/mitti.lightMore.json +207 -0
  48. package/dist/json/flat/nabh.dark.json +945 -0
  49. package/dist/json/flat/nabh.darkMore.json +945 -0
  50. package/dist/json/flat/nabh.light.json +945 -0
  51. package/dist/json/flat/nabh.lightMore.json +945 -0
  52. package/dist/json/flat/neem.dark.json +207 -0
  53. package/dist/json/flat/neem.darkMore.json +207 -0
  54. package/dist/json/flat/neem.light.json +207 -0
  55. package/dist/json/flat/neem.lightMore.json +207 -0
  56. package/dist/json/flat/neutral.dark.json +945 -0
  57. package/dist/json/flat/neutral.darkMore.json +945 -0
  58. package/dist/json/flat/neutral.light.json +945 -0
  59. package/dist/json/flat/neutral.lightMore.json +945 -0
  60. package/dist/json/flat/raat.dark.json +207 -0
  61. package/dist/json/flat/raat.darkMore.json +207 -0
  62. package/dist/json/flat/stone.dark.json +945 -0
  63. package/dist/json/flat/stone.darkMore.json +945 -0
  64. package/dist/json/flat/stone.light.json +945 -0
  65. package/dist/json/flat/stone.lightMore.json +945 -0
  66. package/dist/json/flat/sutra.dark.json +207 -0
  67. package/dist/json/flat/sutra.darkMore.json +207 -0
  68. package/dist/json/flat/sutra.light.json +207 -0
  69. package/dist/json/flat/sutra.lightMore.json +207 -0
  70. package/dist/json/flat/ujala.dark.json +207 -0
  71. package/dist/json/flat/ujala.darkMore.json +207 -0
  72. package/dist/json/flat/ujala.light.json +207 -0
  73. package/dist/json/flat/ujala.lightMore.json +207 -0
  74. package/dist/json/flat/y2k.dark.json +945 -0
  75. package/dist/json/flat/y2k.darkMore.json +945 -0
  76. package/dist/json/flat/y2k.light.json +945 -0
  77. package/dist/json/flat/y2k.lightMore.json +945 -0
  78. package/dist/json/nested/butter.dark.json +1177 -0
  79. package/dist/json/nested/butter.darkMore.json +1177 -0
  80. package/dist/json/nested/butter.light.json +1177 -0
  81. package/dist/json/nested/butter.lightMore.json +1177 -0
  82. package/dist/json/nested/chocolate.dark.json +1177 -0
  83. package/dist/json/nested/chocolate.darkMore.json +1177 -0
  84. package/dist/json/nested/chocolate.light.json +1177 -0
  85. package/dist/json/nested/chocolate.lightMore.json +1177 -0
  86. package/dist/json/nested/gothic.dark.json +1177 -0
  87. package/dist/json/nested/gothic.darkMore.json +1177 -0
  88. package/dist/json/nested/kesar.dark.json +295 -4
  89. package/dist/json/nested/kesar.darkMore.json +295 -4
  90. package/dist/json/nested/kesar.light.json +295 -4
  91. package/dist/json/nested/kesar.lightMore.json +295 -4
  92. package/dist/json/nested/matcha.dark.json +1177 -0
  93. package/dist/json/nested/matcha.darkMore.json +1177 -0
  94. package/dist/json/nested/matcha.light.json +1177 -0
  95. package/dist/json/nested/matcha.lightMore.json +1177 -0
  96. package/dist/json/nested/mitti.dark.json +295 -4
  97. package/dist/json/nested/mitti.darkMore.json +295 -4
  98. package/dist/json/nested/mitti.light.json +295 -4
  99. package/dist/json/nested/mitti.lightMore.json +295 -4
  100. package/dist/json/nested/nabh.dark.json +1177 -0
  101. package/dist/json/nested/nabh.darkMore.json +1177 -0
  102. package/dist/json/nested/nabh.light.json +1177 -0
  103. package/dist/json/nested/nabh.lightMore.json +1177 -0
  104. package/dist/json/nested/neem.dark.json +295 -4
  105. package/dist/json/nested/neem.darkMore.json +295 -4
  106. package/dist/json/nested/neem.light.json +295 -4
  107. package/dist/json/nested/neem.lightMore.json +295 -4
  108. package/dist/json/nested/neutral.dark.json +1177 -0
  109. package/dist/json/nested/neutral.darkMore.json +1177 -0
  110. package/dist/json/nested/neutral.light.json +1177 -0
  111. package/dist/json/nested/neutral.lightMore.json +1177 -0
  112. package/dist/json/nested/raat.dark.json +295 -4
  113. package/dist/json/nested/raat.darkMore.json +295 -4
  114. package/dist/json/nested/stone.dark.json +1177 -0
  115. package/dist/json/nested/stone.darkMore.json +1177 -0
  116. package/dist/json/nested/stone.light.json +1177 -0
  117. package/dist/json/nested/stone.lightMore.json +1177 -0
  118. package/dist/json/nested/sutra.dark.json +295 -4
  119. package/dist/json/nested/sutra.darkMore.json +295 -4
  120. package/dist/json/nested/sutra.light.json +295 -4
  121. package/dist/json/nested/sutra.lightMore.json +295 -4
  122. package/dist/json/nested/ujala.dark.json +295 -4
  123. package/dist/json/nested/ujala.darkMore.json +295 -4
  124. package/dist/json/nested/ujala.light.json +295 -4
  125. package/dist/json/nested/ujala.lightMore.json +295 -4
  126. package/dist/json/nested/y2k.dark.json +1177 -0
  127. package/dist/json/nested/y2k.darkMore.json +1177 -0
  128. package/dist/json/nested/y2k.light.json +1177 -0
  129. package/dist/json/nested/y2k.lightMore.json +1177 -0
  130. package/dist/kotlin/UndTokens.kt +15338 -2190
  131. package/dist/lib/build/formats/css.d.ts +7 -0
  132. package/dist/lib/build/formats/css.js +113 -3
  133. package/dist/lib/build/formats/dart.d.ts +0 -7
  134. package/dist/lib/build/formats/dart.js +22 -4
  135. package/dist/lib/build/formats/js.d.ts +0 -6
  136. package/dist/lib/build/formats/js.js +8 -1
  137. package/dist/lib/build/formats/kotlin.d.ts +1 -1
  138. package/dist/lib/build/formats/kotlin.js +43 -14
  139. package/dist/lib/build/formats/react-native.js +2 -1
  140. package/dist/lib/build/formats/swift.d.ts +0 -6
  141. package/dist/lib/build/formats/swift.js +78 -15
  142. package/dist/lib/build/formats/tailwind.js +22 -2
  143. package/dist/lib/build/index.js +6 -5
  144. package/dist/lib/build/native-model.d.ts +16 -0
  145. package/dist/lib/build/native-model.js +33 -0
  146. package/dist/lib/color/pairs.js +2 -1
  147. package/dist/lib/dtcg/engine.d.ts +6 -0
  148. package/dist/lib/dtcg/engine.js +21 -1
  149. package/dist/lib/source/generate.d.ts +3 -1
  150. package/dist/lib/source/generate.js +56 -7
  151. package/dist/lib/themes/aa.d.ts +44 -0
  152. package/dist/lib/themes/aa.js +168 -0
  153. package/dist/lib/themes/definitions.d.ts +21 -10
  154. package/dist/lib/themes/definitions.js +181 -5
  155. package/dist/lib/themes/generate.d.ts +47 -0
  156. package/dist/lib/themes/generate.js +329 -0
  157. package/dist/lib/themes/ported-map.d.ts +59 -0
  158. package/dist/lib/themes/ported-map.js +618 -0
  159. package/dist/lib/themes/ported.d.ts +10 -0
  160. package/dist/lib/themes/ported.js +1764 -0
  161. package/dist/react-native/index.d.ts +132 -1
  162. package/dist/react-native/tokens.js +16487 -1656
  163. package/dist/scss/_variables.scss +346 -138
  164. package/dist/scss/_vars.scss +208 -1
  165. package/dist/scss/butter.dark.scss +946 -0
  166. package/dist/scss/butter.darkMore.scss +946 -0
  167. package/dist/scss/butter.light.scss +946 -0
  168. package/dist/scss/butter.lightMore.scss +946 -0
  169. package/dist/scss/chocolate.dark.scss +946 -0
  170. package/dist/scss/chocolate.darkMore.scss +946 -0
  171. package/dist/scss/chocolate.light.scss +946 -0
  172. package/dist/scss/chocolate.lightMore.scss +946 -0
  173. package/dist/scss/gothic.dark.scss +946 -0
  174. package/dist/scss/gothic.darkMore.scss +946 -0
  175. package/dist/scss/kesar.dark.scss +207 -0
  176. package/dist/scss/kesar.darkMore.scss +207 -0
  177. package/dist/scss/kesar.light.scss +207 -0
  178. package/dist/scss/kesar.lightMore.scss +207 -0
  179. package/dist/scss/matcha.dark.scss +946 -0
  180. package/dist/scss/matcha.darkMore.scss +946 -0
  181. package/dist/scss/matcha.light.scss +946 -0
  182. package/dist/scss/matcha.lightMore.scss +946 -0
  183. package/dist/scss/mitti.dark.scss +207 -0
  184. package/dist/scss/mitti.darkMore.scss +207 -0
  185. package/dist/scss/mitti.light.scss +207 -0
  186. package/dist/scss/mitti.lightMore.scss +207 -0
  187. package/dist/scss/nabh.dark.scss +946 -0
  188. package/dist/scss/nabh.darkMore.scss +946 -0
  189. package/dist/scss/nabh.light.scss +946 -0
  190. package/dist/scss/nabh.lightMore.scss +946 -0
  191. package/dist/scss/neem.dark.scss +207 -0
  192. package/dist/scss/neem.darkMore.scss +207 -0
  193. package/dist/scss/neem.light.scss +207 -0
  194. package/dist/scss/neem.lightMore.scss +207 -0
  195. package/dist/scss/neutral.dark.scss +946 -0
  196. package/dist/scss/neutral.darkMore.scss +946 -0
  197. package/dist/scss/neutral.light.scss +946 -0
  198. package/dist/scss/neutral.lightMore.scss +946 -0
  199. package/dist/scss/raat.dark.scss +207 -0
  200. package/dist/scss/raat.darkMore.scss +207 -0
  201. package/dist/scss/stone.dark.scss +946 -0
  202. package/dist/scss/stone.darkMore.scss +946 -0
  203. package/dist/scss/stone.light.scss +946 -0
  204. package/dist/scss/stone.lightMore.scss +946 -0
  205. package/dist/scss/sutra.dark.scss +207 -0
  206. package/dist/scss/sutra.darkMore.scss +207 -0
  207. package/dist/scss/sutra.light.scss +207 -0
  208. package/dist/scss/sutra.lightMore.scss +207 -0
  209. package/dist/scss/ujala.dark.scss +207 -0
  210. package/dist/scss/ujala.darkMore.scss +207 -0
  211. package/dist/scss/ujala.light.scss +207 -0
  212. package/dist/scss/ujala.lightMore.scss +207 -0
  213. package/dist/scss/y2k.dark.scss +946 -0
  214. package/dist/scss/y2k.darkMore.scss +946 -0
  215. package/dist/scss/y2k.light.scss +946 -0
  216. package/dist/scss/y2k.lightMore.scss +946 -0
  217. package/dist/swift/UndTokens.swift +6061 -3432
  218. package/dist/tailwind/und.css +198 -2
  219. package/package.json +5 -1
  220. package/tokens/modes/dark.tokens.json +241 -0
  221. package/tokens/modes/light.tokens.json +246 -0
  222. package/tokens/palettes/butter.dark.tokens.json +887 -0
  223. package/tokens/palettes/butter.light.tokens.json +872 -0
  224. package/tokens/palettes/chocolate.dark.tokens.json +917 -0
  225. package/tokens/palettes/chocolate.light.tokens.json +902 -0
  226. package/tokens/palettes/gothic.dark.tokens.json +831 -0
  227. package/tokens/palettes/matcha.dark.tokens.json +932 -0
  228. package/tokens/palettes/matcha.light.tokens.json +907 -0
  229. package/tokens/palettes/nabh.dark.tokens.json +498 -0
  230. package/tokens/palettes/nabh.light.tokens.json +498 -0
  231. package/tokens/palettes/neutral.dark.tokens.json +837 -0
  232. package/tokens/palettes/neutral.light.tokens.json +817 -0
  233. package/tokens/palettes/stone.dark.tokens.json +877 -0
  234. package/tokens/palettes/stone.light.tokens.json +877 -0
  235. package/tokens/palettes/y2k.dark.tokens.json +877 -0
  236. package/tokens/palettes/y2k.light.tokens.json +877 -0
  237. package/tokens/semantic/roles.tokens.json +521 -0
  238. package/tokens/themes/butter.tokens.json +254 -0
  239. package/tokens/themes/chocolate.tokens.json +214 -0
  240. package/tokens/themes/gothic.tokens.json +249 -0
  241. package/tokens/themes/matcha.tokens.json +258 -0
  242. package/tokens/themes/nabh.tokens.json +174 -0
  243. package/tokens/themes/neutral.tokens.json +234 -0
  244. package/tokens/themes/stone.tokens.json +254 -0
  245. package/tokens/themes/ujala.tokens.json +1 -1
  246. package/tokens/themes/y2k.tokens.json +264 -0
  247. package/tokens/und.resolver.json +40 -4
@@ -0,0 +1,521 @@
1
+ {
2
+ "$description": "Roles added with the default theme (Nabh): cards, hover tints, icons, categorical tones, data colours, syntax, the element type scale, element radii and sizes. Themes with a palette override them; the original themes derive them from their scales.",
3
+ "bg": {
4
+ "card": { "$type": "color", "$value": "{bg.surface}", "$description": "Cards on the page body." },
5
+ "hover": {
6
+ "$type": "color",
7
+ "$value": "{scale.neutral.a3}",
8
+ "$description": "Hover tint laid over any surface."
9
+ },
10
+ "pressed": {
11
+ "$type": "color",
12
+ "$value": "{scale.neutral.a4}",
13
+ "$description": "Pressed tint laid over any surface."
14
+ },
15
+ "inverse-danger": {
16
+ "$type": "color",
17
+ "$value": "{status.danger.solid}",
18
+ "$description": "Inverted error surface (error toasts)."
19
+ },
20
+ "skeleton": { "$type": "color", "$value": "{scale.neutral.5}", "$description": "Loading placeholders." },
21
+ "track": {
22
+ "$type": "color",
23
+ "$value": "{scale.neutral.6}",
24
+ "$description": "Progress, slider and switch tracks."
25
+ }
26
+ },
27
+ "fg": {
28
+ "on-dark": { "$type": "color", "$value": "{color.white}", "$description": "Text on dark media." },
29
+ "on-light": { "$type": "color", "$value": "{color.black}", "$description": "Text on light media." }
30
+ },
31
+ "icon": {
32
+ "default": { "$type": "color", "$value": "{fg.default}" },
33
+ "muted": { "$type": "color", "$value": "{fg.muted}" },
34
+ "disabled": { "$type": "color", "$value": "{fg.disabled}" },
35
+ "accent": { "$type": "color", "$value": "{accent.fg}" }
36
+ },
37
+ "status": {
38
+ "info": { "icon": { "$type": "color", "$value": "{status.info.fg}" } },
39
+ "success": { "icon": { "$type": "color", "$value": "{status.success.fg}" } },
40
+ "warning": { "icon": { "$type": "color", "$value": "{status.warning.fg}" } },
41
+ "danger": { "icon": { "$type": "color", "$value": "{status.danger.fg}" } }
42
+ },
43
+ "tone": {
44
+ "blue": {
45
+ "icon": { "$type": "color", "$value": "{tone.blue.fg}" },
46
+ "bg": {
47
+ "$type": "color",
48
+ "$value": {
49
+ "colorSpace": "srgb",
50
+ "components": [0.0039, 0.4431, 0.8902],
51
+ "alpha": 0.2,
52
+ "hex": "#0171e3"
53
+ }
54
+ }
55
+ },
56
+ "cyan": {
57
+ "icon": { "$type": "color", "$value": "{tone.cyan.fg}" },
58
+ "bg": {
59
+ "$type": "color",
60
+ "$value": {
61
+ "colorSpace": "srgb",
62
+ "components": [0.0118, 0.6549, 0.8431],
63
+ "alpha": 0.2,
64
+ "hex": "#03a7d7"
65
+ }
66
+ }
67
+ },
68
+ "gray": { "icon": { "$type": "color", "$value": "{tone.gray.fg}" } },
69
+ "green": {
70
+ "icon": { "$type": "color", "$value": "{tone.green.fg}" },
71
+ "bg": {
72
+ "$type": "color",
73
+ "$value": {
74
+ "colorSpace": "srgb",
75
+ "components": [0.1412, 0.7333, 0.3686],
76
+ "alpha": 0.2,
77
+ "hex": "#24bb5e"
78
+ }
79
+ }
80
+ },
81
+ "orange": {
82
+ "icon": { "$type": "color", "$value": "{tone.orange.fg}" },
83
+ "bg": {
84
+ "$type": "color",
85
+ "$value": {
86
+ "colorSpace": "srgb",
87
+ "components": [0.949, 0.4745, 0.0078],
88
+ "alpha": 0.2,
89
+ "hex": "#f27902"
90
+ }
91
+ }
92
+ },
93
+ "pink": {
94
+ "icon": { "$type": "color", "$value": "{tone.pink.fg}" },
95
+ "bg": {
96
+ "$type": "color",
97
+ "$value": {
98
+ "colorSpace": "srgb",
99
+ "components": [0.902, 0.2196, 0.702],
100
+ "alpha": 0.2,
101
+ "hex": "#e638b3"
102
+ }
103
+ }
104
+ },
105
+ "purple": {
106
+ "icon": { "$type": "color", "$value": "{tone.purple.fg}" },
107
+ "bg": {
108
+ "$type": "color",
109
+ "$value": { "colorSpace": "srgb", "components": [0.4745, 0.3216, 1], "alpha": 0.2, "hex": "#7952ff" }
110
+ }
111
+ },
112
+ "red": {
113
+ "icon": { "$type": "color", "$value": "{tone.red.fg}" },
114
+ "bg": {
115
+ "$type": "color",
116
+ "$value": {
117
+ "colorSpace": "srgb",
118
+ "components": [0.8902, 0.098, 0.2314],
119
+ "alpha": 0.2,
120
+ "hex": "#e3193b"
121
+ }
122
+ }
123
+ },
124
+ "teal": {
125
+ "icon": { "$type": "color", "$value": "{tone.teal.fg}" },
126
+ "bg": {
127
+ "$type": "color",
128
+ "$value": {
129
+ "colorSpace": "srgb",
130
+ "components": [0.051, 0.7176, 0.6863],
131
+ "alpha": 0.2,
132
+ "hex": "#0db7af"
133
+ }
134
+ }
135
+ },
136
+ "yellow": {
137
+ "icon": { "$type": "color", "$value": "{tone.yellow.fg}" },
138
+ "bg": {
139
+ "$type": "color",
140
+ "$value": { "colorSpace": "srgb", "components": [0.8863, 0.6431, 0], "alpha": 0.2, "hex": "#e2a400" }
141
+ }
142
+ }
143
+ },
144
+ "syntax": {
145
+ "keyword": { "$type": "color", "$value": "{accent.fg}" },
146
+ "string": { "$type": "color", "$value": "{tone.green.fg}" },
147
+ "comment": { "$type": "color", "$value": "{fg.muted}" },
148
+ "number": { "$type": "color", "$value": "{tone.orange.fg}" },
149
+ "function": { "$type": "color", "$value": "{tone.blue.fg}" },
150
+ "type": { "$type": "color", "$value": "{tone.purple.fg}" },
151
+ "variable": { "$type": "color", "$value": "{fg.default}" },
152
+ "operator": { "$type": "color", "$value": "{tone.cyan.fg}" },
153
+ "constant": { "$type": "color", "$value": "{tone.orange.fg}" },
154
+ "tag": { "$type": "color", "$value": "{tone.red.fg}" },
155
+ "attribute": { "$type": "color", "$value": "{tone.teal.fg}" },
156
+ "property": { "$type": "color", "$value": "{tone.cyan.fg}" },
157
+ "punctuation": { "$type": "color", "$value": "{fg.muted}" },
158
+ "background": { "$type": "color", "$value": "{bg.subtle}" },
159
+ "diff-header": { "$type": "color", "$value": "{bg.subtle}" },
160
+ "added-marker": { "$type": "color", "$value": "{tone.green.fg}" },
161
+ "removed-marker": { "$type": "color", "$value": "{tone.red.fg}" }
162
+ },
163
+ "data": {
164
+ "categorical": {
165
+ "blue": {
166
+ "$type": "color",
167
+ "$value": { "colorSpace": "srgb", "components": [0.0039, 0.4431, 0.8902], "hex": "#0171e3" }
168
+ },
169
+ "orange": {
170
+ "$type": "color",
171
+ "$value": { "colorSpace": "srgb", "components": [0.9216, 0.4314, 0], "hex": "#eb6e00" }
172
+ },
173
+ "purple": {
174
+ "$type": "color",
175
+ "$value": { "colorSpace": "srgb", "components": [0.4196, 0.1176, 0.9922], "hex": "#6b1efd" }
176
+ },
177
+ "green": {
178
+ "$type": "color",
179
+ "$value": { "colorSpace": "srgb", "components": [0.0431, 0.6, 0.1216], "hex": "#0b991f" }
180
+ },
181
+ "pink": {
182
+ "$type": "color",
183
+ "$value": { "colorSpace": "srgb", "components": [0.9529, 0.3176, 0.7529], "hex": "#f351c0" }
184
+ },
185
+ "cyan": {
186
+ "$type": "color",
187
+ "$value": { "colorSpace": "srgb", "components": [0.0039, 0.4431, 0.6431], "hex": "#0171a4" }
188
+ },
189
+ "red": {
190
+ "$type": "color",
191
+ "$value": { "colorSpace": "srgb", "components": [0.9608, 0.2235, 0.3098], "hex": "#f5394f" }
192
+ },
193
+ "teal": {
194
+ "$type": "color",
195
+ "$value": { "colorSpace": "srgb", "components": [0.0314, 0.6392, 0.6392], "hex": "#08a3a3" }
196
+ },
197
+ "brown": {
198
+ "$type": "color",
199
+ "$value": { "colorSpace": "srgb", "components": [0.5882, 0.3686, 0.0118], "hex": "#965e03" }
200
+ },
201
+ "indigo": {
202
+ "$type": "color",
203
+ "$value": { "colorSpace": "srgb", "components": [0.4353, 0.5412, 1], "hex": "#6f8aff" }
204
+ }
205
+ },
206
+ "blue": {
207
+ "1": {
208
+ "$type": "color",
209
+ "$value": { "colorSpace": "srgb", "components": [0.8588, 0.9255, 1], "hex": "#dbecff" }
210
+ },
211
+ "2": {
212
+ "$type": "color",
213
+ "$value": { "colorSpace": "srgb", "components": [0.4706, 0.7451, 1], "hex": "#78beff" }
214
+ },
215
+ "3": {
216
+ "$type": "color",
217
+ "$value": { "colorSpace": "srgb", "components": [0.149, 0.5804, 0.9961], "hex": "#2694fe" }
218
+ },
219
+ "4": {
220
+ "$type": "color",
221
+ "$value": { "colorSpace": "srgb", "components": [0, 0.298, 0.7373], "hex": "#004cbc" }
222
+ },
223
+ "5": {
224
+ "$type": "color",
225
+ "$value": { "colorSpace": "srgb", "components": [0.0078, 0.0863, 0.3686], "hex": "#02165e" }
226
+ }
227
+ },
228
+ "shamrock": {
229
+ "1": {
230
+ "$type": "color",
231
+ "$value": { "colorSpace": "srgb", "components": [0.8392, 0.9961, 0.8941], "hex": "#d6fee4" }
232
+ },
233
+ "2": {
234
+ "$type": "color",
235
+ "$value": { "colorSpace": "srgb", "components": [0.5569, 0.9686, 0.6667], "hex": "#8ef7aa" }
236
+ },
237
+ "3": {
238
+ "$type": "color",
239
+ "$value": { "colorSpace": "srgb", "components": [0.1412, 0.7333, 0.3686], "hex": "#24bb5e" }
240
+ },
241
+ "4": {
242
+ "$type": "color",
243
+ "$value": { "colorSpace": "srgb", "components": [0.0745, 0.5216, 0.2745], "hex": "#138546" }
244
+ },
245
+ "5": {
246
+ "$type": "color",
247
+ "$value": { "colorSpace": "srgb", "components": [0.0431, 0.3765, 0.2392], "hex": "#0b603d" }
248
+ }
249
+ },
250
+ "orange": {
251
+ "1": {
252
+ "$type": "color",
253
+ "$value": { "colorSpace": "srgb", "components": [1, 0.902, 0.8118], "hex": "#ffe6cf" }
254
+ },
255
+ "2": {
256
+ "$type": "color",
257
+ "$value": { "colorSpace": "srgb", "components": [0.9922, 0.7216, 0.4627], "hex": "#fdb876" }
258
+ },
259
+ "3": {
260
+ "$type": "color",
261
+ "$value": { "colorSpace": "srgb", "components": [0.9922, 0.5843, 0.2157], "hex": "#fd9537" }
262
+ },
263
+ "4": {
264
+ "$type": "color",
265
+ "$value": { "colorSpace": "srgb", "components": [0.8392, 0.3804, 0], "hex": "#d66100" }
266
+ },
267
+ "5": {
268
+ "$type": "color",
269
+ "$value": { "colorSpace": "srgb", "components": [0.6314, 0.2471, 0.0157], "hex": "#a13f04" }
270
+ }
271
+ },
272
+ "pink": {
273
+ "1": {
274
+ "$type": "color",
275
+ "$value": { "colorSpace": "srgb", "components": [0.9882, 0.8902, 0.9569], "hex": "#fce3f4" }
276
+ },
277
+ "2": {
278
+ "$type": "color",
279
+ "$value": { "colorSpace": "srgb", "components": [0.9961, 0.6784, 0.8902], "hex": "#feade3" }
280
+ },
281
+ "3": {
282
+ "$type": "color",
283
+ "$value": { "colorSpace": "srgb", "components": [0.9765, 0.5373, 0.8275], "hex": "#f989d3" }
284
+ },
285
+ "4": {
286
+ "$type": "color",
287
+ "$value": { "colorSpace": "srgb", "components": [0.8196, 0.1373, 0.6314], "hex": "#d123a1" }
288
+ },
289
+ "5": {
290
+ "$type": "color",
291
+ "$value": { "colorSpace": "srgb", "components": [0.5569, 0.0627, 0.451], "hex": "#8e1073" }
292
+ }
293
+ },
294
+ "purple": {
295
+ "1": {
296
+ "$type": "color",
297
+ "$value": { "colorSpace": "srgb", "components": [0.9098, 0.9098, 0.9843], "hex": "#e8e8fb" }
298
+ },
299
+ "2": {
300
+ "$type": "color",
301
+ "$value": { "colorSpace": "srgb", "components": [0.702, 0.6902, 0.9961], "hex": "#b3b0fe" }
302
+ },
303
+ "3": {
304
+ "$type": "color",
305
+ "$value": { "colorSpace": "srgb", "components": [0.5647, 0.5059, 1], "hex": "#9081ff" }
306
+ },
307
+ "4": {
308
+ "$type": "color",
309
+ "$value": { "colorSpace": "srgb", "components": [0.4196, 0.1176, 0.9922], "hex": "#6b1efd" }
310
+ },
311
+ "5": {
312
+ "$type": "color",
313
+ "$value": { "colorSpace": "srgb", "components": [0.2431, 0.0235, 0.5922], "hex": "#3e0697" }
314
+ }
315
+ },
316
+ "red": {
317
+ "1": {
318
+ "$type": "color",
319
+ "$value": { "colorSpace": "srgb", "components": [0.9961, 0.8941, 0.902], "hex": "#fee4e6" }
320
+ },
321
+ "2": {
322
+ "$type": "color",
323
+ "$value": { "colorSpace": "srgb", "components": [1, 0.698, 0.7216], "hex": "#ffb2b8" }
324
+ },
325
+ "3": {
326
+ "$type": "color",
327
+ "$value": { "colorSpace": "srgb", "components": [0.9843, 0.4902, 0.5294], "hex": "#fb7d87" }
328
+ },
329
+ "4": {
330
+ "$type": "color",
331
+ "$value": { "colorSpace": "srgb", "components": [0.8275, 0.0667, 0.1882], "hex": "#d31130" }
332
+ },
333
+ "5": {
334
+ "$type": "color",
335
+ "$value": { "colorSpace": "srgb", "components": [0.6157, 0.0196, 0.098], "hex": "#9d0519" }
336
+ }
337
+ },
338
+ "teal": {
339
+ "1": {
340
+ "$type": "color",
341
+ "$value": { "colorSpace": "srgb", "components": [0.8431, 0.9882, 0.9725], "hex": "#d7fcf8" }
342
+ },
343
+ "2": {
344
+ "$type": "color",
345
+ "$value": { "colorSpace": "srgb", "components": [0.4235, 0.902, 0.8471], "hex": "#6ce6d8" }
346
+ },
347
+ "3": {
348
+ "$type": "color",
349
+ "$value": { "colorSpace": "srgb", "components": [0.051, 0.7176, 0.6863], "hex": "#0db7af" }
350
+ },
351
+ "4": {
352
+ "$type": "color",
353
+ "$value": { "colorSpace": "srgb", "components": [0.0471, 0.5725, 0.5765], "hex": "#0c9293" }
354
+ },
355
+ "5": {
356
+ "$type": "color",
357
+ "$value": { "colorSpace": "srgb", "components": [0.0314, 0.4627, 0.4902], "hex": "#08767d" }
358
+ }
359
+ },
360
+ "yellow": {
361
+ "1": {
362
+ "$type": "color",
363
+ "$value": { "colorSpace": "srgb", "components": [0.9922, 0.9647, 0.7294], "hex": "#fdf6ba" }
364
+ },
365
+ "2": {
366
+ "$type": "color",
367
+ "$value": { "colorSpace": "srgb", "components": [0.9882, 0.9255, 0.5216], "hex": "#fcec85" }
368
+ },
369
+ "3": {
370
+ "$type": "color",
371
+ "$value": { "colorSpace": "srgb", "components": [0.9843, 0.8078, 0.0118], "hex": "#fbce03" }
372
+ },
373
+ "4": {
374
+ "$type": "color",
375
+ "$value": { "colorSpace": "srgb", "components": [0.8392, 0.5961, 0.0157], "hex": "#d69804" }
376
+ },
377
+ "5": {
378
+ "$type": "color",
379
+ "$value": { "colorSpace": "srgb", "components": [0.5412, 0.3137, 0.0039], "hex": "#8a5001" }
380
+ }
381
+ }
382
+ },
383
+ "shadow": {
384
+ "low": { "$type": "shadow", "$value": "{shadow.1}" },
385
+ "med": { "$type": "shadow", "$value": "{shadow.2}" },
386
+ "high": { "$type": "shadow", "$value": "{shadow.3}" }
387
+ },
388
+ "radius": {
389
+ "inner": { "$type": "dimension", "$value": "{radius.sm}", "$description": "Nested elements (4px)." },
390
+ "element": {
391
+ "$type": "dimension",
392
+ "$value": "{radius.lg}",
393
+ "$description": "Buttons, inputs, list items (8px)."
394
+ },
395
+ "container": {
396
+ "$type": "dimension",
397
+ "$value": "{radius.xl}",
398
+ "$description": "Cards, popovers, dialogs (12px)."
399
+ },
400
+ "page": {
401
+ "$type": "dimension",
402
+ "$value": { "value": 28, "unit": "px" },
403
+ "$description": "Page-level sheets (28px).",
404
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
405
+ },
406
+ "chat": {
407
+ "$type": "dimension",
408
+ "$value": "{radius.container}",
409
+ "$description": "Chat bubbles and composers."
410
+ }
411
+ },
412
+ "size": {
413
+ "element": {
414
+ "sm": { "$type": "dimension", "$value": { "value": 28, "unit": "px" } },
415
+ "md": { "$type": "dimension", "$value": { "value": 32, "unit": "px" } },
416
+ "lg": { "$type": "dimension", "$value": { "value": 36, "unit": "px" } }
417
+ }
418
+ },
419
+ "space": {
420
+ "7": { "$type": "dimension", "$value": { "value": 1.75, "unit": "rem" } },
421
+ "9": { "$type": "dimension", "$value": { "value": 2.25, "unit": "rem" } },
422
+ "11": { "$type": "dimension", "$value": { "value": 2.75, "unit": "rem" } }
423
+ },
424
+ "font-size": {
425
+ "4xs": { "$type": "dimension", "$value": { "value": 0.375, "unit": "rem" } },
426
+ "3xs": { "$type": "dimension", "$value": { "value": 0.4375, "unit": "rem" } },
427
+ "2xs": { "$type": "dimension", "$value": { "value": 0.5, "unit": "rem" } },
428
+ "xs": { "$type": "dimension", "$value": { "value": 0.625, "unit": "rem" } },
429
+ "sm": { "$type": "dimension", "$value": { "value": 0.75, "unit": "rem" } },
430
+ "base": { "$type": "dimension", "$value": { "value": 0.875, "unit": "rem" } },
431
+ "lg": { "$type": "dimension", "$value": { "value": 1.0625, "unit": "rem" } },
432
+ "xl": { "$type": "dimension", "$value": { "value": 1.25, "unit": "rem" } },
433
+ "2xl": { "$type": "dimension", "$value": { "value": 1.5, "unit": "rem" } },
434
+ "3xl": { "$type": "dimension", "$value": { "value": 1.8125, "unit": "rem" } },
435
+ "4xl": { "$type": "dimension", "$value": { "value": 2.1875, "unit": "rem" } },
436
+ "5xl": { "$type": "dimension", "$value": { "value": 2.625, "unit": "rem" } }
437
+ },
438
+ "font-weight": { "normal": { "$type": "fontWeight", "$value": "{font-weight.regular}" } },
439
+ "type": {
440
+ "heading-1": {
441
+ "size": { "$type": "dimension", "$value": "{font-size.2xl}" },
442
+ "weight": { "$type": "fontWeight", "$value": 600 },
443
+ "leading": { "$type": "number", "$value": 1.3333 }
444
+ },
445
+ "heading-2": {
446
+ "size": { "$type": "dimension", "$value": "{font-size.xl}" },
447
+ "weight": { "$type": "fontWeight", "$value": 600 },
448
+ "leading": { "$type": "number", "$value": 1.4 }
449
+ },
450
+ "heading-3": {
451
+ "size": { "$type": "dimension", "$value": "{font-size.lg}" },
452
+ "weight": { "$type": "fontWeight", "$value": 600 },
453
+ "leading": { "$type": "number", "$value": 1.4118 }
454
+ },
455
+ "heading-4": {
456
+ "size": { "$type": "dimension", "$value": "{font-size.base}" },
457
+ "weight": { "$type": "fontWeight", "$value": 600 },
458
+ "leading": { "$type": "number", "$value": 1.4286 }
459
+ },
460
+ "heading-5": {
461
+ "size": { "$type": "dimension", "$value": "{font-size.sm}" },
462
+ "weight": { "$type": "fontWeight", "$value": 600 },
463
+ "leading": { "$type": "number", "$value": 1.6667 }
464
+ },
465
+ "heading-6": {
466
+ "size": { "$type": "dimension", "$value": "{font-size.xs}" },
467
+ "weight": { "$type": "fontWeight", "$value": 600 },
468
+ "leading": { "$type": "number", "$value": 1.6 }
469
+ },
470
+ "display-1": {
471
+ "size": { "$type": "dimension", "$value": "{font-size.5xl}" },
472
+ "weight": { "$type": "fontWeight", "$value": 400 },
473
+ "leading": { "$type": "number", "$value": 1.2381 }
474
+ },
475
+ "display-2": {
476
+ "size": { "$type": "dimension", "$value": "{font-size.4xl}" },
477
+ "weight": { "$type": "fontWeight", "$value": 400 },
478
+ "leading": { "$type": "number", "$value": 1.2571 }
479
+ },
480
+ "display-3": {
481
+ "size": { "$type": "dimension", "$value": "{font-size.3xl}" },
482
+ "weight": { "$type": "fontWeight", "$value": 400 },
483
+ "leading": { "$type": "number", "$value": 1.2414 }
484
+ },
485
+ "body": {
486
+ "size": { "$type": "dimension", "$value": "{font-size.base}" },
487
+ "weight": { "$type": "fontWeight", "$value": 400 },
488
+ "leading": { "$type": "number", "$value": 1.4286 }
489
+ },
490
+ "large": {
491
+ "size": { "$type": "dimension", "$value": "{font-size.lg}" },
492
+ "weight": { "$type": "fontWeight", "$value": 600 },
493
+ "leading": { "$type": "number", "$value": 1.4118 }
494
+ },
495
+ "label": {
496
+ "size": { "$type": "dimension", "$value": "{font-size.base}" },
497
+ "weight": { "$type": "fontWeight", "$value": 500 },
498
+ "leading": { "$type": "number", "$value": 1.4286 }
499
+ },
500
+ "code": {
501
+ "size": { "$type": "dimension", "$value": "{font-size.base}" },
502
+ "weight": { "$type": "fontWeight", "$value": 400 },
503
+ "leading": { "$type": "number", "$value": 1.4286 }
504
+ },
505
+ "supporting": {
506
+ "size": { "$type": "dimension", "$value": "{font-size.sm}" },
507
+ "weight": { "$type": "fontWeight", "$value": 400 },
508
+ "leading": { "$type": "number", "$value": 1.6667 }
509
+ }
510
+ },
511
+ "duration": {
512
+ "exit": { "$type": "duration", "$value": "{duration.fast}", "$description": "Standard dismissal." }
513
+ },
514
+ "ease": {
515
+ "standard": {
516
+ "$type": "cubicBezier",
517
+ "$value": "{ease.enter}",
518
+ "$description": "Decelerating standard curve."
519
+ }
520
+ }
521
+ }