mapping.json 110 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297
  1. {
  2. "strict": {
  3. "text-heading-1-font-size": 32,
  4. "text-heading-2-font-size": 33,
  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. },
  1781. "variantGroups": {
  1782. "alignment": {
  1783. "start": {
  1784. "titleTextAlign": "left",
  1785. "subtitleTextAlign": "left"
  1786. },
  1787. "center": {
  1788. "titleTextAlign": "center",
  1789. "subtitleTextAlign": "center"
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "control": {
  1795. "mapping": {
  1796. "backgroundColor": "transparent"
  1797. }
  1798. },
  1799. "homeBar": {
  1800. "mapping": {
  1801. "minHeight": 56,
  1802. "paddingVertical": 8,
  1803. "paddingHorizontal": 8,
  1804. "backgroundColor": "#fff",
  1805. "titleColor": "#000000"
  1806. }
  1807. }
  1808. }
  1809. },
  1810. "Text": {
  1811. "meta": {
  1812. "scope": "all",
  1813. "parameters": {
  1814. "fontFamily": {
  1815. "type": "string"
  1816. },
  1817. "fontSize": {
  1818. "type": "number"
  1819. },
  1820. "fontWeight": {
  1821. "type": "string"
  1822. },
  1823. "color": {
  1824. "type": "string"
  1825. }
  1826. },
  1827. "appearances": {
  1828. "default": {
  1829. "default": true
  1830. },
  1831. "alternative": {
  1832. "default": false
  1833. },
  1834. "hint": {
  1835. "default": false
  1836. }
  1837. },
  1838. "variantGroups": {
  1839. "category": {
  1840. "h1": {
  1841. "default": false
  1842. },
  1843. "h2": {
  1844. "default": false
  1845. },
  1846. "h3": {
  1847. "default": false
  1848. },
  1849. "h4": {
  1850. "default": false
  1851. },
  1852. "h5": {
  1853. "default": false
  1854. },
  1855. "h6": {
  1856. "default": false
  1857. },
  1858. "s1": {
  1859. "default": false
  1860. },
  1861. "s2": {
  1862. "default": false
  1863. },
  1864. "p1": {
  1865. "default": true
  1866. },
  1867. "p2": {
  1868. "default": false
  1869. },
  1870. "c1": {
  1871. "default": false
  1872. },
  1873. "c2": {
  1874. "default": false
  1875. }
  1876. },
  1877. "status": {
  1878. "basic": {
  1879. "default": false
  1880. },
  1881. "primary": {
  1882. "default": false
  1883. },
  1884. "success": {
  1885. "default": false
  1886. },
  1887. "info": {
  1888. "default": false
  1889. },
  1890. "warning": {
  1891. "default": false
  1892. },
  1893. "danger": {
  1894. "default": false
  1895. },
  1896. "control": {
  1897. "default": false
  1898. }
  1899. }
  1900. },
  1901. "states": {}
  1902. },
  1903. "appearances": {
  1904. "default": {
  1905. "mapping": {
  1906. "color": "text-basic-color"
  1907. },
  1908. "variantGroups": {
  1909. "category": {
  1910. "h1": {
  1911. "fontSize": "text-label-font-size",
  1912. "fontWeight": "text-label-font-weight",
  1913. "fontFamily": "text-heading-1-font-family"
  1914. },
  1915. "h2": {
  1916. "fontSize": "text-heading-2-font-size",
  1917. "fontWeight": "text-heading-2-font-weight",
  1918. "fontFamily": "text-heading-2-font-family"
  1919. },
  1920. "h3": {
  1921. "fontSize": "text-heading-3-font-size",
  1922. "fontWeight": "text-heading-3-font-weight",
  1923. "fontFamily": "text-heading-3-font-family"
  1924. },
  1925. "h4": {
  1926. "fontSize": "text-heading-4-font-size",
  1927. "fontWeight": "text-heading-4-font-weight",
  1928. "fontFamily": "text-heading-4-font-family"
  1929. },
  1930. "h5": {
  1931. "fontSize": "text-heading-5-font-size",
  1932. "fontWeight": "text-heading-5-font-weight",
  1933. "fontFamily": "text-heading-5-font-family"
  1934. },
  1935. "h6": {
  1936. "fontSize": "text-heading-6-font-size",
  1937. "fontWeight": "text-heading-6-font-weight",
  1938. "fontFamily": "text-heading-6-font-family"
  1939. },
  1940. "s1": {
  1941. "fontSize": "text-subtitle-1-font-size",
  1942. "fontWeight": "text-subtitle-1-font-weight",
  1943. "fontFamily": "text-subtitle-1-font-family"
  1944. },
  1945. "s2": {
  1946. "fontSize": "text-subtitle-2-font-size",
  1947. "fontWeight": "text-subtitle-2-font-weight",
  1948. "fontFamily": "text-subtitle-2-font-family"
  1949. },
  1950. "p1": {
  1951. "fontSize": "text-paragraph-1-font-size",
  1952. "fontWeight": "text-paragraph-1-font-weight",
  1953. "fontFamily": "text-paragraph-1-font-family"
  1954. },
  1955. "p2": {
  1956. "fontSize": "text-paragraph-2-font-size",
  1957. "fontWeight": "text-paragraph-2-font-weight",
  1958. "fontFamily": "text-paragraph-2-font-family"
  1959. },
  1960. "c1": {
  1961. "fontSize": "text-caption-1-font-size",
  1962. "fontWeight": "text-caption-1-font-weight",
  1963. "fontFamily": "text-caption-1-font-family"
  1964. },
  1965. "c2": {
  1966. "fontSize": "text-caption-2-font-size",
  1967. "fontWeight": "text-caption-2-font-weight",
  1968. "fontFamily": "text-caption-2-font-family"
  1969. }
  1970. },
  1971. "status": {
  1972. "basic": {
  1973. "color": "text-basic-color"
  1974. },
  1975. "primary": {
  1976. "color": "text-primary-color"
  1977. },
  1978. "success": {
  1979. "color": "text-success-color"
  1980. },
  1981. "info": {
  1982. "color": "#B5B5B5"
  1983. },
  1984. "warning": {
  1985. "color": "text-warning-color"
  1986. },
  1987. "danger": {
  1988. "color": "text-danger-color"
  1989. },
  1990. "control": {
  1991. "color": "text-control-color"
  1992. }
  1993. }
  1994. }
  1995. },
  1996. "alternative": {
  1997. "mapping": {
  1998. "color": "text-alternate-color"
  1999. }
  2000. },
  2001. "hint": {
  2002. "mapping": {
  2003. "color": "text-hint-color"
  2004. }
  2005. }
  2006. }
  2007. },
  2008. "Tab": {
  2009. "meta": {
  2010. "scope": "all",
  2011. "parameters": {
  2012. "textFontFamily": {
  2013. "type": "string"
  2014. },
  2015. "textFontSize": {
  2016. "type": "number"
  2017. },
  2018. "textFontWeight": {
  2019. "type": "number"
  2020. },
  2021. "textMarginVertical": {
  2022. "type": "number"
  2023. },
  2024. "textColor": {
  2025. "type": "string"
  2026. },
  2027. "iconWidth": {
  2028. "type": "number"
  2029. },
  2030. "iconHeight": {
  2031. "type": "number"
  2032. },
  2033. "iconMarginVertical": {
  2034. "type": "number"
  2035. },
  2036. "iconTintColor": {
  2037. "type": "string"
  2038. }
  2039. },
  2040. "appearances": {
  2041. "default": {
  2042. "default": true
  2043. }
  2044. },
  2045. "variantGroups": {},
  2046. "states": {
  2047. "selected": {
  2048. "default": false,
  2049. "priority": 0,
  2050. "scope": "all"
  2051. },
  2052. "hover": {
  2053. "default": false,
  2054. "priority": 1,
  2055. "scope": "all"
  2056. },
  2057. "focused": {
  2058. "default": false,
  2059. "priority": 2,
  2060. "scope": "all"
  2061. }
  2062. }
  2063. },
  2064. "appearances": {
  2065. "default": {
  2066. "mapping": {
  2067. "textMarginVertical": 2,
  2068. "textFontSize": 14,
  2069. "textFontWeight": "bold",
  2070. "textFontFamily": "text-font-family",
  2071. "textColor": "text-hint-color",
  2072. "iconWidth": 24,
  2073. "iconHeight": 24,
  2074. "iconMarginVertical": 2,
  2075. "iconTintColor": "text-hint-color",
  2076. "state": {
  2077. "hover": {
  2078. "textColor": "text-primary-hover-color",
  2079. "iconTintColor": "text-primary-hover-color"
  2080. },
  2081. "selected": {
  2082. "textColor": "text-primary-color",
  2083. "iconTintColor": "text-primary-color"
  2084. }
  2085. }
  2086. }
  2087. },
  2088. "homeTab": {
  2089. "mapping": {
  2090. "textMarginVertical": 5,
  2091. "textFontSize": 15,
  2092. "textFontWeight": "blod",
  2093. "textFontFamily": "text-font-family",
  2094. "textColor": "#000",
  2095. "iconWidth": 24,
  2096. "iconHeight": 24,
  2097. "iconMarginVertical": 8,
  2098. "iconTintColor": "#000",
  2099. "state": {
  2100. "hover": {
  2101. "textColor": "#000",
  2102. "iconTintColor": "text-primary-hover-color"
  2103. },
  2104. "selected": {
  2105. "textColor": "#000",
  2106. "iconTintColor": "text-primary-color"
  2107. }
  2108. }
  2109. }
  2110. }
  2111. }
  2112. },
  2113. "TabBar": {
  2114. "meta": {
  2115. "scope": "all",
  2116. "parameters": {
  2117. "paddingVertical": {
  2118. "type": "number"
  2119. },
  2120. "backgroundColor": {
  2121. "type": "string"
  2122. },
  2123. "indicatorHeight": {
  2124. "type": "number"
  2125. },
  2126. "indicatorBorderRadius": {
  2127. "type": "number"
  2128. },
  2129. "indicatorBackgroundColor": {
  2130. "type": "string"
  2131. }
  2132. },
  2133. "appearances": {
  2134. "default": {
  2135. "default": true
  2136. }
  2137. },
  2138. "variantGroups": {},
  2139. "states": {}
  2140. },
  2141. "appearances": {
  2142. "default": {
  2143. "mapping": {
  2144. "paddingVertical": 4,
  2145. "backgroundColor": "background-basic-color-1",
  2146. "indicatorHeight": 4,
  2147. "indicatorBorderRadius": 2,
  2148. "indicatorBackgroundColor": "color-primary-default"
  2149. }
  2150. },
  2151. "homeTab": {
  2152. "mapping": {
  2153. "paddingVertical": 4,
  2154. "backgroundColor": "transparent",
  2155. "indicatorHeight": 4,
  2156. "indicatorBorderRadius": 2,
  2157. "indicatorBackgroundColor": "transparent"
  2158. }
  2159. }
  2160. }
  2161. },
  2162. "ListItem": {
  2163. "meta": {
  2164. "scope": "all",
  2165. "parameters": {
  2166. "paddingVertical": {
  2167. "type": "number"
  2168. },
  2169. "paddingHorizontal": {
  2170. "type": "number"
  2171. },
  2172. "backgroundColor": {
  2173. "type": "string"
  2174. },
  2175. "iconWidth": {
  2176. "type": "number"
  2177. },
  2178. "iconHeight": {
  2179. "type": "number"
  2180. },
  2181. "iconMarginHorizontal": {
  2182. "type": "number"
  2183. },
  2184. "iconTintColor": {
  2185. "type": "string"
  2186. },
  2187. "titleMarginHorizontal": {
  2188. "type": "number"
  2189. },
  2190. "titleFontFamily": {
  2191. "type": "string"
  2192. },
  2193. "titleFontSize": {
  2194. "type": "number"
  2195. },
  2196. "titleFontWeight": {
  2197. "type": "string"
  2198. },
  2199. "titleColor": {
  2200. "type": "string"
  2201. },
  2202. "descriptionColor": {
  2203. "type": "string"
  2204. },
  2205. "descriptionFontFamily": {
  2206. "type": "string"
  2207. },
  2208. "descriptionFontSize": {
  2209. "type": "number"
  2210. },
  2211. "descriptionFontWeight": {
  2212. "type": "string"
  2213. },
  2214. "descriptionMarginHorizontal": {
  2215. "type": "number"
  2216. },
  2217. "accessoryMarginHorizontal": {
  2218. "type": "number"
  2219. },
  2220. "alignItems": {
  2221. "type": "String"
  2222. }
  2223. },
  2224. "appearances": {
  2225. "default": {
  2226. "default": true
  2227. }
  2228. },
  2229. "variantGroups": {},
  2230. "states": {
  2231. "active": {
  2232. "default": false,
  2233. "priority": 0,
  2234. "scope": "all"
  2235. }
  2236. }
  2237. },
  2238. "appearances": {
  2239. "default": {
  2240. "mapping": {
  2241. "paddingHorizontal": 8,
  2242. "paddingVertical": 12,
  2243. "backgroundColor": "background-basic-color-1",
  2244. "iconWidth": 24,
  2245. "iconHeight": 24,
  2246. "iconMarginHorizontal": 8,
  2247. "iconTintColor": "text-hint-color",
  2248. "titleMarginHorizontal": 8,
  2249. "titleFontSize": "text-subtitle-2-font-size",
  2250. "titleFontWeight": "text-subtitle-2-font-weight",
  2251. "titleFontFamily": "text-subtitle-2-font-family",
  2252. "titleColor": "text-basic-color",
  2253. "descriptionMarginHorizontal": 8,
  2254. "descriptionFontSize": "text-caption-1-font-size",
  2255. "descriptionFontWeight": "text-caption-1-font-weight",
  2256. "descriptionFontFamily": "text-caption-1-font-family",
  2257. "descriptionColor": "text-hint-color",
  2258. "accessoryMarginHorizontal": 8,
  2259. "state": {
  2260. "active": {
  2261. "backgroundColor": "color-basic-transparent-active"
  2262. }
  2263. }
  2264. }
  2265. },
  2266. "classification": {
  2267. "mapping": {
  2268. "paddingHorizontal": 8,
  2269. "paddingVertical": 12,
  2270. "backgroundColor": "transparent",
  2271. "iconWidth": 24,
  2272. "iconHeight": 24,
  2273. "iconMarginHorizontal": 8,
  2274. "iconTintColor": "text-hint-color",
  2275. "titleMarginHorizontal": 8,
  2276. "titleFontSize": "text-subtitle-2-font-size",
  2277. "titleFontWeight": "text-subtitle-2-font-weight",
  2278. "titleFontFamily": "text-subtitle-2-font-family",
  2279. "titleColor": "text-basic-color",
  2280. "descriptionMarginHorizontal": 8,
  2281. "descriptionFontSize": "text-caption-1-font-size",
  2282. "descriptionFontWeight": "text-caption-1-font-weight",
  2283. "descriptionFontFamily": "text-caption-1-font-family",
  2284. "descriptionColor": "text-hint-color",
  2285. "accessoryMarginHorizontal": 8,
  2286. "alignItems": "center",
  2287. "state": {
  2288. "active": {
  2289. "backgroundColor": "color-basic-transparent-active"
  2290. }
  2291. }
  2292. }
  2293. }
  2294. }
  2295. }
  2296. }
  2297. }