mapping.json 109 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279
  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. }
  1024. },
  1025. "Card": {
  1026. "meta": {
  1027. "scope": "all",
  1028. "parameters": {
  1029. "backgroundColor": {
  1030. "type": "string"
  1031. },
  1032. "borderRadius": {
  1033. "type": "number"
  1034. },
  1035. "borderColor": {
  1036. "type": "string"
  1037. },
  1038. "borderWidth": {
  1039. "type": "number"
  1040. },
  1041. "bodyPaddingHorizontal": {
  1042. "type": "number"
  1043. },
  1044. "bodyPaddingVertical": {
  1045. "type": "number"
  1046. },
  1047. "headerPaddingHorizontal": {
  1048. "type": "number"
  1049. },
  1050. "headerPaddingVertical": {
  1051. "type": "number"
  1052. },
  1053. "footerPaddingHorizontal": {
  1054. "type": "number"
  1055. },
  1056. "footerPaddingVertical": {
  1057. "type": "number"
  1058. },
  1059. "accentBackgroundColor": {
  1060. "type": "string"
  1061. },
  1062. "accentHeight": {
  1063. "type": "number"
  1064. }
  1065. },
  1066. "appearances": {
  1067. "filled": {
  1068. "default": false
  1069. },
  1070. "outline": {
  1071. "default": true
  1072. }
  1073. },
  1074. "variantGroups": {
  1075. "status": {
  1076. "basic": {
  1077. "default": false
  1078. },
  1079. "primary": {
  1080. "default": false
  1081. },
  1082. "success": {
  1083. "default": false
  1084. },
  1085. "info": {
  1086. "default": false
  1087. },
  1088. "warning": {
  1089. "default": false
  1090. },
  1091. "danger": {
  1092. "default": false
  1093. },
  1094. "control": {
  1095. "default": false
  1096. }
  1097. },
  1098. "direction": {
  1099. "horizontal": {
  1100. "default": true
  1101. },
  1102. "vertical": {
  1103. "default": false
  1104. }
  1105. }
  1106. },
  1107. "states": {
  1108. "active": {
  1109. "default": false,
  1110. "priority": 0,
  1111. "scope": "all"
  1112. }
  1113. }
  1114. },
  1115. "appearances": {
  1116. "outline": {
  1117. "mapping": {
  1118. "backgroundColor": "background-basic-color-1",
  1119. "borderRadius": "border-radius",
  1120. "borderColor": "border-basic-color-4",
  1121. "borderWidth": 1,
  1122. "accentHeight": 0,
  1123. "bodyPaddingHorizontal": 24,
  1124. "bodyPaddingVertical": 16,
  1125. "headerPaddingHorizontal": 24,
  1126. "headerPaddingVertical": 16,
  1127. "footerPaddingHorizontal": 24,
  1128. "footerPaddingVertical": 16,
  1129. "state": {
  1130. "active": {
  1131. "backgroundColor": "background-basic-color-2"
  1132. }
  1133. }
  1134. },
  1135. "variantGroups": {
  1136. "status": {
  1137. "basic": {
  1138. "accentHeight": 4,
  1139. "accentBackgroundColor": "color-basic-default"
  1140. },
  1141. "primary": {
  1142. "accentHeight": 4,
  1143. "accentBackgroundColor": "color-primary-default"
  1144. },
  1145. "success": {
  1146. "accentHeight": 4,
  1147. "accentBackgroundColor": "color-success-default"
  1148. },
  1149. "info": {
  1150. "accentHeight": 4,
  1151. "accentBackgroundColor": "color-info-default"
  1152. },
  1153. "warning": {
  1154. "accentHeight": 4,
  1155. "accentBackgroundColor": "color-warning-default"
  1156. },
  1157. "danger": {
  1158. "accentHeight": 4,
  1159. "accentBackgroundColor": "color-danger-default"
  1160. },
  1161. "control": {
  1162. "accentHeight": 4,
  1163. "accentBackgroundColor": "color-control-default"
  1164. }
  1165. }
  1166. }
  1167. },
  1168. "filled": {
  1169. "mapping": {
  1170. "backgroundColor": "transparent",
  1171. "borderWidth": 0,
  1172. "accentBackgroundColor": "#eee",
  1173. "accentHeight": 7,
  1174. "state": {
  1175. "active": {
  1176. "backgroundColor": "transparent"
  1177. }
  1178. }
  1179. }
  1180. },
  1181. "headFilled": {
  1182. "mapping": {
  1183. "backgroundColor": "transparent",
  1184. "borderWidth": 0,
  1185. "accentBackgroundColor": "#eee",
  1186. "accentHeight": 7,
  1187. "bodyPaddingHorizontal": 50,
  1188. "bodyPaddingVertical": 20,
  1189. "headerPaddingHorizontal": 50,
  1190. "headerPaddingVertical": 20,
  1191. "footerPaddingHorizontal": 50,
  1192. "footerPaddingVertical": 20,
  1193. "state": {
  1194. "active": {
  1195. "backgroundColor": "transparent"
  1196. }
  1197. }
  1198. }
  1199. },
  1200. "formFilled": {
  1201. "mapping": {
  1202. "backgroundColor": "transparent",
  1203. "borderWidth": 0,
  1204. "accentBackgroundColor": "#eee",
  1205. "accentHeight": 7,
  1206. "bodyPaddingHorizontal": 15,
  1207. "bodyPaddingVertical": 10,
  1208. "headerPaddingHorizontal": 15,
  1209. "headerPaddingVertical": 10,
  1210. "footerPaddingHorizontal": 15,
  1211. "footerPaddingVertical": 10,
  1212. "state": {
  1213. "active": {
  1214. "backgroundColor": "transparent"
  1215. }
  1216. }
  1217. }
  1218. },
  1219. "modalCrad": {
  1220. "mapping": {
  1221. "bodyPaddingHorizontal": 10,
  1222. "bodyPaddingVertical": 10,
  1223. "headerPaddingHorizontal": 10,
  1224. "headerPaddingVertical": 10,
  1225. "footerPaddingHorizontal": 10,
  1226. "footerPaddingVertical": 10
  1227. }
  1228. },
  1229. "diaogOutline": {
  1230. "mapping": {
  1231. "accentHeight": 0,
  1232. "bodyPaddingHorizontal": 24,
  1233. "bodyPaddingVertical": 10,
  1234. "headerPaddingHorizontal": 24,
  1235. "headerPaddingVertical": 20,
  1236. "footerPaddingHorizontal": 24,
  1237. "footerPaddingVertical": 15,
  1238. "state": {
  1239. "active": {
  1240. "backgroundColor": "background-basic-color-2"
  1241. }
  1242. }
  1243. },
  1244. "variantGroups": {
  1245. "status": {
  1246. "basic": {
  1247. "accentHeight": 4,
  1248. "accentBackgroundColor": "color-basic-default"
  1249. },
  1250. "primary": {
  1251. "accentHeight": 4,
  1252. "accentBackgroundColor": "color-primary-default"
  1253. },
  1254. "success": {
  1255. "accentHeight": 4,
  1256. "accentBackgroundColor": "color-success-default"
  1257. },
  1258. "info": {
  1259. "accentHeight": 4,
  1260. "accentBackgroundColor": "color-info-default"
  1261. },
  1262. "warning": {
  1263. "accentHeight": 4,
  1264. "accentBackgroundColor": "color-warning-default"
  1265. },
  1266. "danger": {
  1267. "accentHeight": 4,
  1268. "accentBackgroundColor": "color-danger-default"
  1269. },
  1270. "control": {
  1271. "accentHeight": 4,
  1272. "accentBackgroundColor": "color-control-default"
  1273. }
  1274. }
  1275. }
  1276. },
  1277. "headerList": {
  1278. "mapping": {
  1279. "backgroundColor": "transparent",
  1280. "accentHeight": 0,
  1281. "bodyPaddingHorizontal": 15,
  1282. "bodyPaddingVertical": 10,
  1283. "headerPaddingHorizontal": 15,
  1284. "headerPaddingVertical": 0,
  1285. "footerPaddingHorizontal": 15,
  1286. "footerPaddingVertical": 0,
  1287. "borderColor": "transparent",
  1288. "state": {
  1289. "active": {
  1290. "backgroundColor": "background-basic-color-2"
  1291. }
  1292. }
  1293. },
  1294. "variantGroups": {
  1295. "status": {
  1296. "basic": {
  1297. "accentHeight": 4,
  1298. "accentBackgroundColor": "color-basic-default"
  1299. },
  1300. "primary": {
  1301. "accentHeight": 4,
  1302. "accentBackgroundColor": "color-primary-default"
  1303. },
  1304. "success": {
  1305. "accentHeight": 4,
  1306. "accentBackgroundColor": "color-success-default"
  1307. },
  1308. "info": {
  1309. "accentHeight": 4,
  1310. "accentBackgroundColor": "color-info-default"
  1311. },
  1312. "warning": {
  1313. "accentHeight": 4,
  1314. "accentBackgroundColor": "color-warning-default"
  1315. },
  1316. "danger": {
  1317. "accentHeight": 4,
  1318. "accentBackgroundColor": "color-danger-default"
  1319. },
  1320. "control": {
  1321. "accentHeight": 4,
  1322. "accentBackgroundColor": "color-control-default"
  1323. }
  1324. }
  1325. }
  1326. },
  1327. "goodsCard": {
  1328. "mapping": {
  1329. "accentHeight": 0,
  1330. "bodyPaddingHorizontal": 13,
  1331. "bodyPaddingVertical": 20,
  1332. "borderColor": "transparent",
  1333. "borderRadius": 3,
  1334. "state": {
  1335. "active": {
  1336. "backgroundColor": "background-basic-color-2"
  1337. }
  1338. }
  1339. },
  1340. "variantGroups": {
  1341. "status": {
  1342. "basic": {
  1343. "accentHeight": 4,
  1344. "accentBackgroundColor": "color-basic-default"
  1345. },
  1346. "primary": {
  1347. "accentHeight": 4,
  1348. "accentBackgroundColor": "color-primary-default"
  1349. },
  1350. "success": {
  1351. "accentHeight": 4,
  1352. "accentBackgroundColor": "color-success-default"
  1353. },
  1354. "info": {
  1355. "accentHeight": 4,
  1356. "accentBackgroundColor": "color-info-default"
  1357. },
  1358. "warning": {
  1359. "accentHeight": 4,
  1360. "accentBackgroundColor": "color-warning-default"
  1361. },
  1362. "danger": {
  1363. "accentHeight": 4,
  1364. "accentBackgroundColor": "color-danger-default"
  1365. },
  1366. "control": {
  1367. "accentHeight": 4,
  1368. "accentBackgroundColor": "color-control-default"
  1369. }
  1370. },
  1371. "direction": {
  1372. "vertical": {
  1373. "bodyPaddingHorizontal": 0,
  1374. "bodyPaddingVertical": 0
  1375. }
  1376. }
  1377. }
  1378. },
  1379. "classification": {
  1380. "mapping": {
  1381. "accentHeight": 0,
  1382. "bodyPaddingHorizontal": 10,
  1383. "bodyPaddingVertical": 5,
  1384. "borderColor": "transparent",
  1385. "borderRadius": 3,
  1386. "state": {
  1387. "active": {
  1388. "backgroundColor": "background-basic-color-2"
  1389. }
  1390. }
  1391. },
  1392. "variantGroups": {
  1393. "status": {
  1394. "basic": {
  1395. "accentHeight": 4,
  1396. "accentBackgroundColor": "color-basic-default"
  1397. },
  1398. "primary": {
  1399. "accentHeight": 4,
  1400. "accentBackgroundColor": "color-primary-default"
  1401. },
  1402. "success": {
  1403. "accentHeight": 4,
  1404. "accentBackgroundColor": "color-success-default"
  1405. },
  1406. "info": {
  1407. "accentHeight": 4,
  1408. "accentBackgroundColor": "color-info-default"
  1409. },
  1410. "warning": {
  1411. "accentHeight": 4,
  1412. "accentBackgroundColor": "color-warning-default"
  1413. },
  1414. "danger": {
  1415. "accentHeight": 4,
  1416. "accentBackgroundColor": "color-danger-default"
  1417. },
  1418. "control": {
  1419. "accentHeight": 4,
  1420. "accentBackgroundColor": "color-control-default"
  1421. }
  1422. },
  1423. "direction": {
  1424. "vertical": {
  1425. "bodyPaddingHorizontal": 0,
  1426. "bodyPaddingVertical": 0
  1427. }
  1428. }
  1429. }
  1430. },
  1431. "homeCard": {
  1432. "mapping": {
  1433. "accentHeight": 0,
  1434. "bodyPaddingHorizontal": 10,
  1435. "bodyPaddingVertical": 10,
  1436. "borderRadius": 3,
  1437. "headerPaddingVertical": 0,
  1438. "footerPaddingVertical": 0
  1439. }
  1440. },
  1441. "homePage1Card": {
  1442. "mapping": {
  1443. "accentHeight": 0,
  1444. "bodyPaddingHorizontal": 15,
  1445. "bodyPaddingVertical": 0,
  1446. "borderRadius": 3,
  1447. "headerPaddingVertical": 10,
  1448. "headerPaddingHorizontal": 15,
  1449. "footerPaddingVertical": 5,
  1450. "borderWidth": 0
  1451. }
  1452. },
  1453. "CommentCard": {
  1454. "mapping": {
  1455. "accentHeight": 0,
  1456. "bodyPaddingHorizontal": 13,
  1457. "bodyPaddingVertical": 0,
  1458. "borderColor": "transparent",
  1459. "borderRadius": 3,
  1460. "state": {
  1461. "active": {
  1462. "backgroundColor": "background-basic-color-2"
  1463. }
  1464. }
  1465. },
  1466. "variantGroups": {
  1467. "status": {
  1468. "basic": {
  1469. "accentHeight": 4,
  1470. "accentBackgroundColor": "color-basic-default"
  1471. },
  1472. "primary": {
  1473. "accentHeight": 4,
  1474. "accentBackgroundColor": "color-primary-default"
  1475. },
  1476. "success": {
  1477. "accentHeight": 4,
  1478. "accentBackgroundColor": "color-success-default"
  1479. },
  1480. "info": {
  1481. "accentHeight": 4,
  1482. "accentBackgroundColor": "color-info-default"
  1483. },
  1484. "warning": {
  1485. "accentHeight": 4,
  1486. "accentBackgroundColor": "color-warning-default"
  1487. },
  1488. "danger": {
  1489. "accentHeight": 4,
  1490. "accentBackgroundColor": "color-danger-default"
  1491. },
  1492. "control": {
  1493. "accentHeight": 4,
  1494. "accentBackgroundColor": "color-control-default"
  1495. }
  1496. },
  1497. "direction": {
  1498. "vertical": {
  1499. "bodyPaddingHorizontal": 0,
  1500. "bodyPaddingVertical": 0
  1501. }
  1502. }
  1503. }
  1504. },
  1505. "orderCard": {
  1506. "mapping": {
  1507. "accentHeight": 0,
  1508. "bodyPaddingHorizontal": 13,
  1509. "bodyPaddingVertical": 20,
  1510. "borderColor": "transparent",
  1511. "borderRadius": 3,
  1512. "footerPaddingHorizontal": 13,
  1513. "footerPaddingVertical": 10,
  1514. "state": {
  1515. "active": {
  1516. "backgroundColor": "background-basic-color-2"
  1517. }
  1518. }
  1519. },
  1520. "variantGroups": {
  1521. "status": {
  1522. "basic": {
  1523. "accentHeight": 4,
  1524. "accentBackgroundColor": "color-basic-default"
  1525. },
  1526. "primary": {
  1527. "accentHeight": 4,
  1528. "accentBackgroundColor": "color-primary-default"
  1529. },
  1530. "success": {
  1531. "accentHeight": 4,
  1532. "accentBackgroundColor": "color-success-default"
  1533. },
  1534. "info": {
  1535. "accentHeight": 4,
  1536. "accentBackgroundColor": "color-info-default"
  1537. },
  1538. "warning": {
  1539. "accentHeight": 4,
  1540. "accentBackgroundColor": "color-warning-default"
  1541. },
  1542. "danger": {
  1543. "accentHeight": 4,
  1544. "accentBackgroundColor": "color-danger-default"
  1545. },
  1546. "control": {
  1547. "accentHeight": 4,
  1548. "accentBackgroundColor": "color-control-default"
  1549. }
  1550. },
  1551. "direction": {
  1552. "vertical": {
  1553. "bodyPaddingHorizontal": 0,
  1554. "bodyPaddingVertical": 0
  1555. }
  1556. }
  1557. }
  1558. }
  1559. }
  1560. },
  1561. "SelectOption": {
  1562. "appearances": {
  1563. "default": {
  1564. "mapping": {
  1565. "paddingHorizontal": 8,
  1566. "paddingVertical": 12,
  1567. "backgroundColor": "background-basic-color-1",
  1568. "textMarginHorizontal": 8,
  1569. "textFontSize": "text-subtitle-1-font-size",
  1570. "textFontWeight": "text-subtitle-1-font-weight",
  1571. "textFontFamily": "text-subtitle-1-font-family",
  1572. "textColor": "text-basic-color",
  1573. "iconWidth": 20,
  1574. "iconHeight": 20,
  1575. "iconMarginHorizontal": 8,
  1576. "iconTintColor": "text-hint-color",
  1577. "state": {
  1578. "hover": {
  1579. "iconTintColor": "text-primary-hover-color",
  1580. "backgroundColor": "color-basic-transparent-hover"
  1581. },
  1582. "active": {
  1583. "backgroundColor": "color-basic-transparent-active"
  1584. },
  1585. "selected": {
  1586. "backgroundColor": "color-primary-transparent-default",
  1587. "textColor": "text-basic-color",
  1588. "iconTintColor": "text-primary-color"
  1589. },
  1590. "selected.hover": {
  1591. "background-color": "color-primary-transparent-100",
  1592. "textColor": "text-basic-color"
  1593. },
  1594. "disabled": {
  1595. "backgroundColor": "background-basic-color-1",
  1596. "textColor": "text-disabled-color",
  1597. "iconTintColor": "text-disabled-color"
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "grouped": {
  1603. "mapping": {
  1604. "paddingLeft": 16
  1605. }
  1606. },
  1607. "form": {
  1608. "mapping": {
  1609. "paddingVertical": 5,
  1610. "textFontSize": "text-subtitle-2-font-size"
  1611. }
  1612. }
  1613. }
  1614. },
  1615. "MenuItem": {
  1616. "appearances": {
  1617. "default": {
  1618. "mapping": {
  1619. "paddingHorizontal": 8,
  1620. "paddingVertical": 12,
  1621. "backgroundColor": "background-basic-color-1",
  1622. "indicatorWidth": 0,
  1623. "indicatorBackgroundColor": "transparent",
  1624. "titleMarginHorizontal": 8,
  1625. "titleFontSize": "text-subtitle-2-font-size",
  1626. "titleFontWeight": "text-subtitle-2-font-weight",
  1627. "titleFontFamily": "text-subtitle-2-font-family",
  1628. "titleColor": "text-basic-color",
  1629. "iconWidth": 20,
  1630. "iconHeight": 20,
  1631. "iconMarginHorizontal": 8,
  1632. "iconTintColor": "text-hint-color",
  1633. "state": {
  1634. "hover": {
  1635. "titleColor": "text-primary-hover-color",
  1636. "iconTintColor": "text-primary-hover-color"
  1637. },
  1638. "active": {
  1639. "backgroundColor": "color-basic-transparent-active"
  1640. },
  1641. "selected": {
  1642. "backgroundColor": "color-primary-transparent-default",
  1643. "indicatorWidth": 4,
  1644. "indicatorBackgroundColor": "color-primary-default",
  1645. "titleColor": "text-primary-color",
  1646. "iconTintColor": "text-primary-color"
  1647. },
  1648. "disabled": {
  1649. "titleColor": "text-disabled-color",
  1650. "iconTintColor": "text-disabled-color"
  1651. }
  1652. }
  1653. }
  1654. },
  1655. "grouped": {
  1656. "mapping": {
  1657. "paddingLeft": 16
  1658. }
  1659. },
  1660. "cardContent": {
  1661. "mapping": {
  1662. "paddingHorizontal": 0
  1663. }
  1664. },
  1665. "orderProduct": {
  1666. "mapping": {
  1667. "paddingHorizontal": 0,
  1668. "paddingVertical": 2,
  1669. "backgroundColor": "background-basic-color-1",
  1670. "indicatorWidth": 0,
  1671. "indicatorBackgroundColor": "transparent",
  1672. "titleMarginHorizontal": 0,
  1673. "titleFontSize": "text-label-font-size",
  1674. "titleFontWeight": "text-subtitle-2-font-weight",
  1675. "titleFontFamily": "text-subtitle-2-font-family",
  1676. "titleColor": "text-basic-color",
  1677. "iconWidth": 12,
  1678. "iconHeight": 12,
  1679. "iconMarginHorizontal": 8,
  1680. "iconTintColor": "text-hint-color"
  1681. }
  1682. }
  1683. }
  1684. },
  1685. "TopNavigation": {
  1686. "meta": {
  1687. "scope": "mobile",
  1688. "parameters": {
  1689. "minHeight": {
  1690. "type": "number"
  1691. },
  1692. "paddingVertical": {
  1693. "type": "number"
  1694. },
  1695. "paddingHorizontal": {
  1696. "type": "number"
  1697. },
  1698. "backgroundColor": {
  1699. "type": "string"
  1700. },
  1701. "titleTextAlign": {
  1702. "type": "string"
  1703. },
  1704. "titleFontFamily": {
  1705. "type": "string"
  1706. },
  1707. "titleFontSize": {
  1708. "type": "number"
  1709. },
  1710. "titleFontWeight": {
  1711. "type": "string"
  1712. },
  1713. "titleColor": {
  1714. "type": "string"
  1715. },
  1716. "subtitleTextAlign": {
  1717. "type": "string"
  1718. },
  1719. "subtitleFontFamily": {
  1720. "type": "string"
  1721. },
  1722. "subtitleFontSize": {
  1723. "type": "number"
  1724. },
  1725. "subtitleFontWeight": {
  1726. "type": "string"
  1727. },
  1728. "subtitleColor": {
  1729. "type": "string"
  1730. }
  1731. },
  1732. "appearances": {
  1733. "default": {
  1734. "default": true
  1735. },
  1736. "control": {
  1737. "default": false
  1738. }
  1739. },
  1740. "variantGroups": {
  1741. "alignment": {
  1742. "start": {
  1743. "default": true
  1744. },
  1745. "center": {
  1746. "default": false
  1747. }
  1748. }
  1749. },
  1750. "states": {}
  1751. },
  1752. "appearances": {
  1753. "default": {
  1754. "mapping": {
  1755. "minHeight": 56,
  1756. "paddingVertical": 8,
  1757. "paddingHorizontal": 8,
  1758. "backgroundColor": "color-primary-500",
  1759. "titleColor": "#fff",
  1760. "iconTintColor": "#fff"
  1761. },
  1762. "variantGroups": {
  1763. "alignment": {
  1764. "start": {
  1765. "titleTextAlign": "left",
  1766. "subtitleTextAlign": "left"
  1767. },
  1768. "center": {
  1769. "titleTextAlign": "center",
  1770. "subtitleTextAlign": "center"
  1771. }
  1772. }
  1773. }
  1774. },
  1775. "control": {
  1776. "mapping": {
  1777. "backgroundColor": "transparent"
  1778. }
  1779. },
  1780. "homeBar": {
  1781. "mapping": {
  1782. "minHeight": 56,
  1783. "paddingVertical": 8,
  1784. "paddingHorizontal": 8,
  1785. "backgroundColor": "#fff",
  1786. "titleColor": "#000000",
  1787. "iconTintColor": "#000000"
  1788. }
  1789. }
  1790. }
  1791. },
  1792. "Text": {
  1793. "meta": {
  1794. "scope": "all",
  1795. "parameters": {
  1796. "fontFamily": {
  1797. "type": "string"
  1798. },
  1799. "fontSize": {
  1800. "type": "number"
  1801. },
  1802. "fontWeight": {
  1803. "type": "string"
  1804. },
  1805. "color": {
  1806. "type": "string"
  1807. }
  1808. },
  1809. "appearances": {
  1810. "default": {
  1811. "default": true
  1812. },
  1813. "alternative": {
  1814. "default": false
  1815. },
  1816. "hint": {
  1817. "default": false
  1818. }
  1819. },
  1820. "variantGroups": {
  1821. "category": {
  1822. "h1": {
  1823. "default": false
  1824. },
  1825. "h2": {
  1826. "default": false
  1827. },
  1828. "h3": {
  1829. "default": false
  1830. },
  1831. "h4": {
  1832. "default": false
  1833. },
  1834. "h5": {
  1835. "default": false
  1836. },
  1837. "h6": {
  1838. "default": false
  1839. },
  1840. "s1": {
  1841. "default": false
  1842. },
  1843. "s2": {
  1844. "default": false
  1845. },
  1846. "p1": {
  1847. "default": true
  1848. },
  1849. "p2": {
  1850. "default": false
  1851. },
  1852. "c1": {
  1853. "default": false
  1854. },
  1855. "c2": {
  1856. "default": false
  1857. }
  1858. },
  1859. "status": {
  1860. "basic": {
  1861. "default": false
  1862. },
  1863. "primary": {
  1864. "default": false
  1865. },
  1866. "success": {
  1867. "default": false
  1868. },
  1869. "info": {
  1870. "default": false
  1871. },
  1872. "warning": {
  1873. "default": false
  1874. },
  1875. "danger": {
  1876. "default": false
  1877. },
  1878. "control": {
  1879. "default": false
  1880. }
  1881. }
  1882. },
  1883. "states": {}
  1884. },
  1885. "appearances": {
  1886. "default": {
  1887. "mapping": {
  1888. "color": "text-basic-color"
  1889. },
  1890. "variantGroups": {
  1891. "category": {
  1892. "h1": {
  1893. "fontSize": "text-label-font-size",
  1894. "fontWeight": "text-label-font-weight",
  1895. "fontFamily": "text-heading-1-font-family"
  1896. },
  1897. "h2": {
  1898. "fontSize": "text-heading-2-font-size",
  1899. "fontWeight": "text-heading-2-font-weight",
  1900. "fontFamily": "text-heading-2-font-family"
  1901. },
  1902. "h3": {
  1903. "fontSize": "text-heading-3-font-size",
  1904. "fontWeight": "text-heading-3-font-weight",
  1905. "fontFamily": "text-heading-3-font-family"
  1906. },
  1907. "h4": {
  1908. "fontSize": "text-heading-4-font-size",
  1909. "fontWeight": "text-heading-4-font-weight",
  1910. "fontFamily": "text-heading-4-font-family"
  1911. },
  1912. "h5": {
  1913. "fontSize": "text-heading-5-font-size",
  1914. "fontWeight": "text-heading-5-font-weight",
  1915. "fontFamily": "text-heading-5-font-family"
  1916. },
  1917. "h6": {
  1918. "fontSize": "text-heading-6-font-size",
  1919. "fontWeight": "text-heading-6-font-weight",
  1920. "fontFamily": "text-heading-6-font-family"
  1921. },
  1922. "s1": {
  1923. "fontSize": "text-subtitle-1-font-size",
  1924. "fontWeight": "text-subtitle-1-font-weight",
  1925. "fontFamily": "text-subtitle-1-font-family"
  1926. },
  1927. "s2": {
  1928. "fontSize": "text-subtitle-2-font-size",
  1929. "fontWeight": "text-subtitle-2-font-weight",
  1930. "fontFamily": "text-subtitle-2-font-family"
  1931. },
  1932. "p1": {
  1933. "fontSize": "text-paragraph-1-font-size",
  1934. "fontWeight": "text-paragraph-1-font-weight",
  1935. "fontFamily": "text-paragraph-1-font-family"
  1936. },
  1937. "p2": {
  1938. "fontSize": "text-paragraph-2-font-size",
  1939. "fontWeight": "text-paragraph-2-font-weight",
  1940. "fontFamily": "text-paragraph-2-font-family"
  1941. },
  1942. "c1": {
  1943. "fontSize": "text-caption-1-font-size",
  1944. "fontWeight": "text-caption-1-font-weight",
  1945. "fontFamily": "text-caption-1-font-family"
  1946. },
  1947. "c2": {
  1948. "fontSize": "text-caption-2-font-size",
  1949. "fontWeight": "text-caption-2-font-weight",
  1950. "fontFamily": "text-caption-2-font-family"
  1951. }
  1952. },
  1953. "status": {
  1954. "basic": {
  1955. "color": "text-basic-color"
  1956. },
  1957. "primary": {
  1958. "color": "text-primary-color"
  1959. },
  1960. "success": {
  1961. "color": "text-success-color"
  1962. },
  1963. "info": {
  1964. "color": "#B5B5B5"
  1965. },
  1966. "warning": {
  1967. "color": "text-warning-color"
  1968. },
  1969. "danger": {
  1970. "color": "text-danger-color"
  1971. },
  1972. "control": {
  1973. "color": "text-control-color"
  1974. }
  1975. }
  1976. }
  1977. },
  1978. "alternative": {
  1979. "mapping": {
  1980. "color": "text-alternate-color"
  1981. }
  1982. },
  1983. "hint": {
  1984. "mapping": {
  1985. "color": "text-hint-color"
  1986. }
  1987. }
  1988. }
  1989. },
  1990. "Tab": {
  1991. "meta": {
  1992. "scope": "all",
  1993. "parameters": {
  1994. "textFontFamily": {
  1995. "type": "string"
  1996. },
  1997. "textFontSize": {
  1998. "type": "number"
  1999. },
  2000. "textFontWeight": {
  2001. "type": "number"
  2002. },
  2003. "textMarginVertical": {
  2004. "type": "number"
  2005. },
  2006. "textColor": {
  2007. "type": "string"
  2008. },
  2009. "iconWidth": {
  2010. "type": "number"
  2011. },
  2012. "iconHeight": {
  2013. "type": "number"
  2014. },
  2015. "iconMarginVertical": {
  2016. "type": "number"
  2017. },
  2018. "iconTintColor": {
  2019. "type": "string"
  2020. }
  2021. },
  2022. "appearances": {
  2023. "default": {
  2024. "default": true
  2025. }
  2026. },
  2027. "variantGroups": {},
  2028. "states": {
  2029. "selected": {
  2030. "default": false,
  2031. "priority": 0,
  2032. "scope": "all"
  2033. },
  2034. "hover": {
  2035. "default": false,
  2036. "priority": 1,
  2037. "scope": "all"
  2038. },
  2039. "focused": {
  2040. "default": false,
  2041. "priority": 2,
  2042. "scope": "all"
  2043. }
  2044. }
  2045. },
  2046. "appearances": {
  2047. "default": {
  2048. "mapping": {
  2049. "textMarginVertical": 2,
  2050. "textFontSize": 14,
  2051. "textFontWeight": "bold",
  2052. "textFontFamily": "text-font-family",
  2053. "textColor": "text-hint-color",
  2054. "iconWidth": 24,
  2055. "iconHeight": 24,
  2056. "iconMarginVertical": 2,
  2057. "iconTintColor": "text-hint-color",
  2058. "state": {
  2059. "hover": {
  2060. "textColor": "text-primary-hover-color",
  2061. "iconTintColor": "text-primary-hover-color"
  2062. },
  2063. "selected": {
  2064. "textColor": "text-primary-color",
  2065. "iconTintColor": "text-primary-color"
  2066. }
  2067. }
  2068. }
  2069. },
  2070. "homeTab": {
  2071. "mapping": {
  2072. "textMarginVertical": 5,
  2073. "textFontSize": 15,
  2074. "textFontWeight": "blod",
  2075. "textFontFamily": "text-font-family",
  2076. "textColor": "#000",
  2077. "iconWidth": 24,
  2078. "iconHeight": 24,
  2079. "iconMarginVertical": 8,
  2080. "iconTintColor": "#000",
  2081. "state": {
  2082. "hover": {
  2083. "textColor": "#000",
  2084. "iconTintColor": "text-primary-hover-color"
  2085. },
  2086. "selected": {
  2087. "textColor": "#000",
  2088. "iconTintColor": "text-primary-color"
  2089. }
  2090. }
  2091. }
  2092. }
  2093. }
  2094. },
  2095. "TabBar": {
  2096. "meta": {
  2097. "scope": "all",
  2098. "parameters": {
  2099. "paddingVertical": {
  2100. "type": "number"
  2101. },
  2102. "backgroundColor": {
  2103. "type": "string"
  2104. },
  2105. "indicatorHeight": {
  2106. "type": "number"
  2107. },
  2108. "indicatorBorderRadius": {
  2109. "type": "number"
  2110. },
  2111. "indicatorBackgroundColor": {
  2112. "type": "string"
  2113. }
  2114. },
  2115. "appearances": {
  2116. "default": {
  2117. "default": true
  2118. }
  2119. },
  2120. "variantGroups": {},
  2121. "states": {}
  2122. },
  2123. "appearances": {
  2124. "default": {
  2125. "mapping": {
  2126. "paddingVertical": 4,
  2127. "backgroundColor": "background-basic-color-1",
  2128. "indicatorHeight": 4,
  2129. "indicatorBorderRadius": 2,
  2130. "indicatorBackgroundColor": "color-primary-default"
  2131. }
  2132. },
  2133. "homeTab": {
  2134. "mapping": {
  2135. "paddingVertical": 4,
  2136. "backgroundColor": "transparent",
  2137. "indicatorHeight": 4,
  2138. "indicatorBorderRadius": 2,
  2139. "indicatorBackgroundColor": "transparent"
  2140. }
  2141. }
  2142. }
  2143. },
  2144. "ListItem": {
  2145. "meta": {
  2146. "scope": "all",
  2147. "parameters": {
  2148. "paddingVertical": {
  2149. "type": "number"
  2150. },
  2151. "paddingHorizontal": {
  2152. "type": "number"
  2153. },
  2154. "backgroundColor": {
  2155. "type": "string"
  2156. },
  2157. "iconWidth": {
  2158. "type": "number"
  2159. },
  2160. "iconHeight": {
  2161. "type": "number"
  2162. },
  2163. "iconMarginHorizontal": {
  2164. "type": "number"
  2165. },
  2166. "iconTintColor": {
  2167. "type": "string"
  2168. },
  2169. "titleMarginHorizontal": {
  2170. "type": "number"
  2171. },
  2172. "titleFontFamily": {
  2173. "type": "string"
  2174. },
  2175. "titleFontSize": {
  2176. "type": "number"
  2177. },
  2178. "titleFontWeight": {
  2179. "type": "string"
  2180. },
  2181. "titleColor": {
  2182. "type": "string"
  2183. },
  2184. "descriptionColor": {
  2185. "type": "string"
  2186. },
  2187. "descriptionFontFamily": {
  2188. "type": "string"
  2189. },
  2190. "descriptionFontSize": {
  2191. "type": "number"
  2192. },
  2193. "descriptionFontWeight": {
  2194. "type": "string"
  2195. },
  2196. "descriptionMarginHorizontal": {
  2197. "type": "number"
  2198. },
  2199. "accessoryMarginHorizontal": {
  2200. "type": "number"
  2201. },
  2202. "alignItems": {
  2203. "type": "String"
  2204. }
  2205. },
  2206. "appearances": {
  2207. "default": {
  2208. "default": true
  2209. }
  2210. },
  2211. "variantGroups": {},
  2212. "states": {
  2213. "active": {
  2214. "default": false,
  2215. "priority": 0,
  2216. "scope": "all"
  2217. }
  2218. }
  2219. },
  2220. "appearances": {
  2221. "default": {
  2222. "mapping": {
  2223. "paddingHorizontal": 8,
  2224. "paddingVertical": 12,
  2225. "backgroundColor": "background-basic-color-1",
  2226. "iconWidth": 24,
  2227. "iconHeight": 24,
  2228. "iconMarginHorizontal": 8,
  2229. "iconTintColor": "text-hint-color",
  2230. "titleMarginHorizontal": 8,
  2231. "titleFontSize": "text-subtitle-2-font-size",
  2232. "titleFontWeight": "text-subtitle-2-font-weight",
  2233. "titleFontFamily": "text-subtitle-2-font-family",
  2234. "titleColor": "text-basic-color",
  2235. "descriptionMarginHorizontal": 8,
  2236. "descriptionFontSize": "text-caption-1-font-size",
  2237. "descriptionFontWeight": "text-caption-1-font-weight",
  2238. "descriptionFontFamily": "text-caption-1-font-family",
  2239. "descriptionColor": "text-hint-color",
  2240. "accessoryMarginHorizontal": 8,
  2241. "state": {
  2242. "active": {
  2243. "backgroundColor": "color-basic-transparent-active"
  2244. }
  2245. }
  2246. }
  2247. },
  2248. "classification": {
  2249. "mapping": {
  2250. "paddingHorizontal": 8,
  2251. "paddingVertical": 12,
  2252. "backgroundColor": "transparent",
  2253. "iconWidth": 24,
  2254. "iconHeight": 24,
  2255. "iconMarginHorizontal": 8,
  2256. "iconTintColor": "text-hint-color",
  2257. "titleMarginHorizontal": 8,
  2258. "titleFontSize": "text-subtitle-2-font-size",
  2259. "titleFontWeight": "text-subtitle-2-font-weight",
  2260. "titleFontFamily": "text-subtitle-2-font-family",
  2261. "titleColor": "text-basic-color",
  2262. "descriptionMarginHorizontal": 8,
  2263. "descriptionFontSize": "text-caption-1-font-size",
  2264. "descriptionFontWeight": "text-caption-1-font-weight",
  2265. "descriptionFontFamily": "text-caption-1-font-family",
  2266. "descriptionColor": "text-hint-color",
  2267. "accessoryMarginHorizontal": 8,
  2268. "alignItems": "center",
  2269. "state": {
  2270. "active": {
  2271. "backgroundColor": "color-basic-transparent-active"
  2272. }
  2273. }
  2274. }
  2275. }
  2276. }
  2277. }
  2278. }
  2279. }