@und-ui/tokens 0.1.0 → 0.3.0

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,174 @@
1
+ {
2
+ "$description": "Nabh: Default. Clear sky blue on cool greys, system fonts and crisp radii: calm and familiar on every platform.",
3
+ "$extensions": {
4
+ "com.urnextdoor.und": {
5
+ "theme": {
6
+ "name": "nabh",
7
+ "label": "Nabh",
8
+ "modes": ["light", "dark"],
9
+ "radiusFactor": 1,
10
+ "tempo": 1,
11
+ "character": "standard",
12
+ "density": "comfortable",
13
+ "glass": "off"
14
+ }
15
+ }
16
+ },
17
+ "scale": {
18
+ "$type": "color",
19
+ "accent": {
20
+ "$description": "Theme accent scale. Semantic tokens read these, never hue names.",
21
+ "1": { "$value": "{color.blue.1}" },
22
+ "2": { "$value": "{color.blue.2}" },
23
+ "3": { "$value": "{color.blue.3}" },
24
+ "4": { "$value": "{color.blue.4}" },
25
+ "5": { "$value": "{color.blue.5}" },
26
+ "6": { "$value": "{color.blue.6}" },
27
+ "7": { "$value": "{color.blue.7}" },
28
+ "8": { "$value": "{color.blue.8}" },
29
+ "9": { "$value": "{color.blue.9}" },
30
+ "10": { "$value": "{color.blue.10}" },
31
+ "11": { "$value": "{color.blue.11}" },
32
+ "12": { "$value": "{color.blue.12}" },
33
+ "a1": { "$value": "{color.blue.a1}" },
34
+ "a2": { "$value": "{color.blue.a2}" },
35
+ "a3": { "$value": "{color.blue.a3}" },
36
+ "a4": { "$value": "{color.blue.a4}" },
37
+ "a5": { "$value": "{color.blue.a5}" },
38
+ "a6": { "$value": "{color.blue.a6}" },
39
+ "a7": { "$value": "{color.blue.a7}" },
40
+ "a8": { "$value": "{color.blue.a8}" },
41
+ "a9": { "$value": "{color.blue.a9}" },
42
+ "a10": { "$value": "{color.blue.a10}" },
43
+ "a11": { "$value": "{color.blue.a11}" },
44
+ "a12": { "$value": "{color.blue.a12}" },
45
+ "contrast": { "$value": "{color.blue.contrast}" }
46
+ },
47
+ "neutral": {
48
+ "$description": "Theme neutral scale.",
49
+ "1": { "$value": "{color.neutral.1}" },
50
+ "2": { "$value": "{color.neutral.2}" },
51
+ "3": { "$value": "{color.neutral.3}" },
52
+ "4": { "$value": "{color.neutral.4}" },
53
+ "5": { "$value": "{color.neutral.5}" },
54
+ "6": { "$value": "{color.neutral.6}" },
55
+ "7": { "$value": "{color.neutral.7}" },
56
+ "8": { "$value": "{color.neutral.8}" },
57
+ "9": { "$value": "{color.neutral.9}" },
58
+ "10": { "$value": "{color.neutral.10}" },
59
+ "11": { "$value": "{color.neutral.11}" },
60
+ "12": { "$value": "{color.neutral.12}" },
61
+ "a1": { "$value": "{color.neutral.a1}" },
62
+ "a2": { "$value": "{color.neutral.a2}" },
63
+ "a3": { "$value": "{color.neutral.a3}" },
64
+ "a4": { "$value": "{color.neutral.a4}" },
65
+ "a5": { "$value": "{color.neutral.a5}" },
66
+ "a6": { "$value": "{color.neutral.a6}" },
67
+ "a7": { "$value": "{color.neutral.a7}" },
68
+ "a8": { "$value": "{color.neutral.a8}" },
69
+ "a9": { "$value": "{color.neutral.a9}" },
70
+ "a10": { "$value": "{color.neutral.a10}" },
71
+ "a11": { "$value": "{color.neutral.a11}" },
72
+ "a12": { "$value": "{color.neutral.a12}" }
73
+ },
74
+ "accent-text": {
75
+ "$description": "Scale for accent text and links (Sutra uses blue).",
76
+ "11": { "$value": "{color.blue.11}" },
77
+ "12": { "$value": "{color.blue.12}" }
78
+ }
79
+ },
80
+ "radius": { "factor": { "$type": "number", "$value": 1 } },
81
+ "motion": {
82
+ "tempo": { "$type": "number", "$value": 1 },
83
+ "ease": {
84
+ "$type": "cubicBezier",
85
+ "enter": { "$value": "{ease.enter}" },
86
+ "move": { "$type": "cubicBezier", "$value": "{ease.standard}" }
87
+ }
88
+ },
89
+ "typeface": {
90
+ "$type": "fontFamily",
91
+ "body": {
92
+ "$value": [
93
+ "-apple-system",
94
+ "BlinkMacSystemFont",
95
+ "Segoe UI",
96
+ "Roboto",
97
+ "Helvetica",
98
+ "Arial",
99
+ "Noto Sans Devanagari",
100
+ "Noto Sans",
101
+ "Nirmala UI",
102
+ "Kohinoor Devanagari",
103
+ "sans-serif"
104
+ ]
105
+ },
106
+ "heading": {
107
+ "$value": [
108
+ "-apple-system",
109
+ "BlinkMacSystemFont",
110
+ "Segoe UI",
111
+ "Roboto",
112
+ "Helvetica",
113
+ "Arial",
114
+ "Noto Sans Devanagari",
115
+ "Noto Sans",
116
+ "Nirmala UI",
117
+ "Kohinoor Devanagari",
118
+ "sans-serif"
119
+ ]
120
+ },
121
+ "display": {
122
+ "$value": [
123
+ "-apple-system",
124
+ "BlinkMacSystemFont",
125
+ "Segoe UI",
126
+ "Roboto",
127
+ "Helvetica",
128
+ "Arial",
129
+ "Noto Sans Devanagari",
130
+ "Noto Sans",
131
+ "Nirmala UI",
132
+ "Kohinoor Devanagari",
133
+ "sans-serif"
134
+ ]
135
+ },
136
+ "code": { "$value": ["SF Mono", "Monaco", "Consolas", "monospace"] }
137
+ },
138
+ "shape": {
139
+ "control": { "$type": "dimension", "$value": "{radius.element}" },
140
+ "card": { "$type": "dimension", "$value": "{radius.container}" },
141
+ "dialog": { "$type": "dimension", "$value": "{radius.container}" },
142
+ "popover": { "$type": "dimension", "$value": "{radius.container}" }
143
+ },
144
+ "focus": {
145
+ "offset": { "$type": "dimension", "$value": { "value": 3, "unit": "px" } }
146
+ },
147
+ "material": {
148
+ "thin": {
149
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
150
+ "border": { "$type": "color", "$value": "{border.default}" },
151
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
152
+ "saturate": { "$type": "number", "$value": 1 }
153
+ },
154
+ "regular": {
155
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
156
+ "border": { "$type": "color", "$value": "{border.default}" },
157
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
158
+ "saturate": { "$type": "number", "$value": 1 }
159
+ },
160
+ "thick": {
161
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
162
+ "border": { "$type": "color", "$value": "{border.default}" },
163
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
164
+ "saturate": { "$type": "number", "$value": 1 }
165
+ },
166
+ "chrome": {
167
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
168
+ "border": { "$type": "color", "$value": "{border.default}" },
169
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
170
+ "saturate": { "$type": "number", "$value": 1 },
171
+ "highlight": { "$type": "color", "$value": "{color.transparent}" }
172
+ }
173
+ }
174
+ }
@@ -0,0 +1,234 @@
1
+ {
2
+ "$description": "Neutral: Restrained warm greys. Minimal and quiet, so the content stays the focus.",
3
+ "$extensions": {
4
+ "com.urnextdoor.und": {
5
+ "theme": {
6
+ "name": "neutral",
7
+ "label": "Neutral",
8
+ "modes": ["light", "dark"],
9
+ "radiusFactor": 1,
10
+ "tempo": 1,
11
+ "character": "standard",
12
+ "density": "comfortable",
13
+ "glass": "off"
14
+ }
15
+ }
16
+ },
17
+ "scale": {
18
+ "$type": "color",
19
+ "accent": {
20
+ "$description": "Theme accent scale. Semantic tokens read these, never hue names.",
21
+ "1": { "$value": "{color.gray.1}" },
22
+ "2": { "$value": "{color.gray.2}" },
23
+ "3": { "$value": "{color.gray.3}" },
24
+ "4": { "$value": "{color.gray.4}" },
25
+ "5": { "$value": "{color.gray.5}" },
26
+ "6": { "$value": "{color.gray.6}" },
27
+ "7": { "$value": "{color.gray.7}" },
28
+ "8": { "$value": "{color.gray.8}" },
29
+ "9": { "$value": "{color.gray.9}" },
30
+ "10": { "$value": "{color.gray.10}" },
31
+ "11": { "$value": "{color.gray.11}" },
32
+ "12": { "$value": "{color.gray.12}" },
33
+ "a1": { "$value": "{color.gray.a1}" },
34
+ "a2": { "$value": "{color.gray.a2}" },
35
+ "a3": { "$value": "{color.gray.a3}" },
36
+ "a4": { "$value": "{color.gray.a4}" },
37
+ "a5": { "$value": "{color.gray.a5}" },
38
+ "a6": { "$value": "{color.gray.a6}" },
39
+ "a7": { "$value": "{color.gray.a7}" },
40
+ "a8": { "$value": "{color.gray.a8}" },
41
+ "a9": { "$value": "{color.gray.a9}" },
42
+ "a10": { "$value": "{color.gray.a10}" },
43
+ "a11": { "$value": "{color.gray.a11}" },
44
+ "a12": { "$value": "{color.gray.a12}" },
45
+ "contrast": { "$value": "{color.gray.contrast}" }
46
+ },
47
+ "neutral": {
48
+ "$description": "Theme neutral scale.",
49
+ "1": { "$value": "{color.gray.1}" },
50
+ "2": { "$value": "{color.gray.2}" },
51
+ "3": { "$value": "{color.gray.3}" },
52
+ "4": { "$value": "{color.gray.4}" },
53
+ "5": { "$value": "{color.gray.5}" },
54
+ "6": { "$value": "{color.gray.6}" },
55
+ "7": { "$value": "{color.gray.7}" },
56
+ "8": { "$value": "{color.gray.8}" },
57
+ "9": { "$value": "{color.gray.9}" },
58
+ "10": { "$value": "{color.gray.10}" },
59
+ "11": { "$value": "{color.gray.11}" },
60
+ "12": { "$value": "{color.gray.12}" },
61
+ "a1": { "$value": "{color.gray.a1}" },
62
+ "a2": { "$value": "{color.gray.a2}" },
63
+ "a3": { "$value": "{color.gray.a3}" },
64
+ "a4": { "$value": "{color.gray.a4}" },
65
+ "a5": { "$value": "{color.gray.a5}" },
66
+ "a6": { "$value": "{color.gray.a6}" },
67
+ "a7": { "$value": "{color.gray.a7}" },
68
+ "a8": { "$value": "{color.gray.a8}" },
69
+ "a9": { "$value": "{color.gray.a9}" },
70
+ "a10": { "$value": "{color.gray.a10}" },
71
+ "a11": { "$value": "{color.gray.a11}" },
72
+ "a12": { "$value": "{color.gray.a12}" }
73
+ },
74
+ "accent-text": {
75
+ "$description": "Scale for accent text and links (Sutra uses blue).",
76
+ "11": { "$value": "{color.gray.11}" },
77
+ "12": { "$value": "{color.gray.12}" }
78
+ }
79
+ },
80
+ "radius": {
81
+ "factor": { "$type": "number", "$value": 1 },
82
+ "inner": {
83
+ "$type": "dimension",
84
+ "$value": { "value": 0.375, "unit": "rem" },
85
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
86
+ },
87
+ "element": {
88
+ "$type": "dimension",
89
+ "$value": { "value": 0.625, "unit": "rem" },
90
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
91
+ },
92
+ "container": {
93
+ "$type": "dimension",
94
+ "$value": { "value": 0.75, "unit": "rem" },
95
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
96
+ },
97
+ "page": {
98
+ "$type": "dimension",
99
+ "$value": { "value": 1.75, "unit": "rem" },
100
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
101
+ },
102
+ "chat": {
103
+ "$type": "dimension",
104
+ "$value": { "value": 28, "unit": "px" },
105
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
106
+ }
107
+ },
108
+ "motion": {
109
+ "tempo": { "$type": "number", "$value": 1 },
110
+ "ease": {
111
+ "$type": "cubicBezier",
112
+ "enter": { "$value": "{ease.enter}" },
113
+ "move": { "$type": "cubicBezier", "$value": "{ease.standard}" }
114
+ }
115
+ },
116
+ "typeface": {
117
+ "$type": "fontFamily",
118
+ "$extensions": { "com.urnextdoor.und": { "webFonts": ["figtree"] } },
119
+ "body": {
120
+ "$value": [
121
+ "Figtree",
122
+ "Figtree Fallback",
123
+ "-apple-system",
124
+ "BlinkMacSystemFont",
125
+ "Segoe UI",
126
+ "Roboto",
127
+ "Helvetica",
128
+ "Arial",
129
+ "Noto Sans Devanagari",
130
+ "Noto Sans",
131
+ "Nirmala UI",
132
+ "Kohinoor Devanagari",
133
+ "sans-serif"
134
+ ]
135
+ },
136
+ "heading": {
137
+ "$value": [
138
+ "Figtree",
139
+ "Figtree Fallback",
140
+ "-apple-system",
141
+ "BlinkMacSystemFont",
142
+ "Segoe UI",
143
+ "Roboto",
144
+ "Helvetica",
145
+ "Arial",
146
+ "Noto Sans Devanagari",
147
+ "Noto Sans",
148
+ "Nirmala UI",
149
+ "Kohinoor Devanagari",
150
+ "sans-serif"
151
+ ]
152
+ },
153
+ "display": {
154
+ "$value": [
155
+ "Figtree",
156
+ "Figtree Fallback",
157
+ "-apple-system",
158
+ "BlinkMacSystemFont",
159
+ "Segoe UI",
160
+ "Roboto",
161
+ "Helvetica",
162
+ "Arial",
163
+ "Noto Sans Devanagari",
164
+ "Noto Sans",
165
+ "Nirmala UI",
166
+ "Kohinoor Devanagari",
167
+ "sans-serif"
168
+ ]
169
+ },
170
+ "code": {
171
+ "$value": [
172
+ "ui-monospace",
173
+ "SF Mono",
174
+ "Monaco",
175
+ "Consolas",
176
+ "Liberation Mono",
177
+ "Courier New",
178
+ "monospace"
179
+ ]
180
+ }
181
+ },
182
+ "shape": {
183
+ "control": { "$type": "dimension", "$value": "{radius.element}" },
184
+ "card": { "$type": "dimension", "$value": "{radius.container}" },
185
+ "dialog": { "$type": "dimension", "$value": "{radius.container}" },
186
+ "popover": { "$type": "dimension", "$value": "{radius.container}" }
187
+ },
188
+ "type": {
189
+ "heading-3": { "weight": { "$type": "fontWeight", "$value": 700 } },
190
+ "heading-4": { "weight": { "$type": "fontWeight", "$value": 700 } },
191
+ "display-3": { "leading": { "$type": "number", "$value": 1.3793 } }
192
+ },
193
+ "duration": {
194
+ "fast-min": { "$type": "duration", "$value": { "value": 95, "unit": "ms" } },
195
+ "fast": { "$type": "duration", "$value": { "value": 125, "unit": "ms" } },
196
+ "fast-max": { "$type": "duration", "$value": { "value": 165, "unit": "ms" } },
197
+ "medium-min": { "$type": "duration", "$value": { "value": 225, "unit": "ms" } },
198
+ "medium": { "$type": "duration", "$value": { "value": 300, "unit": "ms" } },
199
+ "medium-max": { "$type": "duration", "$value": { "value": 400, "unit": "ms" } },
200
+ "slow-min": { "$type": "duration", "$value": { "value": 525, "unit": "ms" } },
201
+ "slow": { "$type": "duration", "$value": { "value": 700, "unit": "ms" } },
202
+ "slow-max": { "$type": "duration", "$value": { "value": 935, "unit": "ms" } }
203
+ },
204
+ "focus": {
205
+ "offset": { "$type": "dimension", "$value": { "value": 3, "unit": "px" } }
206
+ },
207
+ "material": {
208
+ "thin": {
209
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
210
+ "border": { "$type": "color", "$value": "{border.default}" },
211
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
212
+ "saturate": { "$type": "number", "$value": 1 }
213
+ },
214
+ "regular": {
215
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
216
+ "border": { "$type": "color", "$value": "{border.default}" },
217
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
218
+ "saturate": { "$type": "number", "$value": 1 }
219
+ },
220
+ "thick": {
221
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
222
+ "border": { "$type": "color", "$value": "{border.default}" },
223
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
224
+ "saturate": { "$type": "number", "$value": 1 }
225
+ },
226
+ "chrome": {
227
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
228
+ "border": { "$type": "color", "$value": "{border.default}" },
229
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
230
+ "saturate": { "$type": "number", "$value": 1 },
231
+ "highlight": { "$type": "color", "$value": "{color.transparent}" }
232
+ }
233
+ }
234
+ }
@@ -0,0 +1,254 @@
1
+ {
2
+ "$description": "Stone: Warm stone and slate, earthy and understated, with just enough character to feel handcrafted.",
3
+ "$extensions": {
4
+ "com.urnextdoor.und": {
5
+ "theme": {
6
+ "name": "stone",
7
+ "label": "Stone",
8
+ "modes": ["light", "dark"],
9
+ "radiusFactor": 1,
10
+ "tempo": 1,
11
+ "character": "standard",
12
+ "density": "comfortable",
13
+ "glass": "off"
14
+ }
15
+ }
16
+ },
17
+ "scale": {
18
+ "$type": "color",
19
+ "accent": {
20
+ "$description": "Theme accent scale. Semantic tokens read these, never hue names.",
21
+ "1": { "$value": "{color.neutral.1}" },
22
+ "2": { "$value": "{color.neutral.2}" },
23
+ "3": { "$value": "{color.neutral.3}" },
24
+ "4": { "$value": "{color.neutral.4}" },
25
+ "5": { "$value": "{color.neutral.5}" },
26
+ "6": { "$value": "{color.neutral.6}" },
27
+ "7": { "$value": "{color.neutral.7}" },
28
+ "8": { "$value": "{color.neutral.8}" },
29
+ "9": { "$value": "{color.neutral.9}" },
30
+ "10": { "$value": "{color.neutral.10}" },
31
+ "11": { "$value": "{color.neutral.11}" },
32
+ "12": { "$value": "{color.neutral.12}" },
33
+ "a1": { "$value": "{color.neutral.a1}" },
34
+ "a2": { "$value": "{color.neutral.a2}" },
35
+ "a3": { "$value": "{color.neutral.a3}" },
36
+ "a4": { "$value": "{color.neutral.a4}" },
37
+ "a5": { "$value": "{color.neutral.a5}" },
38
+ "a6": { "$value": "{color.neutral.a6}" },
39
+ "a7": { "$value": "{color.neutral.a7}" },
40
+ "a8": { "$value": "{color.neutral.a8}" },
41
+ "a9": { "$value": "{color.neutral.a9}" },
42
+ "a10": { "$value": "{color.neutral.a10}" },
43
+ "a11": { "$value": "{color.neutral.a11}" },
44
+ "a12": { "$value": "{color.neutral.a12}" },
45
+ "contrast": { "$value": "{color.neutral.contrast}" }
46
+ },
47
+ "neutral": {
48
+ "$description": "Theme neutral scale.",
49
+ "1": { "$value": "{color.neutral.1}" },
50
+ "2": { "$value": "{color.neutral.2}" },
51
+ "3": { "$value": "{color.neutral.3}" },
52
+ "4": { "$value": "{color.neutral.4}" },
53
+ "5": { "$value": "{color.neutral.5}" },
54
+ "6": { "$value": "{color.neutral.6}" },
55
+ "7": { "$value": "{color.neutral.7}" },
56
+ "8": { "$value": "{color.neutral.8}" },
57
+ "9": { "$value": "{color.neutral.9}" },
58
+ "10": { "$value": "{color.neutral.10}" },
59
+ "11": { "$value": "{color.neutral.11}" },
60
+ "12": { "$value": "{color.neutral.12}" },
61
+ "a1": { "$value": "{color.neutral.a1}" },
62
+ "a2": { "$value": "{color.neutral.a2}" },
63
+ "a3": { "$value": "{color.neutral.a3}" },
64
+ "a4": { "$value": "{color.neutral.a4}" },
65
+ "a5": { "$value": "{color.neutral.a5}" },
66
+ "a6": { "$value": "{color.neutral.a6}" },
67
+ "a7": { "$value": "{color.neutral.a7}" },
68
+ "a8": { "$value": "{color.neutral.a8}" },
69
+ "a9": { "$value": "{color.neutral.a9}" },
70
+ "a10": { "$value": "{color.neutral.a10}" },
71
+ "a11": { "$value": "{color.neutral.a11}" },
72
+ "a12": { "$value": "{color.neutral.a12}" }
73
+ },
74
+ "accent-text": {
75
+ "$description": "Scale for accent text and links (Sutra uses blue).",
76
+ "11": { "$value": "{color.neutral.11}" },
77
+ "12": { "$value": "{color.neutral.12}" }
78
+ }
79
+ },
80
+ "radius": {
81
+ "factor": { "$type": "number", "$value": 1 },
82
+ "inner": {
83
+ "$type": "dimension",
84
+ "$value": { "value": 0.25, "unit": "rem" },
85
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
86
+ },
87
+ "element": {
88
+ "$type": "dimension",
89
+ "$value": { "value": 0.5, "unit": "rem" },
90
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
91
+ },
92
+ "container": {
93
+ "$type": "dimension",
94
+ "$value": { "value": 0.75, "unit": "rem" },
95
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
96
+ },
97
+ "page": {
98
+ "$type": "dimension",
99
+ "$value": { "value": 1.5, "unit": "rem" },
100
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
101
+ },
102
+ "chat": {
103
+ "$type": "dimension",
104
+ "$value": { "value": 28, "unit": "px" },
105
+ "$extensions": { "com.urnextdoor.und": { "radiusScale": true } }
106
+ }
107
+ },
108
+ "motion": {
109
+ "tempo": { "$type": "number", "$value": 1 },
110
+ "ease": {
111
+ "$type": "cubicBezier",
112
+ "enter": { "$value": "{ease.enter}" },
113
+ "move": { "$type": "cubicBezier", "$value": "{ease.standard}" }
114
+ }
115
+ },
116
+ "typeface": {
117
+ "$type": "fontFamily",
118
+ "$extensions": { "com.urnextdoor.und": { "webFonts": ["figtree", "montserrat", "jetbrains-mono"] } },
119
+ "body": {
120
+ "$value": [
121
+ "Figtree",
122
+ "Figtree Fallback",
123
+ "-apple-system",
124
+ "BlinkMacSystemFont",
125
+ "Segoe UI",
126
+ "Roboto",
127
+ "Helvetica",
128
+ "Arial",
129
+ "Noto Sans Devanagari",
130
+ "Noto Sans",
131
+ "Nirmala UI",
132
+ "Kohinoor Devanagari",
133
+ "sans-serif"
134
+ ]
135
+ },
136
+ "heading": {
137
+ "$value": [
138
+ "Montserrat",
139
+ "Figtree",
140
+ "Figtree Fallback",
141
+ "-apple-system",
142
+ "BlinkMacSystemFont",
143
+ "Segoe UI",
144
+ "Roboto",
145
+ "Helvetica",
146
+ "Arial",
147
+ "Noto Sans Devanagari",
148
+ "Noto Sans",
149
+ "Nirmala UI",
150
+ "Kohinoor Devanagari",
151
+ "sans-serif"
152
+ ]
153
+ },
154
+ "display": {
155
+ "$value": [
156
+ "Montserrat",
157
+ "Figtree",
158
+ "Figtree Fallback",
159
+ "-apple-system",
160
+ "BlinkMacSystemFont",
161
+ "Segoe UI",
162
+ "Roboto",
163
+ "Helvetica",
164
+ "Arial",
165
+ "Noto Sans Devanagari",
166
+ "Noto Sans",
167
+ "Nirmala UI",
168
+ "Kohinoor Devanagari",
169
+ "sans-serif"
170
+ ]
171
+ },
172
+ "code": {
173
+ "$value": ["JetBrains Mono", "JetBrains Mono Fallback", "SF Mono", "Monaco", "Consolas", "monospace"]
174
+ }
175
+ },
176
+ "shape": {
177
+ "control": { "$type": "dimension", "$value": "{radius.element}" },
178
+ "card": { "$type": "dimension", "$value": "{radius.container}" },
179
+ "dialog": { "$type": "dimension", "$value": "{radius.container}" },
180
+ "popover": { "$type": "dimension", "$value": "{radius.container}" }
181
+ },
182
+ "font-size": {
183
+ "4xs": { "$type": "dimension", "$value": { "value": 0.3125, "unit": "rem" } },
184
+ "3xs": { "$type": "dimension", "$value": { "value": 0.375, "unit": "rem" } },
185
+ "2xs": { "$type": "dimension", "$value": { "value": 0.4375, "unit": "rem" } },
186
+ "xs": { "$type": "dimension", "$value": { "value": 0.5625, "unit": "rem" } },
187
+ "sm": { "$type": "dimension", "$value": { "value": 0.6875, "unit": "rem" } },
188
+ "lg": { "$type": "dimension", "$value": { "value": 1.125, "unit": "rem" } },
189
+ "xl": { "$type": "dimension", "$value": { "value": 1.375, "unit": "rem" } },
190
+ "2xl": { "$type": "dimension", "$value": { "value": 1.6875, "unit": "rem" } },
191
+ "3xl": { "$type": "dimension", "$value": { "value": 2.125, "unit": "rem" } },
192
+ "4xl": { "$type": "dimension", "$value": { "value": 2.6875, "unit": "rem" } },
193
+ "5xl": { "$type": "dimension", "$value": { "value": 3.3125, "unit": "rem" } }
194
+ },
195
+ "type": {
196
+ "heading-2": { "leading": { "$type": "number", "$value": 1.4545 } },
197
+ "heading-3": {
198
+ "weight": { "$type": "fontWeight", "$value": 700 },
199
+ "leading": { "$type": "number", "$value": 1.5556 }
200
+ },
201
+ "heading-4": { "weight": { "$type": "fontWeight", "$value": 700 } },
202
+ "heading-5": { "leading": { "$type": "number", "$value": 1.4545 } },
203
+ "heading-6": { "leading": { "$type": "number", "$value": 1.7778 } },
204
+ "display-1": { "leading": { "$type": "number", "$value": 1.283 } },
205
+ "display-2": { "leading": { "$type": "number", "$value": 1.2093 } },
206
+ "display-3": { "leading": { "$type": "number", "$value": 1.2941 } },
207
+ "large": { "leading": { "$type": "number", "$value": 1.5556 } },
208
+ "supporting": {
209
+ "size": { "$type": "dimension", "$value": { "value": 0.75, "unit": "rem" } },
210
+ "leading": { "$type": "number", "$value": 1.4545 }
211
+ }
212
+ },
213
+ "duration": {
214
+ "fast-min": { "$type": "duration", "$value": { "value": 95, "unit": "ms" } },
215
+ "fast": { "$type": "duration", "$value": { "value": 125, "unit": "ms" } },
216
+ "fast-max": { "$type": "duration", "$value": { "value": 165, "unit": "ms" } },
217
+ "medium-min": { "$type": "duration", "$value": { "value": 225, "unit": "ms" } },
218
+ "medium": { "$type": "duration", "$value": { "value": 300, "unit": "ms" } },
219
+ "medium-max": { "$type": "duration", "$value": { "value": 400, "unit": "ms" } },
220
+ "slow-min": { "$type": "duration", "$value": { "value": 525, "unit": "ms" } },
221
+ "slow": { "$type": "duration", "$value": { "value": 700, "unit": "ms" } },
222
+ "slow-max": { "$type": "duration", "$value": { "value": 935, "unit": "ms" } }
223
+ },
224
+ "focus": {
225
+ "offset": { "$type": "dimension", "$value": { "value": 3, "unit": "px" } }
226
+ },
227
+ "material": {
228
+ "thin": {
229
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
230
+ "border": { "$type": "color", "$value": "{border.default}" },
231
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
232
+ "saturate": { "$type": "number", "$value": 1 }
233
+ },
234
+ "regular": {
235
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
236
+ "border": { "$type": "color", "$value": "{border.default}" },
237
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
238
+ "saturate": { "$type": "number", "$value": 1 }
239
+ },
240
+ "thick": {
241
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
242
+ "border": { "$type": "color", "$value": "{border.default}" },
243
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
244
+ "saturate": { "$type": "number", "$value": 1 }
245
+ },
246
+ "chrome": {
247
+ "bg": { "$type": "color", "$value": "{bg.surface}" },
248
+ "border": { "$type": "color", "$value": "{border.default}" },
249
+ "blur": { "$type": "dimension", "$value": { "value": 0, "unit": "px" } },
250
+ "saturate": { "$type": "number", "$value": 1 },
251
+ "highlight": { "$type": "color", "$value": "{color.transparent}" }
252
+ }
253
+ }
254
+ }