ui-assets.json 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503
  1. {
  2. "name": "Buffalo Siege / Style A / Editable UI Kit",
  3. "version": 1,
  4. "style": "Handcrafted western desert; engraved brass; walnut; deep plum.",
  5. "format": "svg",
  6. "palette": {
  7. "ink": "#21131a",
  8. "plum": "#352132",
  9. "walnut": "#45291e",
  10. "brass": "#b78336",
  11. "gold": "#f3c66b",
  12. "cream": "#fff0bf",
  13. "shadow": "#140f12"
  14. },
  15. "coordinateSystem": "Pixel dimensions and viewBox are identical. Border slices are [top, right, bottom, left].",
  16. "integration": {
  17. "html": "Use SVG directly. Frames/buttons may be used with CSS border-image: url(...) <slice> fill / <width>; keep decorative corners at native size.",
  18. "unity": "Rasterize SVG at the required scale, use Texture Type Sprite (2D and UI), set Sprite Border from slices, and use Image Type Sliced. SVG source stays editable. No package dependency is assumed.",
  19. "text": "All text is live HTML or TextMeshPro; no text is baked into these assets.",
  20. "hitAreas": "Icon geometry does not define touch targets; provide at least 44 CSS px / 88 design-unit hit areas.",
  21. "state": "Normal source assets; pressed/selected/disabled variants are assembled with surface overlays, color modulation, and frame state in code."
  22. },
  23. "assets": [
  24. {
  25. "id": "ui.panel.frame",
  26. "file": "panel-frame.svg",
  27. "width": 128,
  28. "height": 128,
  29. "transparent": true,
  30. "pivot": [
  31. 0.5,
  32. 0.5
  33. ],
  34. "kind": "sliceable-surface",
  35. "borderSlices": [
  36. 20,
  37. 20,
  38. 20,
  39. 20
  40. ],
  41. "unityBorder": [
  42. 20,
  43. 20,
  44. 20,
  45. 20
  46. ],
  47. "unityBorderOrder": "left,bottom,right,top"
  48. },
  49. {
  50. "id": "ui.button.gold",
  51. "file": "button-gold.svg",
  52. "width": 128,
  53. "height": 64,
  54. "transparent": true,
  55. "pivot": [
  56. 0.5,
  57. 0.5
  58. ],
  59. "kind": "sliceable-surface",
  60. "borderSlices": [
  61. 16,
  62. 16,
  63. 16,
  64. 16
  65. ],
  66. "unityBorder": [
  67. 16,
  68. 16,
  69. 16,
  70. 16
  71. ],
  72. "unityBorderOrder": "left,bottom,right,top"
  73. },
  74. {
  75. "id": "ui.button.wood",
  76. "file": "button-wood.svg",
  77. "width": 128,
  78. "height": 64,
  79. "transparent": true,
  80. "pivot": [
  81. 0.5,
  82. 0.5
  83. ],
  84. "kind": "sliceable-surface",
  85. "borderSlices": [
  86. 16,
  87. 16,
  88. 16,
  89. 16
  90. ],
  91. "unityBorder": [
  92. 16,
  93. 16,
  94. 16,
  95. 16
  96. ],
  97. "unityBorderOrder": "left,bottom,right,top"
  98. },
  99. {
  100. "id": "ui.card.frame",
  101. "file": "card-frame.svg",
  102. "width": 128,
  103. "height": 128,
  104. "transparent": true,
  105. "pivot": [
  106. 0.5,
  107. 0.5
  108. ],
  109. "kind": "sliceable-surface",
  110. "borderSlices": [
  111. 18,
  112. 18,
  113. 18,
  114. 18
  115. ],
  116. "unityBorder": [
  117. 18,
  118. 18,
  119. 18,
  120. 18
  121. ],
  122. "unityBorderOrder": "left,bottom,right,top"
  123. },
  124. {
  125. "id": "ui.coin",
  126. "file": "coin.svg",
  127. "width": 64,
  128. "height": 64,
  129. "transparent": true,
  130. "pivot": [
  131. 0.5,
  132. 0.5
  133. ],
  134. "kind": "functional-icon",
  135. "borderSlices": [
  136. 0,
  137. 0,
  138. 0,
  139. 0
  140. ]
  141. },
  142. {
  143. "id": "ui.star",
  144. "file": "star.svg",
  145. "width": 64,
  146. "height": 64,
  147. "transparent": true,
  148. "pivot": [
  149. 0.5,
  150. 0.5
  151. ],
  152. "kind": "functional-icon",
  153. "borderSlices": [
  154. 0,
  155. 0,
  156. 0,
  157. 0
  158. ]
  159. },
  160. {
  161. "id": "ui.heart",
  162. "file": "heart.svg",
  163. "width": 64,
  164. "height": 64,
  165. "transparent": true,
  166. "pivot": [
  167. 0.5,
  168. 0.5
  169. ],
  170. "kind": "functional-icon",
  171. "borderSlices": [
  172. 0,
  173. 0,
  174. 0,
  175. 0
  176. ]
  177. },
  178. {
  179. "id": "ui.pause",
  180. "file": "pause.svg",
  181. "width": 64,
  182. "height": 64,
  183. "transparent": true,
  184. "pivot": [
  185. 0.5,
  186. 0.5
  187. ],
  188. "kind": "functional-icon",
  189. "borderSlices": [
  190. 0,
  191. 0,
  192. 0,
  193. 0
  194. ]
  195. },
  196. {
  197. "id": "ui.play",
  198. "file": "play.svg",
  199. "width": 64,
  200. "height": 64,
  201. "transparent": true,
  202. "pivot": [
  203. 0.5,
  204. 0.5
  205. ],
  206. "kind": "functional-icon",
  207. "borderSlices": [
  208. 0,
  209. 0,
  210. 0,
  211. 0
  212. ]
  213. },
  214. {
  215. "id": "ui.close",
  216. "file": "close.svg",
  217. "width": 64,
  218. "height": 64,
  219. "transparent": true,
  220. "pivot": [
  221. 0.5,
  222. 0.5
  223. ],
  224. "kind": "functional-icon",
  225. "borderSlices": [
  226. 0,
  227. 0,
  228. 0,
  229. 0
  230. ]
  231. },
  232. {
  233. "id": "ui.back",
  234. "file": "back.svg",
  235. "width": 64,
  236. "height": 64,
  237. "transparent": true,
  238. "pivot": [
  239. 0.5,
  240. 0.5
  241. ],
  242. "kind": "functional-icon",
  243. "borderSlices": [
  244. 0,
  245. 0,
  246. 0,
  247. 0
  248. ]
  249. },
  250. {
  251. "id": "ui.next",
  252. "file": "next.svg",
  253. "width": 64,
  254. "height": 64,
  255. "transparent": true,
  256. "pivot": [
  257. 0.5,
  258. 0.5
  259. ],
  260. "kind": "functional-icon",
  261. "borderSlices": [
  262. 0,
  263. 0,
  264. 0,
  265. 0
  266. ]
  267. },
  268. {
  269. "id": "ui.settings",
  270. "file": "settings.svg",
  271. "width": 64,
  272. "height": 64,
  273. "transparent": true,
  274. "pivot": [
  275. 0.5,
  276. 0.5
  277. ],
  278. "kind": "functional-icon",
  279. "borderSlices": [
  280. 0,
  281. 0,
  282. 0,
  283. 0
  284. ]
  285. },
  286. {
  287. "id": "ui.shop",
  288. "file": "shop.svg",
  289. "width": 64,
  290. "height": 64,
  291. "transparent": true,
  292. "pivot": [
  293. 0.5,
  294. 0.5
  295. ],
  296. "kind": "functional-icon",
  297. "borderSlices": [
  298. 0,
  299. 0,
  300. 0,
  301. 0
  302. ]
  303. },
  304. {
  305. "id": "ui.book",
  306. "file": "book.svg",
  307. "width": 64,
  308. "height": 64,
  309. "transparent": true,
  310. "pivot": [
  311. 0.5,
  312. 0.5
  313. ],
  314. "kind": "functional-icon",
  315. "borderSlices": [
  316. 0,
  317. 0,
  318. 0,
  319. 0
  320. ]
  321. },
  322. {
  323. "id": "ui.calendar",
  324. "file": "calendar.svg",
  325. "width": 64,
  326. "height": 64,
  327. "transparent": true,
  328. "pivot": [
  329. 0.5,
  330. 0.5
  331. ],
  332. "kind": "functional-icon",
  333. "borderSlices": [
  334. 0,
  335. 0,
  336. 0,
  337. 0
  338. ]
  339. },
  340. {
  341. "id": "ui.trophy",
  342. "file": "trophy.svg",
  343. "width": 64,
  344. "height": 64,
  345. "transparent": true,
  346. "pivot": [
  347. 0.5,
  348. 0.5
  349. ],
  350. "kind": "functional-icon",
  351. "borderSlices": [
  352. 0,
  353. 0,
  354. 0,
  355. 0
  356. ]
  357. },
  358. {
  359. "id": "ui.check",
  360. "file": "check.svg",
  361. "width": 64,
  362. "height": 64,
  363. "transparent": true,
  364. "pivot": [
  365. 0.5,
  366. 0.5
  367. ],
  368. "kind": "functional-icon",
  369. "borderSlices": [
  370. 0,
  371. 0,
  372. 0,
  373. 0
  374. ]
  375. },
  376. {
  377. "id": "ui.lock",
  378. "file": "lock.svg",
  379. "width": 64,
  380. "height": 64,
  381. "transparent": true,
  382. "pivot": [
  383. 0.5,
  384. 0.5
  385. ],
  386. "kind": "functional-icon",
  387. "borderSlices": [
  388. 0,
  389. 0,
  390. 0,
  391. 0
  392. ]
  393. },
  394. {
  395. "id": "ui.plus",
  396. "file": "plus.svg",
  397. "width": 64,
  398. "height": 64,
  399. "transparent": true,
  400. "pivot": [
  401. 0.5,
  402. 0.5
  403. ],
  404. "kind": "functional-icon",
  405. "borderSlices": [
  406. 0,
  407. 0,
  408. 0,
  409. 0
  410. ]
  411. },
  412. {
  413. "id": "ui.music",
  414. "file": "music.svg",
  415. "width": 64,
  416. "height": 64,
  417. "transparent": true,
  418. "pivot": [
  419. 0.5,
  420. 0.5
  421. ],
  422. "kind": "functional-icon",
  423. "borderSlices": [
  424. 0,
  425. 0,
  426. 0,
  427. 0
  428. ]
  429. },
  430. {
  431. "id": "ui.sound",
  432. "file": "sound.svg",
  433. "width": 64,
  434. "height": 64,
  435. "transparent": true,
  436. "pivot": [
  437. 0.5,
  438. 0.5
  439. ],
  440. "kind": "functional-icon",
  441. "borderSlices": [
  442. 0,
  443. 0,
  444. 0,
  445. 0
  446. ]
  447. },
  448. {
  449. "id": "ui.copy",
  450. "file": "copy.svg",
  451. "width": 64,
  452. "height": 64,
  453. "transparent": true,
  454. "pivot": [
  455. 0.5,
  456. 0.5
  457. ],
  458. "kind": "functional-icon",
  459. "borderSlices": [
  460. 0,
  461. 0,
  462. 0,
  463. 0
  464. ]
  465. },
  466. {
  467. "id": "ui.flag",
  468. "file": "flag.svg",
  469. "width": 64,
  470. "height": 64,
  471. "transparent": true,
  472. "pivot": [
  473. 0.5,
  474. 0.5
  475. ],
  476. "kind": "functional-icon",
  477. "borderSlices": [
  478. 0,
  479. 0,
  480. 0,
  481. 0
  482. ]
  483. },
  484. {
  485. "id": "ui.chevron",
  486. "file": "chevron.svg",
  487. "width": 64,
  488. "height": 64,
  489. "transparent": true,
  490. "pivot": [
  491. 0.5,
  492. 0.5
  493. ],
  494. "kind": "functional-icon",
  495. "borderSlices": [
  496. 0,
  497. 0,
  498. 0,
  499. 0
  500. ]
  501. }
  502. ]
  503. }