mapping.json 110 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299
  1. {
  2. "strict": {
  3. "text-heading-1-font-size": 32,
  4. "text-heading-2-font-size": 30,
  5. "text-heading-3-font-size": 26,
  6. "text-heading-4-font-size": 22,
  7. "text-heading-5-font-size": 18,
  8. "text-heading-6-font-size": 16,
  9. "text-subtitle-1-font-weight": "400",
  10. "text-subtitle-2-font-weight": "400",
  11. "text-label-font-size": 10,
  12. "text-label-font-weight": "400",
  13. "text-label-font-family": "$text-font-family",
  14. "border-radius": 3
  15. },
  16. "components": {
  17. "Avatar": {
  18. "meta": {
  19. "scope": "all",
  20. "parameters": {
  21. "roundCoefficient": {
  22. "type": "number"
  23. },
  24. "width": {
  25. "type": "number"
  26. },
  27. "height": {
  28. "type": "number"
  29. }
  30. },
  31. "appearances": {
  32. "default": {
  33. "default": true
  34. }
  35. },
  36. "variantGroups": {
  37. "shape": {
  38. "round": {
  39. "default": true
  40. },
  41. "rounded": {
  42. "default": false
  43. },
  44. "square": {
  45. "default": false
  46. }
  47. },
  48. "size": {
  49. "tiny": {
  50. "default": false
  51. },
  52. "small": {
  53. "default": false
  54. },
  55. "medium": {
  56. "default": true
  57. },
  58. "large": {
  59. "default": false
  60. },
  61. "giant": {
  62. "default": false
  63. }
  64. }
  65. },
  66. "states": {}
  67. },
  68. "appearances": {
  69. "default": {
  70. "mapping": {},
  71. "variantGroups": {
  72. "shape": {
  73. "round": {
  74. "roundCoefficient": 0.5
  75. },
  76. "rounded": {
  77. "roundCoefficient": 0.03
  78. },
  79. "square": {
  80. "roundCoefficient": 0.0
  81. }
  82. },
  83. "size": {
  84. "tiny": {
  85. "width": "size-tiny",
  86. "height": "size-tiny"
  87. },
  88. "small": {
  89. "width": "size-small",
  90. "height": "size-small"
  91. },
  92. "medium": {
  93. "width": "size-medium",
  94. "height": "size-medium"
  95. },
  96. "large": {
  97. "width": "size-large",
  98. "height": "size-large"
  99. },
  100. "giant": {
  101. "width": "size-giant",
  102. "height": "size-giant"
  103. }
  104. }
  105. }
  106. }
  107. }
  108. },
  109. "Input": {
  110. "appearances": {
  111. "default": {
  112. "mapping": {
  113. "paddingHorizontal": 8,
  114. "textMarginHorizontal": 8,
  115. "iconWidth": 24,
  116. "iconHeight": 24,
  117. "iconMarginHorizontal": 8,
  118. "labelMarginBottom": 4,
  119. "labelFontSize": "text-label-font-size",
  120. "labelFontWeight": "text-label-font-weight",
  121. "captionMarginTop": 0,
  122. "captionFontSize": "text-caption-1-font-size",
  123. "captionFontWeight": "text-caption-1-font-weight",
  124. "captionFontFamily": "text-caption-1-font-family",
  125. "captionIconWidth": 10,
  126. "captionIconHeight": 10,
  127. "captionIconMarginRight": 8
  128. },
  129. "variantGroups": {
  130. "status": {
  131. "basic": {
  132. "backgroundColor": "#F0F0F0",
  133. "labelColor": "text-basic-color",
  134. "captionColor": "color-danger-500",
  135. "state": {
  136. "focused": {
  137. "backgroundColor": "#F0F0F0"
  138. },
  139. "active": {
  140. "backgroundColor": "#F0F0F0"
  141. },
  142. "hover": {
  143. "backgroundColor": "#F0F0F0"
  144. },
  145. "disabled": {
  146. "backgroundColor": "#F0F0F0"
  147. }
  148. }
  149. }
  150. },
  151. "size": {
  152. "small": {
  153. "minHeight": "size-small",
  154. "borderRadius": "border-radius",
  155. "borderWidth": "border-width",
  156. "paddingVertical": 3,
  157. "textFontSize": "text-subtitle-2-font-size",
  158. "textFontWeight": "normal"
  159. }
  160. }
  161. }
  162. }
  163. }
  164. },
  165. "Button": {
  166. "appearances": {
  167. "filled": {
  168. "variantGroups": {
  169. "size": {
  170. "tiny": {
  171. "minWidth": 0,
  172. "minHeight": 0,
  173. "borderRadius": "border-radius",
  174. "borderWidth": 0,
  175. "paddingHorizontal": 6,
  176. "paddingVertical": 3,
  177. "textMarginHorizontal": 0,
  178. "textFontSize": 12,
  179. "textFontWeight": "bold",
  180. "iconWidth": 12,
  181. "iconHeight": 12,
  182. "iconMarginHorizontal": 6
  183. },
  184. "small": {
  185. "minWidth": 49,
  186. "minHeight": 22,
  187. "borderRadius": "border-radius",
  188. "borderWidth": "border-width",
  189. "paddingHorizontal": 7,
  190. "paddingVertical": 3,
  191. "textMarginHorizontal": 7,
  192. "textFontSize": 12,
  193. "textFontWeight": "normal",
  194. "iconWidth": 16,
  195. "iconHeight": 16,
  196. "iconMarginHorizontal": 8
  197. },
  198. "medium": {
  199. "minWidth": 112,
  200. "minHeight": 11,
  201. "borderRadius": "border-radius",
  202. "borderWidth": "border-width",
  203. "paddingHorizontal": 10,
  204. "paddingVertical": 6,
  205. "textMarginHorizontal": 10,
  206. "textFontSize": 12,
  207. "textFontWeight": "bold",
  208. "iconWidth": 20,
  209. "iconHeight": 20,
  210. "iconMarginHorizontal": 10
  211. },
  212. "large": {
  213. "minWidth": "size-large",
  214. "minHeight": "size-large",
  215. "borderRadius": "border-radius",
  216. "borderWidth": "border-width",
  217. "paddingHorizontal": 10,
  218. "paddingVertical": 14,
  219. "textMarginHorizontal": 10,
  220. "textFontSize": 16,
  221. "textFontWeight": "bold",
  222. "iconWidth": 24,
  223. "iconHeight": 24,
  224. "iconMarginHorizontal": 10
  225. },
  226. "giant": {
  227. "minWidth": "size-giant",
  228. "minHeight": "size-giant",
  229. "borderRadius": "border-radius",
  230. "borderWidth": "border-width",
  231. "paddingHorizontal": 12,
  232. "paddingVertical": 16,
  233. "textMarginHorizontal": 12,
  234. "textFontSize": 18,
  235. "textFontWeight": "bold",
  236. "iconWidth": 24,
  237. "iconHeight": 24,
  238. "iconMarginHorizontal": 12
  239. }
  240. }
  241. }
  242. },
  243. "outline": {
  244. "mapping": {},
  245. "variantGroups": {
  246. "status": {
  247. "basic": {
  248. "borderColor": "color-basic-transparent-default-border",
  249. "backgroundColor": "color-basic-transparent-default",
  250. "textColor": "text-hint-color",
  251. "iconTintColor": "text-hint-color",
  252. "state": {
  253. "focused": {
  254. "borderColor": "color-basic-transparent-focus-border",
  255. "backgroundColor": "color-basic-transparent-focus",
  256. "textColor": "text-hint-color",
  257. "iconTintColor": "text-hint-color"
  258. },
  259. "hover": {
  260. "borderColor": "color-basic-transparent-hover-border",
  261. "backgroundColor": "color-basic-transparent-hover",
  262. "textColor": "text-hint-color",
  263. "iconTintColor": "text-hint-color"
  264. },
  265. "active": {
  266. "borderColor": "color-basic-transparent-active-border",
  267. "backgroundColor": "color-basic-transparent-active",
  268. "textColor": "text-hint-color",
  269. "iconTintColor": "text-hint-color"
  270. },
  271. "disabled": {
  272. "borderColor": "color-basic-transparent-disabled-border",
  273. "backgroundColor": "color-basic-transparent-disabled",
  274. "textColor": "text-disabled-color",
  275. "iconTintColor": "text-disabled-color"
  276. }
  277. }
  278. },
  279. "primary": {
  280. "borderColor": "color-primary-transparent-default-border",
  281. "backgroundColor": "#fff",
  282. "textColor": "text-primary-color",
  283. "iconTintColor": "text-primary-color",
  284. "state": {
  285. "focused": {
  286. "borderColor": "color-primary-transparent-focus-border",
  287. "backgroundColor": "color-primary-transparent-focus",
  288. "textColor": "text-primary-color",
  289. "iconTintColor": "text-primary-color"
  290. },
  291. "hover": {
  292. "borderColor": "color-primary-transparent-hover-border",
  293. "backgroundColor": "color-primary-transparent-hover",
  294. "textColor": "text-primary-color",
  295. "iconTintColor": "text-primary-color"
  296. },
  297. "active": {
  298. "borderColor": "color-primary-transparent-active-border",
  299. "backgroundColor": "color-primary-transparent-active",
  300. "textColor": "text-primary-color",
  301. "iconTintColor": "text-primary-color"
  302. },
  303. "disabled": {
  304. "borderColor": "color-primary-transparent-disabled-border",
  305. "backgroundColor": "color-primary-transparent-disabled",
  306. "textColor": "text-disabled-color",
  307. "iconTintColor": "text-disabled-color"
  308. }
  309. }
  310. },
  311. "success": {
  312. "borderColor": "color-success-transparent-default-border",
  313. "backgroundColor": "color-success-transparent-default",
  314. "textColor": "text-success-color",
  315. "iconTintColor": "text-success-color",
  316. "state": {
  317. "focused": {
  318. "borderColor": "color-success-transparent-focus-border",
  319. "backgroundColor": "color-success-transparent-focus",
  320. "textColor": "text-success-color",
  321. "iconTintColor": "text-success-color"
  322. },
  323. "hover": {
  324. "borderColor": "color-success-transparent-hover-border",
  325. "backgroundColor": "color-success-transparent-hover",
  326. "textColor": "text-success-color",
  327. "iconTintColor": "text-success-color"
  328. },
  329. "active": {
  330. "borderColor": "color-success-transparent-active-border",
  331. "backgroundColor": "color-success-transparent-active",
  332. "textColor": "text-success-color",
  333. "iconTintColor": "text-success-color"
  334. },
  335. "disabled": {
  336. "borderColor": "color-success-transparent-disabled-border",
  337. "backgroundColor": "color-success-transparent-disabled",
  338. "textColor": "text-disabled-color",
  339. "iconTintColor": "text-disabled-color"
  340. }
  341. }
  342. },
  343. "info": {
  344. "borderColor": "color-info-transparent-default-border",
  345. "backgroundColor": "color-info-transparent-default",
  346. "textColor": "text-info-color",
  347. "iconTintColor": "text-info-color",
  348. "state": {
  349. "focused": {
  350. "borderColor": "color-info-transparent-focus-border",
  351. "backgroundColor": "color-info-transparent-focus",
  352. "textColor": "text-info-color",
  353. "iconTintColor": "text-info-color"
  354. },
  355. "hover": {
  356. "borderColor": "color-info-transparent-hover-border",
  357. "backgroundColor": "color-info-transparent-hover",
  358. "textColor": "text-info-color",
  359. "iconTintColor": "text-info-color"
  360. },
  361. "active": {
  362. "borderColor": "color-info-transparent-active-border",
  363. "backgroundColor": "color-info-transparent-active",
  364. "textColor": "text-info-color",
  365. "iconTintColor": "text-info-color"
  366. },
  367. "disabled": {
  368. "borderColor": "color-info-transparent-disabled-border",
  369. "backgroundColor": "color-info-transparent-disabled",
  370. "textColor": "text-disabled-color",
  371. "iconTintColor": "text-disabled-color"
  372. }
  373. }
  374. },
  375. "warning": {
  376. "borderColor": "color-warning-transparent-default-border",
  377. "backgroundColor": "color-warning-transparent-default",
  378. "textColor": "text-warning-color",
  379. "iconTintColor": "text-warning-color",
  380. "state": {
  381. "focused": {
  382. "borderColor": "color-warning-transparent-focus-border",
  383. "backgroundColor": "color-warning-transparent-focus",
  384. "textColor": "text-warning-color",
  385. "iconTintColor": "text-warning-color"
  386. },
  387. "hover": {
  388. "borderColor": "color-warning-transparent-hover-border",
  389. "backgroundColor": "color-warning-transparent-hover",
  390. "textColor": "text-warning-color",
  391. "iconTintColor": "text-warning-color"
  392. },
  393. "active": {
  394. "borderColor": "color-warning-transparent-active-border",
  395. "backgroundColor": "color-warning-transparent-active",
  396. "textColor": "text-warning-color",
  397. "iconTintColor": "text-warning-color"
  398. },
  399. "disabled": {
  400. "borderColor": "color-warning-transparent-disabled-border",
  401. "backgroundColor": "color-warning-transparent-disabled",
  402. "textColor": "text-disabled-color",
  403. "iconTintColor": "text-disabled-color"
  404. }
  405. }
  406. },
  407. "danger": {
  408. "borderColor": "color-danger-transparent-default-border",
  409. "backgroundColor": "color-danger-transparent-default",
  410. "textColor": "text-danger-color",
  411. "iconTintColor": "text-danger-color",
  412. "state": {
  413. "focused": {
  414. "borderColor": "color-danger-transparent-focus-border",
  415. "backgroundColor": "color-danger-transparent-focus",
  416. "textColor": "text-danger-color",
  417. "iconTintColor": "text-danger-color"
  418. },
  419. "hover": {
  420. "borderColor": "color-danger-transparent-hover-border",
  421. "backgroundColor": "color-danger-transparent-hover",
  422. "textColor": "text-danger-color",
  423. "iconTintColor": "text-danger-color"
  424. },
  425. "active": {
  426. "borderColor": "color-danger-transparent-active-border",
  427. "backgroundColor": "color-danger-transparent-active",
  428. "textColor": "text-danger-color",
  429. "iconTintColor": "text-danger-color"
  430. },
  431. "disabled": {
  432. "borderColor": "color-danger-transparent-disabled-border",
  433. "backgroundColor": "color-danger-transparent-disabled",
  434. "textColor": "text-disabled-color",
  435. "iconTintColor": "text-disabled-color"
  436. }
  437. }
  438. },
  439. "control": {
  440. "borderColor": "color-control-transparent-default-border",
  441. "backgroundColor": "color-control-transparent-default",
  442. "textColor": "text-control-color",
  443. "iconTintColor": "text-control-color",
  444. "state": {
  445. "focused": {
  446. "borderColor": "color-control-transparent-focus-border",
  447. "backgroundColor": "color-control-transparent-focus",
  448. "textColor": "text-control-color",
  449. "iconTintColor": "text-control-color"
  450. },
  451. "hover": {
  452. "borderColor": "color-control-transparent-hover-border",
  453. "backgroundColor": "color-control-transparent-hover",
  454. "textColor": "text-control-color",
  455. "iconTintColor": "text-control-color"
  456. },
  457. "active": {
  458. "borderColor": "color-control-transparent-active-border",
  459. "backgroundColor": "color-control-transparent-active",
  460. "textColor": "text-control-color",
  461. "iconTintColor": "text-control-color"
  462. },
  463. "disabled": {
  464. "borderColor": "color-control-transparent-disabled-border",
  465. "backgroundColor": "color-control-transparent-disabled",
  466. "textColor": "text-disabled-color",
  467. "iconTintColor": "text-disabled-color"
  468. }
  469. }
  470. }
  471. }
  472. }
  473. },
  474. "ghost": {
  475. "mapping": {},
  476. "variantGroups": {
  477. "status": {
  478. "basic": {
  479. "borderColor": "transparent",
  480. "backgroundColor": "transparent",
  481. "textColor": "text-hint-color",
  482. "iconTintColor": "text-hint-color",
  483. "state": {
  484. "focused": {
  485. "borderColor": "transparent",
  486. "backgroundColor": "transparent",
  487. "textColor": "text-hint-color",
  488. "iconTintColor": "text-hint-color"
  489. },
  490. "hover": {
  491. "borderColor": "transparent",
  492. "backgroundColor": "color-basic-transparent-100",
  493. "textColor": "text-hint-color",
  494. "iconTintColor": "text-hint-color"
  495. },
  496. "active": {
  497. "borderColor": "transparent",
  498. "backgroundColor": "color-basic-transparent-200",
  499. "textColor": "text-hint-color",
  500. "iconTintColor": "text-hint-color"
  501. },
  502. "disabled": {
  503. "borderColor": "transparent",
  504. "backgroundColor": "color-basic-transparent-200",
  505. "textColor": "text-disabled-color",
  506. "iconTintColor": "text-disabled-color"
  507. }
  508. }
  509. },
  510. "primary": {
  511. "borderColor": "transparent",
  512. "backgroundColor": "transparent",
  513. "textColor": "text-primary-color",
  514. "iconTintColor": "text-primary-color",
  515. "state": {
  516. "focused": {
  517. "borderColor": "color-basic-transparent-500",
  518. "backgroundColor": "color-basic-transparent-200",
  519. "textColor": "text-primary-color",
  520. "iconTintColor": "text-primary-color"
  521. },
  522. "hover": {
  523. "borderColor": "transparent",
  524. "backgroundColor": "color-basic-transparent-100",
  525. "textColor": "text-primary-color",
  526. "iconTintColor": "text-primary-color"
  527. },
  528. "active": {
  529. "borderColor": "transparent",
  530. "backgroundColor": "color-basic-transparent-200",
  531. "textColor": "text-primary-color",
  532. "iconTintColor": "text-primary-color"
  533. },
  534. "disabled": {
  535. "borderColor": "transparent",
  536. "backgroundColor": "color-basic-transparent-200",
  537. "textColor": "text-disabled-color",
  538. "iconTintColor": "text-disabled-color"
  539. }
  540. }
  541. },
  542. "success": {
  543. "borderColor": "transparent",
  544. "backgroundColor": "transparent",
  545. "textColor": "text-success-color",
  546. "iconTintColor": "text-success-color",
  547. "state": {
  548. "focused": {
  549. "borderColor": "color-basic-transparent-500",
  550. "backgroundColor": "color-basic-transparent-200",
  551. "textColor": "text-success-color",
  552. "iconTintColor": "text-success-color"
  553. },
  554. "hover": {
  555. "borderColor": "transparent",
  556. "backgroundColor": "color-basic-transparent-100",
  557. "textColor": "text-success-color",
  558. "iconTintColor": "text-success-color"
  559. },
  560. "active": {
  561. "borderColor": "transparent",
  562. "backgroundColor": "color-basic-transparent-200",
  563. "textColor": "text-success-color",
  564. "iconTintColor": "text-success-color"
  565. },
  566. "disabled": {
  567. "borderColor": "transparent",
  568. "backgroundColor": "color-basic-transparent-200",
  569. "textColor": "text-disabled-color",
  570. "iconTintColor": "text-disabled-color"
  571. }
  572. }
  573. },
  574. "info": {
  575. "borderColor": "transparent",
  576. "backgroundColor": "transparent",
  577. "textColor": "text-info-color",
  578. "iconTintColor": "text-info-color",
  579. "state": {
  580. "focused": {
  581. "borderColor": "color-basic-transparent-500",
  582. "backgroundColor": "color-basic-transparent-200",
  583. "textColor": "text-info-color",
  584. "iconTintColor": "text-info-color"
  585. },
  586. "hover": {
  587. "borderColor": "transparent",
  588. "backgroundColor": "color-basic-transparent-100",
  589. "textColor": "text-info-color",
  590. "iconTintColor": "text-info-color"
  591. },
  592. "active": {
  593. "borderColor": "transparent",
  594. "backgroundColor": "color-basic-transparent-200",
  595. "textColor": "text-info-color",
  596. "iconTintColor": "text-info-color"
  597. },
  598. "disabled": {
  599. "borderColor": "transparent",
  600. "backgroundColor": "color-basic-transparent-200",
  601. "textColor": "text-disabled-color",
  602. "iconTintColor": "text-disabled-color"
  603. }
  604. }
  605. },
  606. "warning": {
  607. "borderColor": "transparent",
  608. "backgroundColor": "transparent",
  609. "textColor": "text-warning-color",
  610. "iconTintColor": "text-warning-color",
  611. "state": {
  612. "focused": {
  613. "borderColor": "color-basic-transparent-500",
  614. "backgroundColor": "color-basic-transparent-200",
  615. "textColor": "text-info-color",
  616. "iconTintColor": "text-info-color"
  617. },
  618. "hover": {
  619. "borderColor": "transparent",
  620. "backgroundColor": "color-basic-transparent-100",
  621. "textColor": "text-warning-color",
  622. "iconTintColor": "text-warning-color"
  623. },
  624. "active": {
  625. "borderColor": "transparent",
  626. "backgroundColor": "color-basic-transparent-200",
  627. "textColor": "text-warning-color",
  628. "iconTintColor": "text-warning-color"
  629. },
  630. "disabled": {
  631. "borderColor": "transparent",
  632. "backgroundColor": "color-basic-transparent-200",
  633. "textColor": "text-disabled-color",
  634. "iconTintColor": "text-disabled-color"
  635. }
  636. }
  637. },
  638. "danger": {
  639. "borderColor": "transparent",
  640. "backgroundColor": "transparent",
  641. "textColor": "text-danger-color",
  642. "iconTintColor": "text-danger-color",
  643. "state": {
  644. "focused": {
  645. "borderColor": "color-basic-transparent-500",
  646. "backgroundColor": "color-basic-transparent-200",
  647. "textColor": "text-danger-color",
  648. "iconTintColor": "text-danger-color"
  649. },
  650. "hover": {
  651. "borderColor": "transparent",
  652. "backgroundColor": "color-basic-transparent-100",
  653. "textColor": "text-danger-color",
  654. "iconTintColor": "text-danger-color"
  655. },
  656. "active": {
  657. "borderColor": "transparent",
  658. "backgroundColor": "color-basic-transparent-200",
  659. "textColor": "text-danger-color",
  660. "iconTintColor": "text-danger-color"
  661. },
  662. "disabled": {
  663. "borderColor": "transparent",
  664. "backgroundColor": "color-basic-transparent-200",
  665. "textColor": "text-disabled-color",
  666. "iconTintColor": "text-disabled-color"
  667. }
  668. }
  669. },
  670. "control": {
  671. "borderColor": "transparent",
  672. "backgroundColor": "transparent",
  673. "textColor": "text-control-color",
  674. "iconTintColor": "text-control-color",
  675. "state": {
  676. "focused": {
  677. "borderColor": "color-basic-transparent-500",
  678. "backgroundColor": "color-basic-transparent-200",
  679. "textColor": "text-control-color",
  680. "iconTintColor": "text-control-color"
  681. },
  682. "hover": {
  683. "borderColor": "transparent",
  684. "backgroundColor": "color-basic-transparent-100",
  685. "textColor": "text-control-color",
  686. "iconTintColor": "text-control-color"
  687. },
  688. "active": {
  689. "borderColor": "transparent",
  690. "backgroundColor": "color-basic-transparent-200",
  691. "textColor": "text-control-color",
  692. "iconTintColor": "text-control-color"
  693. },
  694. "disabled": {
  695. "borderColor": "transparent",
  696. "backgroundColor": "color-basic-transparent-200",
  697. "textColor": "text-disabled-color",
  698. "iconTintColor": "text-disabled-color"
  699. }
  700. }
  701. }
  702. },
  703. "size": {
  704. "medium": {
  705. "minWidth": 0,
  706. "minHeight": 20,
  707. "iconWidth": 12,
  708. "iconHeight": 12,
  709. "paddingHorizontal": 5,
  710. "paddingVertical": 5,
  711. "borderRadius": "border-radius",
  712. "borderWidth": "border-width",
  713. "textMarginHorizontal": 2,
  714. "textFontSize": 12,
  715. "textFontWeight": "normal",
  716. "iconMarginHorizontal": 0
  717. }
  718. }
  719. }
  720. },
  721. "imageButton": {
  722. "mapping": {
  723. "textFontFamily": "text-font-family",
  724. "iconMarginHorizontal": 4
  725. },
  726. "variantGroups": {
  727. "status": {
  728. "primary": {
  729. "borderColor": "#FFF5D8",
  730. "backgroundColor": "#FFF5D8"
  731. }
  732. },
  733. "size": {
  734. "medium": {
  735. "minWidth": 67,
  736. "minHeight": 67,
  737. "iconWidth": 50,
  738. "iconHeight": 50,
  739. "paddingHorizontal": 0,
  740. "paddingVertical": 0
  741. }
  742. }
  743. }
  744. },
  745. "bannerButton": {
  746. "mapping": {
  747. "textFontFamily": "text-font-family",
  748. "iconMarginHorizontal": 4
  749. },
  750. "variantGroups": {
  751. "status": {
  752. "primary": {
  753. "borderColor": "transparent",
  754. "backgroundColor": "transparent",
  755. "state": {
  756. "focused": {
  757. "borderColor": "transparent",
  758. "backgroundColor": "transparent"
  759. },
  760. "hover": {
  761. "borderColor": "transparent",
  762. "backgroundColor": "transparent"
  763. },
  764. "active": {
  765. "borderColor": "transparent",
  766. "backgroundColor": "transparent"
  767. },
  768. "disabled": {
  769. "borderColor": "transparent",
  770. "backgroundColor": "transparent",
  771. "textColor": "text-disabled-color",
  772. "iconTintColor": "text-disabled-color"
  773. }
  774. }
  775. }
  776. },
  777. "size": {
  778. "medium": {
  779. "minWidth": "100%",
  780. "minHeight": 66
  781. }
  782. }
  783. }
  784. },
  785. "labelButton": {
  786. "mapping": {
  787. "textFontFamily": "text-font-family",
  788. "iconMarginHorizontal": 4
  789. },
  790. "variantGroups": {
  791. "status": {
  792. "primary": {}
  793. },
  794. "size": {
  795. "medium": {
  796. "textFontSize": 10
  797. }
  798. }
  799. }
  800. },
  801. "classification": {
  802. "mapping": {
  803. "textFontFamily": "text-font-family",
  804. "iconMarginHorizontal": 4
  805. },
  806. "variantGroups": {
  807. "size": {
  808. "medium": {
  809. "minWidth": 33,
  810. "minHeight": 33,
  811. "textFontSize": 10,
  812. "paddingHorizontal": 6,
  813. "paddingVertical": 6,
  814. "textMarginHorizontal": 0
  815. }
  816. }
  817. }
  818. },
  819. "badge": {
  820. "variantGroups": {
  821. "status": {
  822. "basic": {
  823. "borderColor": "color-basic-default-border",
  824. "backgroundColor": "color-basic-default",
  825. "textColor": "color-basic-800",
  826. "iconTintColor": "color-basic-800",
  827. "state": {
  828. "focused": {
  829. "borderColor": "color-basic-focus-border",
  830. "backgroundColor": "color-basic-focus"
  831. },
  832. "hover": {
  833. "borderColor": "color-basic-hover-border",
  834. "backgroundColor": "color-basic-hover"
  835. },
  836. "active": {
  837. "borderColor": "color-basic-active-border",
  838. "backgroundColor": "color-basic-active"
  839. },
  840. "disabled": {
  841. "borderColor": "color-basic-disabled-border",
  842. "backgroundColor": "color-basic-disabled",
  843. "textColor": "text-disabled-color",
  844. "iconTintColor": "text-disabled-color"
  845. }
  846. }
  847. },
  848. "primary": {
  849. "borderColor": "#F8ECD6",
  850. "backgroundColor": "#F8ECD6",
  851. "textColor": "#FFC21C",
  852. "iconTintColor": "#FFC21C",
  853. "state": {
  854. "focused": {
  855. "borderColor": "rgba(248,236,214,0.8)",
  856. "backgroundColor": "rgba(248,236,214,0.8)"
  857. },
  858. "hover": {
  859. "borderColor": "rgba(248,236,214,0.8)",
  860. "backgroundColor": "rgba(248,236,214,0.8)"
  861. },
  862. "active": {
  863. "borderColor": "rgba(248,236,214,0.8)",
  864. "backgroundColor": "rgba(248,236,214,0.8)"
  865. },
  866. "disabled": {
  867. "borderColor": "color-primary-disabled-border",
  868. "backgroundColor": "color-primary-disabled",
  869. "textColor": "text-disabled-color",
  870. "iconTintColor": "text-disabled-color"
  871. }
  872. }
  873. },
  874. "success": {
  875. "borderColor": "color-success-default-border",
  876. "backgroundColor": "color-success-default",
  877. "textColor": "text-control-color",
  878. "iconTintColor": "text-control-color",
  879. "state": {
  880. "focused": {
  881. "borderColor": "color-success-focus-border",
  882. "backgroundColor": "color-success-focus"
  883. },
  884. "hover": {
  885. "borderColor": "color-success-hover-border",
  886. "backgroundColor": "color-success-hover"
  887. },
  888. "active": {
  889. "borderColor": "color-success-active-border",
  890. "backgroundColor": "color-success-active"
  891. },
  892. "disabled": {
  893. "borderColor": "color-success-disabled-border",
  894. "backgroundColor": "color-success-disabled",
  895. "textColor": "text-disabled-color",
  896. "iconTintColor": "text-disabled-color"
  897. }
  898. }
  899. },
  900. "info": {
  901. "borderColor": "color-info-transparent-300",
  902. "backgroundColor": "color-info-transparent-300",
  903. "textColor": "#B5B5B5",
  904. "iconTintColor": "#B5B5B5",
  905. "state": {
  906. "focused": {
  907. "borderColor": "color-info-transparent-200",
  908. "backgroundColor": "color-info-transparent-200"
  909. },
  910. "hover": {
  911. "borderColor": "color-info-transparent-200",
  912. "backgroundColor": "color-info-transparent-200"
  913. },
  914. "active": {
  915. "borderColor": "color-info-transparent-200",
  916. "backgroundColor": "color-info-transparent-200"
  917. },
  918. "disabled": {
  919. "borderColor": "color-info-disabled-border",
  920. "backgroundColor": "color-info-disabled",
  921. "textColor": "text-disabled-color",
  922. "iconTintColor": "text-disabled-color"
  923. }
  924. }
  925. },
  926. "warning": {
  927. "borderColor": "color-primary-default-border",
  928. "backgroundColor": "color-primary-default",
  929. "textColor": "text-control-color",
  930. "iconTintColor": "text-control-color",
  931. "state": {
  932. "focused": {
  933. "borderColor": "color-primary-focus-border",
  934. "backgroundColor": "color-primary-focus"
  935. },
  936. "hover": {
  937. "borderColor": "color-primary-hover-border",
  938. "backgroundColor": "color-primary-hover"
  939. },
  940. "active": {
  941. "borderColor": "color-primary-active-border",
  942. "backgroundColor": "color-primary-active"
  943. },
  944. "disabled": {
  945. "borderColor": "color-primary-disabled-border",
  946. "backgroundColor": "color-primary-disabled",
  947. "textColor": "text-disabled-color",
  948. "iconTintColor": "text-disabled-color"
  949. }
  950. }
  951. },
  952. "danger": {
  953. "borderColor": "color-danger-default-border",
  954. "backgroundColor": "color-danger-default",
  955. "textColor": "text-control-color",
  956. "iconTintColor": "text-control-color",
  957. "state": {
  958. "focused": {
  959. "borderColor": "color-danger-focus-border",
  960. "backgroundColor": "color-danger-focus"
  961. },
  962. "hover": {
  963. "borderColor": "color-danger-hover-border",
  964. "backgroundColor": "color-danger-hover"
  965. },
  966. "active": {
  967. "borderColor": "color-danger-active-border",
  968. "backgroundColor": "color-danger-active"
  969. },
  970. "disabled": {
  971. "borderColor": "color-danger-disabled-border",
  972. "backgroundColor": "color-danger-disabled",
  973. "textColor": "text-disabled-color",
  974. "iconTintColor": "text-disabled-color"
  975. }
  976. }
  977. },
  978. "control": {
  979. "borderColor": "color-control-default-border",
  980. "backgroundColor": "color-control-default",
  981. "textColor": "color-basic-800",
  982. "iconTintColor": "color-basic-800",
  983. "state": {
  984. "focused": {
  985. "borderColor": "color-control-focus-border",
  986. "backgroundColor": "color-control-focus"
  987. },
  988. "hover": {
  989. "borderColor": "color-control-hover-border",
  990. "backgroundColor": "color-control-hover"
  991. },
  992. "active": {
  993. "borderColor": "color-control-active-border",
  994. "backgroundColor": "color-control-active"
  995. },
  996. "disabled": {
  997. "borderColor": "color-control-disabled-border",
  998. "backgroundColor": "color-control-disabled",
  999. "textColor": "text-disabled-color",
  1000. "iconTintColor": "text-disabled-color"
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "size": {
  1006. "medium": {
  1007. "minWidth": 50,
  1008. "minHeight": 25,
  1009. "borderRadius": "border-radius",
  1010. "borderWidth": "border-width",
  1011. "paddingHorizontal": 10,
  1012. "paddingVertical": 7,
  1013. "textMarginHorizontal": 0,
  1014. "textFontSize": 12,
  1015. "textFontWeight": "normal",
  1016. "iconWidth": 20,
  1017. "iconHeight": 20,
  1018. "iconMarginHorizontal": 0
  1019. }
  1020. }
  1021. }
  1022. },
  1023. "imgButton": {
  1024. "variantGroups": {
  1025. "size": {
  1026. "tiny": {
  1027. "minWidth": 15,
  1028. "minHeight": 15,
  1029. "borderRadius": "border-radius",
  1030. "borderWidth": 0,
  1031. "paddingHorizontal": 0,
  1032. "paddingVertical": 0,
  1033. "textMarginHorizontal": 0,
  1034. "textFontSize": 12,
  1035. "textFontWeight": "bold",
  1036. "iconWidth": 15,
  1037. "iconHeight": 15,
  1038. "iconMarginHorizontal": 0
  1039. }
  1040. }
  1041. }
  1042. }
  1043. }
  1044. },
  1045. "Card": {
  1046. "meta": {
  1047. "scope": "all",
  1048. "parameters": {
  1049. "backgroundColor": {
  1050. "type": "string"
  1051. },
  1052. "borderRadius": {
  1053. "type": "number"
  1054. },
  1055. "borderColor": {
  1056. "type": "string"
  1057. },
  1058. "borderWidth": {
  1059. "type": "number"
  1060. },
  1061. "bodyPaddingHorizontal": {
  1062. "type": "number"
  1063. },
  1064. "bodyPaddingVertical": {
  1065. "type": "number"
  1066. },
  1067. "headerPaddingHorizontal": {
  1068. "type": "number"
  1069. },
  1070. "headerPaddingVertical": {
  1071. "type": "number"
  1072. },
  1073. "footerPaddingHorizontal": {
  1074. "type": "number"
  1075. },
  1076. "footerPaddingVertical": {
  1077. "type": "number"
  1078. },
  1079. "accentBackgroundColor": {
  1080. "type": "string"
  1081. },
  1082. "accentHeight": {
  1083. "type": "number"
  1084. }
  1085. },
  1086. "appearances": {
  1087. "filled": {
  1088. "default": false
  1089. },
  1090. "outline": {
  1091. "default": true
  1092. }
  1093. },
  1094. "variantGroups": {
  1095. "status": {
  1096. "basic": {
  1097. "default": false
  1098. },
  1099. "primary": {
  1100. "default": false
  1101. },
  1102. "success": {
  1103. "default": false
  1104. },
  1105. "info": {
  1106. "default": false
  1107. },
  1108. "warning": {
  1109. "default": false
  1110. },
  1111. "danger": {
  1112. "default": false
  1113. },
  1114. "control": {
  1115. "default": false
  1116. }
  1117. },
  1118. "direction": {
  1119. "horizontal": {
  1120. "default": true
  1121. },
  1122. "vertical": {
  1123. "default": false
  1124. }
  1125. }
  1126. },
  1127. "states": {
  1128. "active": {
  1129. "default": false,
  1130. "priority": 0,
  1131. "scope": "all"
  1132. }
  1133. }
  1134. },
  1135. "appearances": {
  1136. "outline": {
  1137. "mapping": {
  1138. "backgroundColor": "background-basic-color-1",
  1139. "borderRadius": "border-radius",
  1140. "borderColor": "border-basic-color-4",
  1141. "borderWidth": 1,
  1142. "accentHeight": 0,
  1143. "bodyPaddingHorizontal": 24,
  1144. "bodyPaddingVertical": 16,
  1145. "headerPaddingHorizontal": 24,
  1146. "headerPaddingVertical": 16,
  1147. "footerPaddingHorizontal": 24,
  1148. "footerPaddingVertical": 16,
  1149. "state": {
  1150. "active": {
  1151. "backgroundColor": "background-basic-color-2"
  1152. }
  1153. }
  1154. },
  1155. "variantGroups": {
  1156. "status": {
  1157. "basic": {
  1158. "accentHeight": 4,
  1159. "accentBackgroundColor": "color-basic-default"
  1160. },
  1161. "primary": {
  1162. "accentHeight": 4,
  1163. "accentBackgroundColor": "color-primary-default"
  1164. },
  1165. "success": {
  1166. "accentHeight": 4,
  1167. "accentBackgroundColor": "color-success-default"
  1168. },
  1169. "info": {
  1170. "accentHeight": 4,
  1171. "accentBackgroundColor": "color-info-default"
  1172. },
  1173. "warning": {
  1174. "accentHeight": 4,
  1175. "accentBackgroundColor": "color-warning-default"
  1176. },
  1177. "danger": {
  1178. "accentHeight": 4,
  1179. "accentBackgroundColor": "color-danger-default"
  1180. },
  1181. "control": {
  1182. "accentHeight": 4,
  1183. "accentBackgroundColor": "color-control-default"
  1184. }
  1185. }
  1186. }
  1187. },
  1188. "filled": {
  1189. "mapping": {
  1190. "backgroundColor": "transparent",
  1191. "borderWidth": 0,
  1192. "accentBackgroundColor": "#eee",
  1193. "accentHeight": 7,
  1194. "state": {
  1195. "active": {
  1196. "backgroundColor": "transparent"
  1197. }
  1198. }
  1199. }
  1200. },
  1201. "headFilled": {
  1202. "mapping": {
  1203. "backgroundColor": "transparent",
  1204. "borderWidth": 0,
  1205. "accentBackgroundColor": "#eee",
  1206. "accentHeight": 7,
  1207. "bodyPaddingHorizontal": 50,
  1208. "bodyPaddingVertical": 20,
  1209. "headerPaddingHorizontal": 50,
  1210. "headerPaddingVertical": 20,
  1211. "footerPaddingHorizontal": 50,
  1212. "footerPaddingVertical": 20,
  1213. "state": {
  1214. "active": {
  1215. "backgroundColor": "transparent"
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "formFilled": {
  1221. "mapping": {
  1222. "backgroundColor": "transparent",
  1223. "borderWidth": 0,
  1224. "accentBackgroundColor": "#eee",
  1225. "accentHeight": 7,
  1226. "bodyPaddingHorizontal": 15,
  1227. "bodyPaddingVertical": 10,
  1228. "headerPaddingHorizontal": 15,
  1229. "headerPaddingVertical": 10,
  1230. "footerPaddingHorizontal": 15,
  1231. "footerPaddingVertical": 10,
  1232. "state": {
  1233. "active": {
  1234. "backgroundColor": "transparent"
  1235. }
  1236. }
  1237. }
  1238. },
  1239. "modalCrad": {
  1240. "mapping": {
  1241. "bodyPaddingHorizontal": 10,
  1242. "bodyPaddingVertical": 10,
  1243. "headerPaddingHorizontal": 10,
  1244. "headerPaddingVertical": 10,
  1245. "footerPaddingHorizontal": 10,
  1246. "footerPaddingVertical": 10
  1247. }
  1248. },
  1249. "diaogOutline": {
  1250. "mapping": {
  1251. "accentHeight": 0,
  1252. "bodyPaddingHorizontal": 24,
  1253. "bodyPaddingVertical": 10,
  1254. "headerPaddingHorizontal": 24,
  1255. "headerPaddingVertical": 20,
  1256. "footerPaddingHorizontal": 24,
  1257. "footerPaddingVertical": 15,
  1258. "state": {
  1259. "active": {
  1260. "backgroundColor": "background-basic-color-2"
  1261. }
  1262. }
  1263. },
  1264. "variantGroups": {
  1265. "status": {
  1266. "basic": {
  1267. "accentHeight": 4,
  1268. "accentBackgroundColor": "color-basic-default"
  1269. },
  1270. "primary": {
  1271. "accentHeight": 4,
  1272. "accentBackgroundColor": "color-primary-default"
  1273. },
  1274. "success": {
  1275. "accentHeight": 4,
  1276. "accentBackgroundColor": "color-success-default"
  1277. },
  1278. "info": {
  1279. "accentHeight": 4,
  1280. "accentBackgroundColor": "color-info-default"
  1281. },
  1282. "warning": {
  1283. "accentHeight": 4,
  1284. "accentBackgroundColor": "color-warning-default"
  1285. },
  1286. "danger": {
  1287. "accentHeight": 4,
  1288. "accentBackgroundColor": "color-danger-default"
  1289. },
  1290. "control": {
  1291. "accentHeight": 4,
  1292. "accentBackgroundColor": "color-control-default"
  1293. }
  1294. }
  1295. }
  1296. },
  1297. "headerList": {
  1298. "mapping": {
  1299. "backgroundColor": "transparent",
  1300. "accentHeight": 0,
  1301. "bodyPaddingHorizontal": 15,
  1302. "bodyPaddingVertical": 10,
  1303. "headerPaddingHorizontal": 15,
  1304. "headerPaddingVertical": 0,
  1305. "footerPaddingHorizontal": 15,
  1306. "footerPaddingVertical": 0,
  1307. "borderColor": "transparent",
  1308. "state": {
  1309. "active": {
  1310. "backgroundColor": "background-basic-color-2"
  1311. }
  1312. }
  1313. },
  1314. "variantGroups": {
  1315. "status": {
  1316. "basic": {
  1317. "accentHeight": 4,
  1318. "accentBackgroundColor": "color-basic-default"
  1319. },
  1320. "primary": {
  1321. "accentHeight": 4,
  1322. "accentBackgroundColor": "color-primary-default"
  1323. },
  1324. "success": {
  1325. "accentHeight": 4,
  1326. "accentBackgroundColor": "color-success-default"
  1327. },
  1328. "info": {
  1329. "accentHeight": 4,
  1330. "accentBackgroundColor": "color-info-default"
  1331. },
  1332. "warning": {
  1333. "accentHeight": 4,
  1334. "accentBackgroundColor": "color-warning-default"
  1335. },
  1336. "danger": {
  1337. "accentHeight": 4,
  1338. "accentBackgroundColor": "color-danger-default"
  1339. },
  1340. "control": {
  1341. "accentHeight": 4,
  1342. "accentBackgroundColor": "color-control-default"
  1343. }
  1344. }
  1345. }
  1346. },
  1347. "goodsCard": {
  1348. "mapping": {
  1349. "accentHeight": 0,
  1350. "bodyPaddingHorizontal": 13,
  1351. "bodyPaddingVertical": 20,
  1352. "borderColor": "transparent",
  1353. "borderRadius": 3,
  1354. "state": {
  1355. "active": {
  1356. "backgroundColor": "background-basic-color-2"
  1357. }
  1358. }
  1359. },
  1360. "variantGroups": {
  1361. "status": {
  1362. "basic": {
  1363. "accentHeight": 4,
  1364. "accentBackgroundColor": "color-basic-default"
  1365. },
  1366. "primary": {
  1367. "accentHeight": 4,
  1368. "accentBackgroundColor": "color-primary-default"
  1369. },
  1370. "success": {
  1371. "accentHeight": 4,
  1372. "accentBackgroundColor": "color-success-default"
  1373. },
  1374. "info": {
  1375. "accentHeight": 4,
  1376. "accentBackgroundColor": "color-info-default"
  1377. },
  1378. "warning": {
  1379. "accentHeight": 4,
  1380. "accentBackgroundColor": "color-warning-default"
  1381. },
  1382. "danger": {
  1383. "accentHeight": 4,
  1384. "accentBackgroundColor": "color-danger-default"
  1385. },
  1386. "control": {
  1387. "accentHeight": 4,
  1388. "accentBackgroundColor": "color-control-default"
  1389. }
  1390. },
  1391. "direction": {
  1392. "vertical": {
  1393. "bodyPaddingHorizontal": 0,
  1394. "bodyPaddingVertical": 0
  1395. }
  1396. }
  1397. }
  1398. },
  1399. "classification": {
  1400. "mapping": {
  1401. "accentHeight": 0,
  1402. "bodyPaddingHorizontal": 10,
  1403. "bodyPaddingVertical": 5,
  1404. "borderColor": "transparent",
  1405. "borderRadius": 3,
  1406. "state": {
  1407. "active": {
  1408. "backgroundColor": "background-basic-color-2"
  1409. }
  1410. }
  1411. },
  1412. "variantGroups": {
  1413. "status": {
  1414. "basic": {
  1415. "accentHeight": 4,
  1416. "accentBackgroundColor": "color-basic-default"
  1417. },
  1418. "primary": {
  1419. "accentHeight": 4,
  1420. "accentBackgroundColor": "color-primary-default"
  1421. },
  1422. "success": {
  1423. "accentHeight": 4,
  1424. "accentBackgroundColor": "color-success-default"
  1425. },
  1426. "info": {
  1427. "accentHeight": 4,
  1428. "accentBackgroundColor": "color-info-default"
  1429. },
  1430. "warning": {
  1431. "accentHeight": 4,
  1432. "accentBackgroundColor": "color-warning-default"
  1433. },
  1434. "danger": {
  1435. "accentHeight": 4,
  1436. "accentBackgroundColor": "color-danger-default"
  1437. },
  1438. "control": {
  1439. "accentHeight": 4,
  1440. "accentBackgroundColor": "color-control-default"
  1441. }
  1442. },
  1443. "direction": {
  1444. "vertical": {
  1445. "bodyPaddingHorizontal": 0,
  1446. "bodyPaddingVertical": 0
  1447. }
  1448. }
  1449. }
  1450. },
  1451. "homeCard": {
  1452. "mapping": {
  1453. "accentHeight": 0,
  1454. "bodyPaddingHorizontal": 10,
  1455. "bodyPaddingVertical": 10,
  1456. "borderRadius": 3,
  1457. "headerPaddingVertical": 0,
  1458. "footerPaddingVertical": 0
  1459. }
  1460. },
  1461. "homePage1Card": {
  1462. "mapping": {
  1463. "accentHeight": 0,
  1464. "bodyPaddingHorizontal": 15,
  1465. "bodyPaddingVertical": 0,
  1466. "borderRadius": 3,
  1467. "headerPaddingVertical": 10,
  1468. "headerPaddingHorizontal": 15,
  1469. "footerPaddingVertical": 5,
  1470. "borderWidth": 0
  1471. }
  1472. },
  1473. "CommentCard": {
  1474. "mapping": {
  1475. "accentHeight": 0,
  1476. "bodyPaddingHorizontal": 13,
  1477. "bodyPaddingVertical": 0,
  1478. "borderColor": "transparent",
  1479. "borderRadius": 3,
  1480. "state": {
  1481. "active": {
  1482. "backgroundColor": "background-basic-color-2"
  1483. }
  1484. }
  1485. },
  1486. "variantGroups": {
  1487. "status": {
  1488. "basic": {
  1489. "accentHeight": 4,
  1490. "accentBackgroundColor": "color-basic-default"
  1491. },
  1492. "primary": {
  1493. "accentHeight": 4,
  1494. "accentBackgroundColor": "color-primary-default"
  1495. },
  1496. "success": {
  1497. "accentHeight": 4,
  1498. "accentBackgroundColor": "color-success-default"
  1499. },
  1500. "info": {
  1501. "accentHeight": 4,
  1502. "accentBackgroundColor": "color-info-default"
  1503. },
  1504. "warning": {
  1505. "accentHeight": 4,
  1506. "accentBackgroundColor": "color-warning-default"
  1507. },
  1508. "danger": {
  1509. "accentHeight": 4,
  1510. "accentBackgroundColor": "color-danger-default"
  1511. },
  1512. "control": {
  1513. "accentHeight": 4,
  1514. "accentBackgroundColor": "color-control-default"
  1515. }
  1516. },
  1517. "direction": {
  1518. "vertical": {
  1519. "bodyPaddingHorizontal": 0,
  1520. "bodyPaddingVertical": 0
  1521. }
  1522. }
  1523. }
  1524. },
  1525. "orderCard": {
  1526. "mapping": {
  1527. "accentHeight": 0,
  1528. "bodyPaddingHorizontal": 13,
  1529. "bodyPaddingVertical": 20,
  1530. "borderColor": "transparent",
  1531. "borderRadius": 3,
  1532. "footerPaddingHorizontal": 13,
  1533. "footerPaddingVertical": 10,
  1534. "state": {
  1535. "active": {
  1536. "backgroundColor": "background-basic-color-2"
  1537. }
  1538. }
  1539. },
  1540. "variantGroups": {
  1541. "status": {
  1542. "basic": {
  1543. "accentHeight": 4,
  1544. "accentBackgroundColor": "color-basic-default"
  1545. },
  1546. "primary": {
  1547. "accentHeight": 4,
  1548. "accentBackgroundColor": "color-primary-default"
  1549. },
  1550. "success": {
  1551. "accentHeight": 4,
  1552. "accentBackgroundColor": "color-success-default"
  1553. },
  1554. "info": {
  1555. "accentHeight": 4,
  1556. "accentBackgroundColor": "color-info-default"
  1557. },
  1558. "warning": {
  1559. "accentHeight": 4,
  1560. "accentBackgroundColor": "color-warning-default"
  1561. },
  1562. "danger": {
  1563. "accentHeight": 4,
  1564. "accentBackgroundColor": "color-danger-default"
  1565. },
  1566. "control": {
  1567. "accentHeight": 4,
  1568. "accentBackgroundColor": "color-control-default"
  1569. }
  1570. },
  1571. "direction": {
  1572. "vertical": {
  1573. "bodyPaddingHorizontal": 0,
  1574. "bodyPaddingVertical": 0
  1575. }
  1576. }
  1577. }
  1578. }
  1579. }
  1580. },
  1581. "SelectOption": {
  1582. "appearances": {
  1583. "default": {
  1584. "mapping": {
  1585. "paddingHorizontal": 8,
  1586. "paddingVertical": 12,
  1587. "backgroundColor": "background-basic-color-1",
  1588. "textMarginHorizontal": 8,
  1589. "textFontSize": "text-subtitle-1-font-size",
  1590. "textFontWeight": "text-subtitle-1-font-weight",
  1591. "textFontFamily": "text-subtitle-1-font-family",
  1592. "textColor": "text-basic-color",
  1593. "iconWidth": 20,
  1594. "iconHeight": 20,
  1595. "iconMarginHorizontal": 8,
  1596. "iconTintColor": "text-hint-color",
  1597. "state": {
  1598. "hover": {
  1599. "iconTintColor": "text-primary-hover-color",
  1600. "backgroundColor": "color-basic-transparent-hover"
  1601. },
  1602. "active": {
  1603. "backgroundColor": "color-basic-transparent-active"
  1604. },
  1605. "selected": {
  1606. "backgroundColor": "color-primary-transparent-default",
  1607. "textColor": "text-basic-color",
  1608. "iconTintColor": "text-primary-color"
  1609. },
  1610. "selected.hover": {
  1611. "background-color": "color-primary-transparent-100",
  1612. "textColor": "text-basic-color"
  1613. },
  1614. "disabled": {
  1615. "backgroundColor": "background-basic-color-1",
  1616. "textColor": "text-disabled-color",
  1617. "iconTintColor": "text-disabled-color"
  1618. }
  1619. }
  1620. }
  1621. },
  1622. "grouped": {
  1623. "mapping": {
  1624. "paddingLeft": 16
  1625. }
  1626. },
  1627. "form": {
  1628. "mapping": {
  1629. "paddingVertical": 5,
  1630. "textFontSize": "text-subtitle-2-font-size"
  1631. }
  1632. }
  1633. }
  1634. },
  1635. "MenuItem": {
  1636. "appearances": {
  1637. "default": {
  1638. "mapping": {
  1639. "paddingHorizontal": 8,
  1640. "paddingVertical": 12,
  1641. "backgroundColor": "background-basic-color-1",
  1642. "indicatorWidth": 0,
  1643. "indicatorBackgroundColor": "transparent",
  1644. "titleMarginHorizontal": 8,
  1645. "titleFontSize": "text-subtitle-2-font-size",
  1646. "titleFontWeight": "text-subtitle-2-font-weight",
  1647. "titleFontFamily": "text-subtitle-2-font-family",
  1648. "titleColor": "text-basic-color",
  1649. "iconWidth": 20,
  1650. "iconHeight": 20,
  1651. "iconMarginHorizontal": 8,
  1652. "iconTintColor": "text-hint-color",
  1653. "state": {
  1654. "hover": {
  1655. "titleColor": "text-primary-hover-color",
  1656. "iconTintColor": "text-primary-hover-color"
  1657. },
  1658. "active": {
  1659. "backgroundColor": "color-basic-transparent-active"
  1660. },
  1661. "selected": {
  1662. "backgroundColor": "color-primary-transparent-default",
  1663. "indicatorWidth": 4,
  1664. "indicatorBackgroundColor": "color-primary-default",
  1665. "titleColor": "text-primary-color",
  1666. "iconTintColor": "text-primary-color"
  1667. },
  1668. "disabled": {
  1669. "titleColor": "text-disabled-color",
  1670. "iconTintColor": "text-disabled-color"
  1671. }
  1672. }
  1673. }
  1674. },
  1675. "grouped": {
  1676. "mapping": {
  1677. "paddingLeft": 16
  1678. }
  1679. },
  1680. "cardContent": {
  1681. "mapping": {
  1682. "paddingHorizontal": 0
  1683. }
  1684. },
  1685. "orderProduct": {
  1686. "mapping": {
  1687. "paddingHorizontal": 0,
  1688. "paddingVertical": 2,
  1689. "backgroundColor": "background-basic-color-1",
  1690. "indicatorWidth": 0,
  1691. "indicatorBackgroundColor": "transparent",
  1692. "titleMarginHorizontal": 0,
  1693. "titleFontSize": "text-label-font-size",
  1694. "titleFontWeight": "text-subtitle-2-font-weight",
  1695. "titleFontFamily": "text-subtitle-2-font-family",
  1696. "titleColor": "text-basic-color",
  1697. "iconWidth": 12,
  1698. "iconHeight": 12,
  1699. "iconMarginHorizontal": 8,
  1700. "iconTintColor": "text-hint-color"
  1701. }
  1702. }
  1703. }
  1704. },
  1705. "TopNavigation": {
  1706. "meta": {
  1707. "scope": "mobile",
  1708. "parameters": {
  1709. "minHeight": {
  1710. "type": "number"
  1711. },
  1712. "paddingVertical": {
  1713. "type": "number"
  1714. },
  1715. "paddingHorizontal": {
  1716. "type": "number"
  1717. },
  1718. "backgroundColor": {
  1719. "type": "string"
  1720. },
  1721. "titleTextAlign": {
  1722. "type": "string"
  1723. },
  1724. "titleFontFamily": {
  1725. "type": "string"
  1726. },
  1727. "titleFontSize": {
  1728. "type": "number"
  1729. },
  1730. "titleFontWeight": {
  1731. "type": "string"
  1732. },
  1733. "titleColor": {
  1734. "type": "string"
  1735. },
  1736. "subtitleTextAlign": {
  1737. "type": "string"
  1738. },
  1739. "subtitleFontFamily": {
  1740. "type": "string"
  1741. },
  1742. "subtitleFontSize": {
  1743. "type": "number"
  1744. },
  1745. "subtitleFontWeight": {
  1746. "type": "string"
  1747. },
  1748. "subtitleColor": {
  1749. "type": "string"
  1750. }
  1751. },
  1752. "appearances": {
  1753. "default": {
  1754. "default": true
  1755. },
  1756. "control": {
  1757. "default": false
  1758. }
  1759. },
  1760. "variantGroups": {
  1761. "alignment": {
  1762. "start": {
  1763. "default": true
  1764. },
  1765. "center": {
  1766. "default": false
  1767. }
  1768. }
  1769. },
  1770. "states": {}
  1771. },
  1772. "appearances": {
  1773. "default": {
  1774. "mapping": {
  1775. "minHeight": 56,
  1776. "paddingVertical": 8,
  1777. "paddingHorizontal": 8,
  1778. "backgroundColor": "color-primary-500",
  1779. "titleColor": "#fff",
  1780. "iconTintColor": "#fff"
  1781. },
  1782. "variantGroups": {
  1783. "alignment": {
  1784. "start": {
  1785. "titleTextAlign": "left",
  1786. "subtitleTextAlign": "left"
  1787. },
  1788. "center": {
  1789. "titleTextAlign": "center",
  1790. "subtitleTextAlign": "center"
  1791. }
  1792. }
  1793. }
  1794. },
  1795. "control": {
  1796. "mapping": {
  1797. "backgroundColor": "transparent"
  1798. }
  1799. },
  1800. "homeBar": {
  1801. "mapping": {
  1802. "minHeight": 56,
  1803. "paddingVertical": 8,
  1804. "paddingHorizontal": 8,
  1805. "backgroundColor": "#fff",
  1806. "titleColor": "#000000",
  1807. "iconTintColor": "#000000"
  1808. }
  1809. }
  1810. }
  1811. },
  1812. "Text": {
  1813. "meta": {
  1814. "scope": "all",
  1815. "parameters": {
  1816. "fontFamily": {
  1817. "type": "string"
  1818. },
  1819. "fontSize": {
  1820. "type": "number"
  1821. },
  1822. "fontWeight": {
  1823. "type": "string"
  1824. },
  1825. "color": {
  1826. "type": "string"
  1827. }
  1828. },
  1829. "appearances": {
  1830. "default": {
  1831. "default": true
  1832. },
  1833. "alternative": {
  1834. "default": false
  1835. },
  1836. "hint": {
  1837. "default": false
  1838. }
  1839. },
  1840. "variantGroups": {
  1841. "category": {
  1842. "h1": {
  1843. "default": false
  1844. },
  1845. "h2": {
  1846. "default": false
  1847. },
  1848. "h3": {
  1849. "default": false
  1850. },
  1851. "h4": {
  1852. "default": false
  1853. },
  1854. "h5": {
  1855. "default": false
  1856. },
  1857. "h6": {
  1858. "default": false
  1859. },
  1860. "s1": {
  1861. "default": false
  1862. },
  1863. "s2": {
  1864. "default": false
  1865. },
  1866. "p1": {
  1867. "default": true
  1868. },
  1869. "p2": {
  1870. "default": false
  1871. },
  1872. "c1": {
  1873. "default": false
  1874. },
  1875. "c2": {
  1876. "default": false
  1877. }
  1878. },
  1879. "status": {
  1880. "basic": {
  1881. "default": false
  1882. },
  1883. "primary": {
  1884. "default": false
  1885. },
  1886. "success": {
  1887. "default": false
  1888. },
  1889. "info": {
  1890. "default": false
  1891. },
  1892. "warning": {
  1893. "default": false
  1894. },
  1895. "danger": {
  1896. "default": false
  1897. },
  1898. "control": {
  1899. "default": false
  1900. }
  1901. }
  1902. },
  1903. "states": {}
  1904. },
  1905. "appearances": {
  1906. "default": {
  1907. "mapping": {
  1908. "color": "text-basic-color"
  1909. },
  1910. "variantGroups": {
  1911. "category": {
  1912. "h1": {
  1913. "fontSize": "text-label-font-size",
  1914. "fontWeight": "text-label-font-weight",
  1915. "fontFamily": "text-heading-1-font-family"
  1916. },
  1917. "h2": {
  1918. "fontSize": "text-heading-2-font-size",
  1919. "fontWeight": "text-heading-2-font-weight",
  1920. "fontFamily": "text-heading-2-font-family"
  1921. },
  1922. "h3": {
  1923. "fontSize": "text-heading-3-font-size",
  1924. "fontWeight": "text-heading-3-font-weight",
  1925. "fontFamily": "text-heading-3-font-family"
  1926. },
  1927. "h4": {
  1928. "fontSize": "text-heading-4-font-size",
  1929. "fontWeight": "text-heading-4-font-weight",
  1930. "fontFamily": "text-heading-4-font-family"
  1931. },
  1932. "h5": {
  1933. "fontSize": "text-heading-5-font-size",
  1934. "fontWeight": "text-heading-5-font-weight",
  1935. "fontFamily": "text-heading-5-font-family"
  1936. },
  1937. "h6": {
  1938. "fontSize": "text-heading-6-font-size",
  1939. "fontWeight": "text-heading-6-font-weight",
  1940. "fontFamily": "text-heading-6-font-family"
  1941. },
  1942. "s1": {
  1943. "fontSize": "text-subtitle-1-font-size",
  1944. "fontWeight": "text-subtitle-1-font-weight",
  1945. "fontFamily": "text-subtitle-1-font-family"
  1946. },
  1947. "s2": {
  1948. "fontSize": "text-subtitle-2-font-size",
  1949. "fontWeight": "text-subtitle-2-font-weight",
  1950. "fontFamily": "text-subtitle-2-font-family"
  1951. },
  1952. "p1": {
  1953. "fontSize": "text-paragraph-1-font-size",
  1954. "fontWeight": "text-paragraph-1-font-weight",
  1955. "fontFamily": "text-paragraph-1-font-family"
  1956. },
  1957. "p2": {
  1958. "fontSize": "text-paragraph-2-font-size",
  1959. "fontWeight": "text-paragraph-2-font-weight",
  1960. "fontFamily": "text-paragraph-2-font-family"
  1961. },
  1962. "c1": {
  1963. "fontSize": "text-caption-1-font-size",
  1964. "fontWeight": "text-caption-1-font-weight",
  1965. "fontFamily": "text-caption-1-font-family"
  1966. },
  1967. "c2": {
  1968. "fontSize": "text-caption-2-font-size",
  1969. "fontWeight": "text-caption-2-font-weight",
  1970. "fontFamily": "text-caption-2-font-family"
  1971. }
  1972. },
  1973. "status": {
  1974. "basic": {
  1975. "color": "text-basic-color"
  1976. },
  1977. "primary": {
  1978. "color": "text-primary-color"
  1979. },
  1980. "success": {
  1981. "color": "text-success-color"
  1982. },
  1983. "info": {
  1984. "color": "#B5B5B5"
  1985. },
  1986. "warning": {
  1987. "color": "text-warning-color"
  1988. },
  1989. "danger": {
  1990. "color": "text-danger-color"
  1991. },
  1992. "control": {
  1993. "color": "text-control-color"
  1994. }
  1995. }
  1996. }
  1997. },
  1998. "alternative": {
  1999. "mapping": {
  2000. "color": "text-alternate-color"
  2001. }
  2002. },
  2003. "hint": {
  2004. "mapping": {
  2005. "color": "text-hint-color"
  2006. }
  2007. }
  2008. }
  2009. },
  2010. "Tab": {
  2011. "meta": {
  2012. "scope": "all",
  2013. "parameters": {
  2014. "textFontFamily": {
  2015. "type": "string"
  2016. },
  2017. "textFontSize": {
  2018. "type": "number"
  2019. },
  2020. "textFontWeight": {
  2021. "type": "number"
  2022. },
  2023. "textMarginVertical": {
  2024. "type": "number"
  2025. },
  2026. "textColor": {
  2027. "type": "string"
  2028. },
  2029. "iconWidth": {
  2030. "type": "number"
  2031. },
  2032. "iconHeight": {
  2033. "type": "number"
  2034. },
  2035. "iconMarginVertical": {
  2036. "type": "number"
  2037. },
  2038. "iconTintColor": {
  2039. "type": "string"
  2040. }
  2041. },
  2042. "appearances": {
  2043. "default": {
  2044. "default": true
  2045. }
  2046. },
  2047. "variantGroups": {},
  2048. "states": {
  2049. "selected": {
  2050. "default": false,
  2051. "priority": 0,
  2052. "scope": "all"
  2053. },
  2054. "hover": {
  2055. "default": false,
  2056. "priority": 1,
  2057. "scope": "all"
  2058. },
  2059. "focused": {
  2060. "default": false,
  2061. "priority": 2,
  2062. "scope": "all"
  2063. }
  2064. }
  2065. },
  2066. "appearances": {
  2067. "default": {
  2068. "mapping": {
  2069. "textMarginVertical": 2,
  2070. "textFontSize": 14,
  2071. "textFontWeight": "bold",
  2072. "textFontFamily": "text-font-family",
  2073. "textColor": "text-hint-color",
  2074. "iconWidth": 24,
  2075. "iconHeight": 24,
  2076. "iconMarginVertical": 2,
  2077. "iconTintColor": "text-hint-color",
  2078. "state": {
  2079. "hover": {
  2080. "textColor": "text-primary-hover-color",
  2081. "iconTintColor": "text-primary-hover-color"
  2082. },
  2083. "selected": {
  2084. "textColor": "text-primary-color",
  2085. "iconTintColor": "text-primary-color"
  2086. }
  2087. }
  2088. }
  2089. },
  2090. "homeTab": {
  2091. "mapping": {
  2092. "textMarginVertical": 5,
  2093. "textFontSize": 15,
  2094. "textFontWeight": "blod",
  2095. "textFontFamily": "text-font-family",
  2096. "textColor": "#000",
  2097. "iconWidth": 24,
  2098. "iconHeight": 24,
  2099. "iconMarginVertical": 8,
  2100. "iconTintColor": "#000",
  2101. "state": {
  2102. "hover": {
  2103. "textColor": "#000",
  2104. "iconTintColor": "text-primary-hover-color"
  2105. },
  2106. "selected": {
  2107. "textColor": "#000",
  2108. "iconTintColor": "text-primary-color"
  2109. }
  2110. }
  2111. }
  2112. }
  2113. }
  2114. },
  2115. "TabBar": {
  2116. "meta": {
  2117. "scope": "all",
  2118. "parameters": {
  2119. "paddingVertical": {
  2120. "type": "number"
  2121. },
  2122. "backgroundColor": {
  2123. "type": "string"
  2124. },
  2125. "indicatorHeight": {
  2126. "type": "number"
  2127. },
  2128. "indicatorBorderRadius": {
  2129. "type": "number"
  2130. },
  2131. "indicatorBackgroundColor": {
  2132. "type": "string"
  2133. }
  2134. },
  2135. "appearances": {
  2136. "default": {
  2137. "default": true
  2138. }
  2139. },
  2140. "variantGroups": {},
  2141. "states": {}
  2142. },
  2143. "appearances": {
  2144. "default": {
  2145. "mapping": {
  2146. "paddingVertical": 4,
  2147. "backgroundColor": "background-basic-color-1",
  2148. "indicatorHeight": 4,
  2149. "indicatorBorderRadius": 2,
  2150. "indicatorBackgroundColor": "color-primary-default"
  2151. }
  2152. },
  2153. "homeTab": {
  2154. "mapping": {
  2155. "paddingVertical": 4,
  2156. "backgroundColor": "transparent",
  2157. "indicatorHeight": 4,
  2158. "indicatorBorderRadius": 2,
  2159. "indicatorBackgroundColor": "transparent"
  2160. }
  2161. }
  2162. }
  2163. },
  2164. "ListItem": {
  2165. "meta": {
  2166. "scope": "all",
  2167. "parameters": {
  2168. "paddingVertical": {
  2169. "type": "number"
  2170. },
  2171. "paddingHorizontal": {
  2172. "type": "number"
  2173. },
  2174. "backgroundColor": {
  2175. "type": "string"
  2176. },
  2177. "iconWidth": {
  2178. "type": "number"
  2179. },
  2180. "iconHeight": {
  2181. "type": "number"
  2182. },
  2183. "iconMarginHorizontal": {
  2184. "type": "number"
  2185. },
  2186. "iconTintColor": {
  2187. "type": "string"
  2188. },
  2189. "titleMarginHorizontal": {
  2190. "type": "number"
  2191. },
  2192. "titleFontFamily": {
  2193. "type": "string"
  2194. },
  2195. "titleFontSize": {
  2196. "type": "number"
  2197. },
  2198. "titleFontWeight": {
  2199. "type": "string"
  2200. },
  2201. "titleColor": {
  2202. "type": "string"
  2203. },
  2204. "descriptionColor": {
  2205. "type": "string"
  2206. },
  2207. "descriptionFontFamily": {
  2208. "type": "string"
  2209. },
  2210. "descriptionFontSize": {
  2211. "type": "number"
  2212. },
  2213. "descriptionFontWeight": {
  2214. "type": "string"
  2215. },
  2216. "descriptionMarginHorizontal": {
  2217. "type": "number"
  2218. },
  2219. "accessoryMarginHorizontal": {
  2220. "type": "number"
  2221. },
  2222. "alignItems": {
  2223. "type": "String"
  2224. }
  2225. },
  2226. "appearances": {
  2227. "default": {
  2228. "default": true
  2229. }
  2230. },
  2231. "variantGroups": {},
  2232. "states": {
  2233. "active": {
  2234. "default": false,
  2235. "priority": 0,
  2236. "scope": "all"
  2237. }
  2238. }
  2239. },
  2240. "appearances": {
  2241. "default": {
  2242. "mapping": {
  2243. "paddingHorizontal": 8,
  2244. "paddingVertical": 12,
  2245. "backgroundColor": "background-basic-color-1",
  2246. "iconWidth": 24,
  2247. "iconHeight": 24,
  2248. "iconMarginHorizontal": 8,
  2249. "iconTintColor": "text-hint-color",
  2250. "titleMarginHorizontal": 8,
  2251. "titleFontSize": "text-subtitle-2-font-size",
  2252. "titleFontWeight": "text-subtitle-2-font-weight",
  2253. "titleFontFamily": "text-subtitle-2-font-family",
  2254. "titleColor": "text-basic-color",
  2255. "descriptionMarginHorizontal": 8,
  2256. "descriptionFontSize": "text-caption-1-font-size",
  2257. "descriptionFontWeight": "text-caption-1-font-weight",
  2258. "descriptionFontFamily": "text-caption-1-font-family",
  2259. "descriptionColor": "text-hint-color",
  2260. "accessoryMarginHorizontal": 8,
  2261. "state": {
  2262. "active": {
  2263. "backgroundColor": "color-basic-transparent-active"
  2264. }
  2265. }
  2266. }
  2267. },
  2268. "classification": {
  2269. "mapping": {
  2270. "paddingHorizontal": 8,
  2271. "paddingVertical": 12,
  2272. "backgroundColor": "transparent",
  2273. "iconWidth": 24,
  2274. "iconHeight": 24,
  2275. "iconMarginHorizontal": 8,
  2276. "iconTintColor": "text-hint-color",
  2277. "titleMarginHorizontal": 8,
  2278. "titleFontSize": "text-subtitle-2-font-size",
  2279. "titleFontWeight": "text-subtitle-2-font-weight",
  2280. "titleFontFamily": "text-subtitle-2-font-family",
  2281. "titleColor": "text-basic-color",
  2282. "descriptionMarginHorizontal": 8,
  2283. "descriptionFontSize": "text-caption-1-font-size",
  2284. "descriptionFontWeight": "text-caption-1-font-weight",
  2285. "descriptionFontFamily": "text-caption-1-font-family",
  2286. "descriptionColor": "text-hint-color",
  2287. "accessoryMarginHorizontal": 8,
  2288. "alignItems": "center",
  2289. "state": {
  2290. "active": {
  2291. "backgroundColor": "color-basic-transparent-active"
  2292. }
  2293. }
  2294. }
  2295. }
  2296. }
  2297. }
  2298. }
  2299. }