mapping.json 164 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374
  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. "meta": {
  111. "scope": "all",
  112. "parameters": {
  113. "paddingVertical": {
  114. "type": "number"
  115. },
  116. "paddingHorizontal": {
  117. "type": "number"
  118. },
  119. "minHeight": {
  120. "type": "number"
  121. },
  122. "borderRadius": {
  123. "type": "number"
  124. },
  125. "borderWidth": {
  126. "type": "number"
  127. },
  128. "borderColor": {
  129. "type": "string"
  130. },
  131. "borderBottomWidth": {
  132. "type": "number"
  133. },
  134. "backgroundColor": {
  135. "type": "string"
  136. },
  137. "textMarginHorizontal": {
  138. "type": "number"
  139. },
  140. "textFontFamily": {
  141. "type": "string"
  142. },
  143. "textFontSize": {
  144. "type": "number"
  145. },
  146. "textFontWeight": {
  147. "type": "string"
  148. },
  149. "textColor": {
  150. "type": "string"
  151. },
  152. "placeholderColor": {
  153. "type": "string"
  154. },
  155. "iconWidth": {
  156. "type": "number"
  157. },
  158. "iconHeight": {
  159. "type": "number"
  160. },
  161. "iconMarginHorizontal": {
  162. "type": "number"
  163. },
  164. "iconTintColor": {
  165. "type": "string"
  166. },
  167. "labelColor": {
  168. "type": "string"
  169. },
  170. "labelFontFamily": {
  171. "type": "string"
  172. },
  173. "labelFontSize": {
  174. "type": "number"
  175. },
  176. "labelFontWeight": {
  177. "type": "string"
  178. },
  179. "labelMarginBottom": {
  180. "type": "number"
  181. },
  182. "captionMarginTop": {
  183. "type": "number"
  184. },
  185. "captionColor": {
  186. "type": "string"
  187. },
  188. "captionFontFamily": {
  189. "type": "string"
  190. },
  191. "captionFontSize": {
  192. "type": "number"
  193. },
  194. "captionFontWeight": {
  195. "type": "string"
  196. },
  197. "captionIconWidth": {
  198. "type": "number"
  199. },
  200. "captionIconHeight": {
  201. "type": "number"
  202. },
  203. "captionIconMarginRight": {
  204. "type": "number"
  205. },
  206. "captionIconTintColor": {
  207. "type": "string"
  208. }
  209. },
  210. "appearances": {
  211. "default": {
  212. "default": true
  213. },
  214. "inner": {
  215. "default": false
  216. }
  217. },
  218. "variantGroups": {
  219. "status": {
  220. "basic": {
  221. "default": true
  222. },
  223. "primary": {
  224. "default": false
  225. },
  226. "success": {
  227. "default": false
  228. },
  229. "info": {
  230. "default": false
  231. },
  232. "warning": {
  233. "default": false
  234. },
  235. "danger": {
  236. "default": false
  237. },
  238. "control": {
  239. "default": false
  240. }
  241. },
  242. "size": {
  243. "small": {
  244. "default": true
  245. },
  246. "medium": {
  247. "default": false
  248. },
  249. "large": {
  250. "default": false
  251. }
  252. }
  253. },
  254. "states": {
  255. "hover": {
  256. "default": false,
  257. "priority": 0,
  258. "scope": "all"
  259. },
  260. "disabled": {
  261. "default": false,
  262. "priority": 1,
  263. "scope": "all"
  264. },
  265. "focused": {
  266. "default": false,
  267. "priority": 2,
  268. "scope": "all"
  269. }
  270. }
  271. },
  272. "appearances": {
  273. "default": {
  274. "mapping": {
  275. "paddingHorizontal": 8,
  276. "textMarginHorizontal": 8,
  277. "iconWidth": 24,
  278. "iconHeight": 24,
  279. "iconMarginHorizontal": 8,
  280. "labelMarginBottom": 4,
  281. "labelFontSize": "text-label-font-size",
  282. "labelFontWeight": "text-label-font-weight",
  283. "captionMarginTop": 0,
  284. "captionFontSize": "text-caption-1-font-size",
  285. "captionFontWeight": "text-caption-1-font-weight",
  286. "captionFontFamily": "text-caption-1-font-family",
  287. "captionIconWidth": 10,
  288. "captionIconHeight": 10,
  289. "captionIconMarginRight": 8
  290. },
  291. "variantGroups": {
  292. "status": {
  293. "basic": {
  294. "backgroundColor": "#F0F0F0",
  295. "labelColor": "text-basic-color",
  296. "captionColor": "color-danger-500",
  297. "state": {
  298. "focused": {
  299. "backgroundColor": "#F0F0F0"
  300. },
  301. "active": {
  302. "backgroundColor": "#F0F0F0"
  303. },
  304. "hover": {
  305. "backgroundColor": "#F0F0F0"
  306. },
  307. "disabled": {
  308. "backgroundColor": "#F0F0F0"
  309. }
  310. }
  311. }
  312. },
  313. "size": {
  314. "small": {
  315. "minHeight": "size-small",
  316. "borderRadius": "border-radius",
  317. "borderWidth": "border-width",
  318. "paddingVertical": 3,
  319. "textFontSize": "text-subtitle-2-font-size",
  320. "textFontWeight": "normal"
  321. }
  322. }
  323. }
  324. },
  325. "inner": {
  326. "mapping": {
  327. "paddingHorizontal": 0,
  328. "textMarginHorizontal": 0,
  329. "backgroundColor": "transparent"
  330. },
  331. "variantGroups": {
  332. "status": {
  333. "basic": {
  334. "backgroundColor": "transparent",
  335. "labelColor": "text-basic-color",
  336. "captionColor": "color-danger-500",
  337. "state": {
  338. "focused": {
  339. "backgroundColor": "transparent"
  340. },
  341. "active": {
  342. "backgroundColor": "transparent"
  343. },
  344. "hover": {
  345. "backgroundColor": "transparent"
  346. },
  347. "disabled": {
  348. "backgroundColor": "transparent"
  349. }
  350. }
  351. }
  352. },
  353. "size": {
  354. "small": {
  355. "minHeight": "size-small",
  356. "borderRadius": "border-radius",
  357. "borderWidth": 0,
  358. "borderBottomWidth": 1,
  359. "paddingVertical": 10,
  360. "textFontSize": "text-subtitle-2-font-size",
  361. "textFontWeight": "normal"
  362. }
  363. }
  364. }
  365. },
  366. "innerCode": {
  367. "mapping": {
  368. "paddingHorizontal": 0,
  369. "textMarginHorizontal": 0,
  370. "backgroundColor": "transparent"
  371. },
  372. "variantGroups": {
  373. "status": {
  374. "basic": {
  375. "backgroundColor": "transparent",
  376. "labelColor": "text-basic-color",
  377. "captionColor": "color-danger-500",
  378. "state": {
  379. "focused": {
  380. "backgroundColor": "transparent"
  381. },
  382. "active": {
  383. "backgroundColor": "transparent"
  384. },
  385. "hover": {
  386. "backgroundColor": "transparent"
  387. },
  388. "disabled": {
  389. "backgroundColor": "transparent"
  390. }
  391. }
  392. }
  393. },
  394. "size": {
  395. "small": {
  396. "minHeight": "size-small",
  397. "borderRadius": "border-radius",
  398. "borderWidth": 0,
  399. "borderBottomWidth": 1,
  400. "paddingVertical": 5,
  401. "textFontSize": "text-subtitle-2-font-size",
  402. "textFontWeight": "normal"
  403. }
  404. }
  405. }
  406. },
  407. "reCharge": {
  408. "mapping": {
  409. "paddingHorizontal": 0,
  410. "textMarginHorizontal": 0,
  411. "backgroundColor": "transparent"
  412. },
  413. "variantGroups": {
  414. "status": {
  415. "basic": {
  416. "backgroundColor": "transparent",
  417. "labelColor": "text-basic-color",
  418. "captionColor": "#787878",
  419. "state": {
  420. "focused": {
  421. "backgroundColor": "transparent"
  422. },
  423. "active": {
  424. "backgroundColor": "transparent"
  425. },
  426. "hover": {
  427. "backgroundColor": "transparent"
  428. },
  429. "disabled": {
  430. "backgroundColor": "transparent"
  431. }
  432. }
  433. }
  434. },
  435. "size": {
  436. "small": {
  437. "minHeight": "size-small",
  438. "borderRadius": "border-radius",
  439. "borderWidth": 0,
  440. "borderBottomWidth": 1,
  441. "paddingVertical": 7,
  442. "textFontSize": "text-heading-2-font-size",
  443. "textFontWeight": "normal",
  444. "captionMarginTop": 6,
  445. "labelMarginBottom": 10,
  446. "labelFontSize": 12
  447. }
  448. }
  449. }
  450. }
  451. }
  452. },
  453. "Button": {
  454. "appearances": {
  455. "filled": {
  456. "variantGroups": {
  457. "size": {
  458. "tiny": {
  459. "minWidth": 0,
  460. "minHeight": 0,
  461. "borderRadius": "border-radius",
  462. "borderWidth": 0,
  463. "paddingHorizontal": 6,
  464. "paddingVertical": 3,
  465. "textMarginHorizontal": 0,
  466. "textFontSize": 12,
  467. "textFontWeight": "bold",
  468. "iconWidth": 12,
  469. "iconHeight": 12,
  470. "iconMarginHorizontal": 6
  471. },
  472. "small": {
  473. "minWidth": 49,
  474. "minHeight": 22,
  475. "borderRadius": "border-radius",
  476. "borderWidth": "border-width",
  477. "paddingHorizontal": 7,
  478. "paddingVertical": 3,
  479. "textMarginHorizontal": 7,
  480. "textFontSize": 12,
  481. "textFontWeight": "normal",
  482. "iconWidth": 16,
  483. "iconHeight": 16,
  484. "iconMarginHorizontal": 8
  485. },
  486. "medium": {
  487. "minWidth": 112,
  488. "minHeight": 11,
  489. "borderRadius": "border-radius",
  490. "borderWidth": "border-width",
  491. "paddingHorizontal": 10,
  492. "paddingVertical": 6,
  493. "textMarginHorizontal": 10,
  494. "textFontSize": 12,
  495. "textFontWeight": "bold",
  496. "iconWidth": 20,
  497. "iconHeight": 20,
  498. "iconMarginHorizontal": 10
  499. },
  500. "large": {
  501. "minWidth": "size-large",
  502. "minHeight": "size-large",
  503. "borderRadius": "border-radius",
  504. "borderWidth": "border-width",
  505. "paddingHorizontal": 10,
  506. "paddingVertical": 14,
  507. "textMarginHorizontal": 10,
  508. "textFontSize": 16,
  509. "textFontWeight": "bold",
  510. "iconWidth": 24,
  511. "iconHeight": 24,
  512. "iconMarginHorizontal": 10
  513. },
  514. "giant": {
  515. "minWidth": "size-giant",
  516. "minHeight": "size-giant",
  517. "borderRadius": "border-radius",
  518. "borderWidth": "border-width",
  519. "paddingHorizontal": 12,
  520. "paddingVertical": 16,
  521. "textMarginHorizontal": 12,
  522. "textFontSize": 18,
  523. "textFontWeight": "bold",
  524. "iconWidth": 24,
  525. "iconHeight": 24,
  526. "iconMarginHorizontal": 12
  527. }
  528. }
  529. }
  530. },
  531. "outline": {
  532. "mapping": {},
  533. "variantGroups": {
  534. "status": {
  535. "basic": {
  536. "borderColor": "color-basic-transparent-default-border",
  537. "backgroundColor": "color-basic-transparent-default",
  538. "textColor": "text-hint-color",
  539. "iconTintColor": "text-hint-color",
  540. "state": {
  541. "focused": {
  542. "borderColor": "color-basic-transparent-focus-border",
  543. "backgroundColor": "color-basic-transparent-focus",
  544. "textColor": "text-hint-color",
  545. "iconTintColor": "text-hint-color"
  546. },
  547. "hover": {
  548. "borderColor": "color-basic-transparent-hover-border",
  549. "backgroundColor": "color-basic-transparent-hover",
  550. "textColor": "text-hint-color",
  551. "iconTintColor": "text-hint-color"
  552. },
  553. "active": {
  554. "borderColor": "color-basic-transparent-active-border",
  555. "backgroundColor": "color-basic-transparent-active",
  556. "textColor": "text-hint-color",
  557. "iconTintColor": "text-hint-color"
  558. },
  559. "disabled": {
  560. "borderColor": "color-basic-transparent-disabled-border",
  561. "backgroundColor": "color-basic-transparent-disabled",
  562. "textColor": "text-disabled-color",
  563. "iconTintColor": "text-disabled-color"
  564. }
  565. }
  566. },
  567. "primary": {
  568. "borderColor": "color-primary-transparent-default-border",
  569. "backgroundColor": "#fff",
  570. "textColor": "text-primary-color",
  571. "iconTintColor": "text-primary-color",
  572. "state": {
  573. "focused": {
  574. "borderColor": "color-primary-transparent-focus-border",
  575. "backgroundColor": "color-primary-transparent-focus",
  576. "textColor": "text-primary-color",
  577. "iconTintColor": "text-primary-color"
  578. },
  579. "hover": {
  580. "borderColor": "color-primary-transparent-hover-border",
  581. "backgroundColor": "color-primary-transparent-hover",
  582. "textColor": "text-primary-color",
  583. "iconTintColor": "text-primary-color"
  584. },
  585. "active": {
  586. "borderColor": "color-primary-transparent-active-border",
  587. "backgroundColor": "color-primary-transparent-active",
  588. "textColor": "text-primary-color",
  589. "iconTintColor": "text-primary-color"
  590. },
  591. "disabled": {
  592. "borderColor": "color-primary-transparent-disabled-border",
  593. "backgroundColor": "color-primary-transparent-disabled",
  594. "textColor": "text-disabled-color",
  595. "iconTintColor": "text-disabled-color"
  596. }
  597. }
  598. },
  599. "success": {
  600. "borderColor": "color-success-transparent-default-border",
  601. "backgroundColor": "color-success-transparent-default",
  602. "textColor": "text-success-color",
  603. "iconTintColor": "text-success-color",
  604. "state": {
  605. "focused": {
  606. "borderColor": "color-success-transparent-focus-border",
  607. "backgroundColor": "color-success-transparent-focus",
  608. "textColor": "text-success-color",
  609. "iconTintColor": "text-success-color"
  610. },
  611. "hover": {
  612. "borderColor": "color-success-transparent-hover-border",
  613. "backgroundColor": "color-success-transparent-hover",
  614. "textColor": "text-success-color",
  615. "iconTintColor": "text-success-color"
  616. },
  617. "active": {
  618. "borderColor": "color-success-transparent-active-border",
  619. "backgroundColor": "color-success-transparent-active",
  620. "textColor": "text-success-color",
  621. "iconTintColor": "text-success-color"
  622. },
  623. "disabled": {
  624. "borderColor": "color-success-transparent-disabled-border",
  625. "backgroundColor": "color-success-transparent-disabled",
  626. "textColor": "text-disabled-color",
  627. "iconTintColor": "text-disabled-color"
  628. }
  629. }
  630. },
  631. "info": {
  632. "borderColor": "color-info-transparent-default-border",
  633. "backgroundColor": "color-info-transparent-default",
  634. "textColor": "text-info-color",
  635. "iconTintColor": "text-info-color",
  636. "state": {
  637. "focused": {
  638. "borderColor": "color-info-transparent-focus-border",
  639. "backgroundColor": "color-info-transparent-focus",
  640. "textColor": "text-info-color",
  641. "iconTintColor": "text-info-color"
  642. },
  643. "hover": {
  644. "borderColor": "color-info-transparent-hover-border",
  645. "backgroundColor": "color-info-transparent-hover",
  646. "textColor": "text-info-color",
  647. "iconTintColor": "text-info-color"
  648. },
  649. "active": {
  650. "borderColor": "color-info-transparent-active-border",
  651. "backgroundColor": "color-info-transparent-active",
  652. "textColor": "text-info-color",
  653. "iconTintColor": "text-info-color"
  654. },
  655. "disabled": {
  656. "borderColor": "color-info-transparent-disabled-border",
  657. "backgroundColor": "color-info-transparent-disabled",
  658. "textColor": "text-disabled-color",
  659. "iconTintColor": "text-disabled-color"
  660. }
  661. }
  662. },
  663. "warning": {
  664. "borderColor": "color-warning-transparent-default-border",
  665. "backgroundColor": "color-warning-transparent-default",
  666. "textColor": "text-warning-color",
  667. "iconTintColor": "text-warning-color",
  668. "state": {
  669. "focused": {
  670. "borderColor": "color-warning-transparent-focus-border",
  671. "backgroundColor": "color-warning-transparent-focus",
  672. "textColor": "text-warning-color",
  673. "iconTintColor": "text-warning-color"
  674. },
  675. "hover": {
  676. "borderColor": "color-warning-transparent-hover-border",
  677. "backgroundColor": "color-warning-transparent-hover",
  678. "textColor": "text-warning-color",
  679. "iconTintColor": "text-warning-color"
  680. },
  681. "active": {
  682. "borderColor": "color-warning-transparent-active-border",
  683. "backgroundColor": "color-warning-transparent-active",
  684. "textColor": "text-warning-color",
  685. "iconTintColor": "text-warning-color"
  686. },
  687. "disabled": {
  688. "borderColor": "color-warning-transparent-disabled-border",
  689. "backgroundColor": "color-warning-transparent-disabled",
  690. "textColor": "text-disabled-color",
  691. "iconTintColor": "text-disabled-color"
  692. }
  693. }
  694. },
  695. "danger": {
  696. "borderColor": "color-danger-transparent-default-border",
  697. "backgroundColor": "color-danger-transparent-default",
  698. "textColor": "text-danger-color",
  699. "iconTintColor": "text-danger-color",
  700. "state": {
  701. "focused": {
  702. "borderColor": "color-danger-transparent-focus-border",
  703. "backgroundColor": "color-danger-transparent-focus",
  704. "textColor": "text-danger-color",
  705. "iconTintColor": "text-danger-color"
  706. },
  707. "hover": {
  708. "borderColor": "color-danger-transparent-hover-border",
  709. "backgroundColor": "color-danger-transparent-hover",
  710. "textColor": "text-danger-color",
  711. "iconTintColor": "text-danger-color"
  712. },
  713. "active": {
  714. "borderColor": "color-danger-transparent-active-border",
  715. "backgroundColor": "color-danger-transparent-active",
  716. "textColor": "text-danger-color",
  717. "iconTintColor": "text-danger-color"
  718. },
  719. "disabled": {
  720. "borderColor": "color-danger-transparent-disabled-border",
  721. "backgroundColor": "color-danger-transparent-disabled",
  722. "textColor": "text-disabled-color",
  723. "iconTintColor": "text-disabled-color"
  724. }
  725. }
  726. },
  727. "control": {
  728. "borderColor": "color-control-transparent-default-border",
  729. "backgroundColor": "color-control-transparent-default",
  730. "textColor": "text-control-color",
  731. "iconTintColor": "text-control-color",
  732. "state": {
  733. "focused": {
  734. "borderColor": "color-control-transparent-focus-border",
  735. "backgroundColor": "color-control-transparent-focus",
  736. "textColor": "text-control-color",
  737. "iconTintColor": "text-control-color"
  738. },
  739. "hover": {
  740. "borderColor": "color-control-transparent-hover-border",
  741. "backgroundColor": "color-control-transparent-hover",
  742. "textColor": "text-control-color",
  743. "iconTintColor": "text-control-color"
  744. },
  745. "active": {
  746. "borderColor": "color-control-transparent-active-border",
  747. "backgroundColor": "color-control-transparent-active",
  748. "textColor": "text-control-color",
  749. "iconTintColor": "text-control-color"
  750. },
  751. "disabled": {
  752. "borderColor": "color-control-transparent-disabled-border",
  753. "backgroundColor": "color-control-transparent-disabled",
  754. "textColor": "text-disabled-color",
  755. "iconTintColor": "text-disabled-color"
  756. }
  757. }
  758. }
  759. }
  760. }
  761. },
  762. "ghost": {
  763. "mapping": {},
  764. "variantGroups": {
  765. "status": {
  766. "basic": {
  767. "borderColor": "transparent",
  768. "backgroundColor": "transparent",
  769. "textColor": "text-hint-color",
  770. "iconTintColor": "text-hint-color",
  771. "state": {
  772. "focused": {
  773. "borderColor": "transparent",
  774. "backgroundColor": "transparent",
  775. "textColor": "text-hint-color",
  776. "iconTintColor": "text-hint-color"
  777. },
  778. "hover": {
  779. "borderColor": "transparent",
  780. "backgroundColor": "color-basic-transparent-100",
  781. "textColor": "text-hint-color",
  782. "iconTintColor": "text-hint-color"
  783. },
  784. "active": {
  785. "borderColor": "transparent",
  786. "backgroundColor": "color-basic-transparent-200",
  787. "textColor": "text-hint-color",
  788. "iconTintColor": "text-hint-color"
  789. },
  790. "disabled": {
  791. "borderColor": "transparent",
  792. "backgroundColor": "color-basic-transparent-200",
  793. "textColor": "text-disabled-color",
  794. "iconTintColor": "text-disabled-color"
  795. }
  796. }
  797. },
  798. "primary": {
  799. "borderColor": "transparent",
  800. "backgroundColor": "transparent",
  801. "textColor": "text-primary-color",
  802. "iconTintColor": "text-primary-color",
  803. "state": {
  804. "focused": {
  805. "borderColor": "color-basic-transparent-500",
  806. "backgroundColor": "color-basic-transparent-200",
  807. "textColor": "text-primary-color",
  808. "iconTintColor": "text-primary-color"
  809. },
  810. "hover": {
  811. "borderColor": "transparent",
  812. "backgroundColor": "color-basic-transparent-100",
  813. "textColor": "text-primary-color",
  814. "iconTintColor": "text-primary-color"
  815. },
  816. "active": {
  817. "borderColor": "transparent",
  818. "backgroundColor": "color-basic-transparent-200",
  819. "textColor": "text-primary-color",
  820. "iconTintColor": "text-primary-color"
  821. },
  822. "disabled": {
  823. "borderColor": "transparent",
  824. "backgroundColor": "color-basic-transparent-200",
  825. "textColor": "text-disabled-color",
  826. "iconTintColor": "text-disabled-color"
  827. }
  828. }
  829. },
  830. "success": {
  831. "borderColor": "transparent",
  832. "backgroundColor": "transparent",
  833. "textColor": "text-success-color",
  834. "iconTintColor": "text-success-color",
  835. "state": {
  836. "focused": {
  837. "borderColor": "color-basic-transparent-500",
  838. "backgroundColor": "color-basic-transparent-200",
  839. "textColor": "text-success-color",
  840. "iconTintColor": "text-success-color"
  841. },
  842. "hover": {
  843. "borderColor": "transparent",
  844. "backgroundColor": "color-basic-transparent-100",
  845. "textColor": "text-success-color",
  846. "iconTintColor": "text-success-color"
  847. },
  848. "active": {
  849. "borderColor": "transparent",
  850. "backgroundColor": "color-basic-transparent-200",
  851. "textColor": "text-success-color",
  852. "iconTintColor": "text-success-color"
  853. },
  854. "disabled": {
  855. "borderColor": "transparent",
  856. "backgroundColor": "color-basic-transparent-200",
  857. "textColor": "text-disabled-color",
  858. "iconTintColor": "text-disabled-color"
  859. }
  860. }
  861. },
  862. "info": {
  863. "borderColor": "transparent",
  864. "backgroundColor": "transparent",
  865. "textColor": "text-info-color",
  866. "iconTintColor": "text-info-color",
  867. "state": {
  868. "focused": {
  869. "borderColor": "color-basic-transparent-500",
  870. "backgroundColor": "color-basic-transparent-200",
  871. "textColor": "text-info-color",
  872. "iconTintColor": "text-info-color"
  873. },
  874. "hover": {
  875. "borderColor": "transparent",
  876. "backgroundColor": "color-basic-transparent-100",
  877. "textColor": "text-info-color",
  878. "iconTintColor": "text-info-color"
  879. },
  880. "active": {
  881. "borderColor": "transparent",
  882. "backgroundColor": "color-basic-transparent-200",
  883. "textColor": "text-info-color",
  884. "iconTintColor": "text-info-color"
  885. },
  886. "disabled": {
  887. "borderColor": "transparent",
  888. "backgroundColor": "color-basic-transparent-200",
  889. "textColor": "text-disabled-color",
  890. "iconTintColor": "text-disabled-color"
  891. }
  892. }
  893. },
  894. "warning": {
  895. "borderColor": "transparent",
  896. "backgroundColor": "transparent",
  897. "textColor": "text-warning-color",
  898. "iconTintColor": "text-warning-color",
  899. "state": {
  900. "focused": {
  901. "borderColor": "color-basic-transparent-500",
  902. "backgroundColor": "color-basic-transparent-200",
  903. "textColor": "text-info-color",
  904. "iconTintColor": "text-info-color"
  905. },
  906. "hover": {
  907. "borderColor": "transparent",
  908. "backgroundColor": "color-basic-transparent-100",
  909. "textColor": "text-warning-color",
  910. "iconTintColor": "text-warning-color"
  911. },
  912. "active": {
  913. "borderColor": "transparent",
  914. "backgroundColor": "color-basic-transparent-200",
  915. "textColor": "text-warning-color",
  916. "iconTintColor": "text-warning-color"
  917. },
  918. "disabled": {
  919. "borderColor": "transparent",
  920. "backgroundColor": "color-basic-transparent-200",
  921. "textColor": "text-disabled-color",
  922. "iconTintColor": "text-disabled-color"
  923. }
  924. }
  925. },
  926. "danger": {
  927. "borderColor": "transparent",
  928. "backgroundColor": "transparent",
  929. "textColor": "text-danger-color",
  930. "iconTintColor": "text-danger-color",
  931. "state": {
  932. "focused": {
  933. "borderColor": "color-basic-transparent-500",
  934. "backgroundColor": "color-basic-transparent-200",
  935. "textColor": "text-danger-color",
  936. "iconTintColor": "text-danger-color"
  937. },
  938. "hover": {
  939. "borderColor": "transparent",
  940. "backgroundColor": "color-basic-transparent-100",
  941. "textColor": "text-danger-color",
  942. "iconTintColor": "text-danger-color"
  943. },
  944. "active": {
  945. "borderColor": "transparent",
  946. "backgroundColor": "color-basic-transparent-200",
  947. "textColor": "text-danger-color",
  948. "iconTintColor": "text-danger-color"
  949. },
  950. "disabled": {
  951. "borderColor": "transparent",
  952. "backgroundColor": "color-basic-transparent-200",
  953. "textColor": "text-disabled-color",
  954. "iconTintColor": "text-disabled-color"
  955. }
  956. }
  957. },
  958. "control": {
  959. "borderColor": "transparent",
  960. "backgroundColor": "transparent",
  961. "textColor": "text-control-color",
  962. "iconTintColor": "text-control-color",
  963. "state": {
  964. "focused": {
  965. "borderColor": "color-basic-transparent-500",
  966. "backgroundColor": "color-basic-transparent-200",
  967. "textColor": "text-control-color",
  968. "iconTintColor": "text-control-color"
  969. },
  970. "hover": {
  971. "borderColor": "transparent",
  972. "backgroundColor": "color-basic-transparent-100",
  973. "textColor": "text-control-color",
  974. "iconTintColor": "text-control-color"
  975. },
  976. "active": {
  977. "borderColor": "transparent",
  978. "backgroundColor": "color-basic-transparent-200",
  979. "textColor": "text-control-color",
  980. "iconTintColor": "text-control-color"
  981. },
  982. "disabled": {
  983. "borderColor": "transparent",
  984. "backgroundColor": "color-basic-transparent-200",
  985. "textColor": "text-disabled-color",
  986. "iconTintColor": "text-disabled-color"
  987. }
  988. }
  989. }
  990. },
  991. "size": {
  992. "medium": {
  993. "minWidth": 0,
  994. "minHeight": 20,
  995. "iconWidth": 12,
  996. "iconHeight": 12,
  997. "paddingHorizontal": 5,
  998. "paddingVertical": 5,
  999. "borderRadius": "border-radius",
  1000. "borderWidth": "border-width",
  1001. "textMarginHorizontal": 2,
  1002. "textFontSize": 12,
  1003. "textFontWeight": "normal",
  1004. "iconMarginHorizontal": 0
  1005. },
  1006. "large": {
  1007. "minWidth": 0,
  1008. "minHeight": 20,
  1009. "paddingHorizontal": 0,
  1010. "textFontWeight": "normal",
  1011. "paddingVertical": 0,
  1012. "textMarginHorizontal": 26
  1013. }
  1014. }
  1015. }
  1016. },
  1017. "imageButton": {
  1018. "mapping": {
  1019. "textFontFamily": "text-font-family",
  1020. "iconMarginHorizontal": 4
  1021. },
  1022. "variantGroups": {
  1023. "status": {
  1024. "primary": {
  1025. "borderColor": "#FFF5D8",
  1026. "backgroundColor": "#FFF5D8"
  1027. }
  1028. },
  1029. "size": {
  1030. "medium": {
  1031. "minWidth": 67,
  1032. "minHeight": 67,
  1033. "iconWidth": 50,
  1034. "iconHeight": 50,
  1035. "paddingHorizontal": 0,
  1036. "paddingVertical": 0
  1037. }
  1038. }
  1039. }
  1040. },
  1041. "bannerButton": {
  1042. "mapping": {
  1043. "textFontFamily": "text-font-family",
  1044. "iconMarginHorizontal": 4
  1045. },
  1046. "variantGroups": {
  1047. "status": {
  1048. "primary": {
  1049. "borderColor": "transparent",
  1050. "backgroundColor": "transparent",
  1051. "state": {
  1052. "focused": {
  1053. "borderColor": "transparent",
  1054. "backgroundColor": "transparent"
  1055. },
  1056. "hover": {
  1057. "borderColor": "transparent",
  1058. "backgroundColor": "transparent"
  1059. },
  1060. "active": {
  1061. "borderColor": "transparent",
  1062. "backgroundColor": "transparent"
  1063. },
  1064. "disabled": {
  1065. "borderColor": "transparent",
  1066. "backgroundColor": "transparent",
  1067. "textColor": "text-disabled-color",
  1068. "iconTintColor": "text-disabled-color"
  1069. }
  1070. }
  1071. }
  1072. },
  1073. "size": {
  1074. "medium": {
  1075. "minWidth": "100%",
  1076. "minHeight": 66
  1077. }
  1078. }
  1079. }
  1080. },
  1081. "labelButton": {
  1082. "mapping": {
  1083. "textFontFamily": "text-font-family",
  1084. "iconMarginHorizontal": 4
  1085. },
  1086. "variantGroups": {
  1087. "status": {
  1088. "primary": {}
  1089. },
  1090. "size": {
  1091. "medium": {
  1092. "textFontSize": 10
  1093. }
  1094. }
  1095. }
  1096. },
  1097. "classification": {
  1098. "mapping": {
  1099. "textFontFamily": "text-font-family",
  1100. "iconMarginHorizontal": 4
  1101. },
  1102. "variantGroups": {
  1103. "size": {
  1104. "medium": {
  1105. "minWidth": 33,
  1106. "minHeight": 33,
  1107. "textFontSize": 10,
  1108. "paddingHorizontal": 6,
  1109. "paddingVertical": 6,
  1110. "textMarginHorizontal": 0
  1111. }
  1112. }
  1113. }
  1114. },
  1115. "badge": {
  1116. "variantGroups": {
  1117. "status": {
  1118. "basic": {
  1119. "borderColor": "color-basic-default-border",
  1120. "backgroundColor": "color-basic-default",
  1121. "textColor": "color-basic-800",
  1122. "iconTintColor": "color-basic-800",
  1123. "state": {
  1124. "focused": {
  1125. "borderColor": "color-basic-focus-border",
  1126. "backgroundColor": "color-basic-focus"
  1127. },
  1128. "hover": {
  1129. "borderColor": "color-basic-hover-border",
  1130. "backgroundColor": "color-basic-hover"
  1131. },
  1132. "active": {
  1133. "borderColor": "color-basic-active-border",
  1134. "backgroundColor": "color-basic-active"
  1135. },
  1136. "disabled": {
  1137. "borderColor": "color-basic-disabled-border",
  1138. "backgroundColor": "color-basic-disabled",
  1139. "textColor": "text-disabled-color",
  1140. "iconTintColor": "text-disabled-color"
  1141. }
  1142. }
  1143. },
  1144. "primary": {
  1145. "borderColor": "#F8ECD6",
  1146. "backgroundColor": "#F8ECD6",
  1147. "textColor": "#FFC21C",
  1148. "iconTintColor": "#FFC21C",
  1149. "state": {
  1150. "focused": {
  1151. "borderColor": "rgba(248,236,214,0.8)",
  1152. "backgroundColor": "rgba(248,236,214,0.8)"
  1153. },
  1154. "hover": {
  1155. "borderColor": "rgba(248,236,214,0.8)",
  1156. "backgroundColor": "rgba(248,236,214,0.8)"
  1157. },
  1158. "active": {
  1159. "borderColor": "rgba(248,236,214,0.8)",
  1160. "backgroundColor": "rgba(248,236,214,0.8)"
  1161. },
  1162. "disabled": {
  1163. "borderColor": "color-primary-disabled-border",
  1164. "backgroundColor": "color-primary-disabled",
  1165. "textColor": "text-disabled-color",
  1166. "iconTintColor": "text-disabled-color"
  1167. }
  1168. }
  1169. },
  1170. "success": {
  1171. "borderColor": "color-success-default-border",
  1172. "backgroundColor": "color-success-default",
  1173. "textColor": "text-control-color",
  1174. "iconTintColor": "text-control-color",
  1175. "state": {
  1176. "focused": {
  1177. "borderColor": "color-success-focus-border",
  1178. "backgroundColor": "color-success-focus"
  1179. },
  1180. "hover": {
  1181. "borderColor": "color-success-hover-border",
  1182. "backgroundColor": "color-success-hover"
  1183. },
  1184. "active": {
  1185. "borderColor": "color-success-active-border",
  1186. "backgroundColor": "color-success-active"
  1187. },
  1188. "disabled": {
  1189. "borderColor": "color-success-disabled-border",
  1190. "backgroundColor": "color-success-disabled",
  1191. "textColor": "text-disabled-color",
  1192. "iconTintColor": "text-disabled-color"
  1193. }
  1194. }
  1195. },
  1196. "info": {
  1197. "borderColor": "color-info-transparent-300",
  1198. "backgroundColor": "color-info-transparent-300",
  1199. "textColor": "#B5B5B5",
  1200. "iconTintColor": "#B5B5B5",
  1201. "state": {
  1202. "focused": {
  1203. "borderColor": "color-info-transparent-200",
  1204. "backgroundColor": "color-info-transparent-200"
  1205. },
  1206. "hover": {
  1207. "borderColor": "color-info-transparent-200",
  1208. "backgroundColor": "color-info-transparent-200"
  1209. },
  1210. "active": {
  1211. "borderColor": "color-info-transparent-200",
  1212. "backgroundColor": "color-info-transparent-200"
  1213. },
  1214. "disabled": {
  1215. "borderColor": "color-info-disabled-border",
  1216. "backgroundColor": "color-info-disabled",
  1217. "textColor": "text-disabled-color",
  1218. "iconTintColor": "text-disabled-color"
  1219. }
  1220. }
  1221. },
  1222. "warning": {
  1223. "borderColor": "color-primary-default-border",
  1224. "backgroundColor": "color-primary-default",
  1225. "textColor": "text-control-color",
  1226. "iconTintColor": "text-control-color",
  1227. "state": {
  1228. "focused": {
  1229. "borderColor": "color-primary-focus-border",
  1230. "backgroundColor": "color-primary-focus"
  1231. },
  1232. "hover": {
  1233. "borderColor": "color-primary-hover-border",
  1234. "backgroundColor": "color-primary-hover"
  1235. },
  1236. "active": {
  1237. "borderColor": "color-primary-active-border",
  1238. "backgroundColor": "color-primary-active"
  1239. },
  1240. "disabled": {
  1241. "borderColor": "color-primary-disabled-border",
  1242. "backgroundColor": "color-primary-disabled",
  1243. "textColor": "text-disabled-color",
  1244. "iconTintColor": "text-disabled-color"
  1245. }
  1246. }
  1247. },
  1248. "danger": {
  1249. "borderColor": "color-danger-default-border",
  1250. "backgroundColor": "color-danger-default",
  1251. "textColor": "text-control-color",
  1252. "iconTintColor": "text-control-color",
  1253. "state": {
  1254. "focused": {
  1255. "borderColor": "color-danger-focus-border",
  1256. "backgroundColor": "color-danger-focus"
  1257. },
  1258. "hover": {
  1259. "borderColor": "color-danger-hover-border",
  1260. "backgroundColor": "color-danger-hover"
  1261. },
  1262. "active": {
  1263. "borderColor": "color-danger-active-border",
  1264. "backgroundColor": "color-danger-active"
  1265. },
  1266. "disabled": {
  1267. "borderColor": "color-danger-disabled-border",
  1268. "backgroundColor": "color-danger-disabled",
  1269. "textColor": "text-disabled-color",
  1270. "iconTintColor": "text-disabled-color"
  1271. }
  1272. }
  1273. },
  1274. "control": {
  1275. "borderColor": "color-control-default-border",
  1276. "backgroundColor": "color-control-default",
  1277. "textColor": "color-basic-800",
  1278. "iconTintColor": "color-basic-800",
  1279. "state": {
  1280. "focused": {
  1281. "borderColor": "color-control-focus-border",
  1282. "backgroundColor": "color-control-focus"
  1283. },
  1284. "hover": {
  1285. "borderColor": "color-control-hover-border",
  1286. "backgroundColor": "color-control-hover"
  1287. },
  1288. "active": {
  1289. "borderColor": "color-control-active-border",
  1290. "backgroundColor": "color-control-active"
  1291. },
  1292. "disabled": {
  1293. "borderColor": "color-control-disabled-border",
  1294. "backgroundColor": "color-control-disabled",
  1295. "textColor": "text-disabled-color",
  1296. "iconTintColor": "text-disabled-color"
  1297. }
  1298. }
  1299. }
  1300. },
  1301. "size": {
  1302. "medium": {
  1303. "minWidth": 50,
  1304. "minHeight": 25,
  1305. "borderRadius": "border-radius",
  1306. "borderWidth": "border-width",
  1307. "paddingHorizontal": 10,
  1308. "paddingVertical": 7,
  1309. "textMarginHorizontal": 0,
  1310. "textFontSize": 12,
  1311. "textFontWeight": "normal",
  1312. "iconWidth": 20,
  1313. "iconHeight": 20,
  1314. "iconMarginHorizontal": 0
  1315. }
  1316. }
  1317. }
  1318. },
  1319. "imgButton": {
  1320. "variantGroups": {
  1321. "size": {
  1322. "tiny": {
  1323. "minWidth": 15,
  1324. "minHeight": 15,
  1325. "borderRadius": "border-radius",
  1326. "borderWidth": 0,
  1327. "paddingHorizontal": 0,
  1328. "paddingVertical": 0,
  1329. "textMarginHorizontal": 0,
  1330. "textFontSize": 12,
  1331. "textFontWeight": "bold",
  1332. "iconWidth": 15,
  1333. "iconHeight": 15,
  1334. "iconMarginHorizontal": 0
  1335. }
  1336. }
  1337. }
  1338. }
  1339. }
  1340. },
  1341. "Card": {
  1342. "meta": {
  1343. "scope": "all",
  1344. "parameters": {
  1345. "backgroundColor": {
  1346. "type": "string"
  1347. },
  1348. "borderRadius": {
  1349. "type": "number"
  1350. },
  1351. "borderColor": {
  1352. "type": "string"
  1353. },
  1354. "borderWidth": {
  1355. "type": "number"
  1356. },
  1357. "bodyPaddingHorizontal": {
  1358. "type": "number"
  1359. },
  1360. "bodyPaddingVertical": {
  1361. "type": "number"
  1362. },
  1363. "headerPaddingHorizontal": {
  1364. "type": "number"
  1365. },
  1366. "headerPaddingVertical": {
  1367. "type": "number"
  1368. },
  1369. "footerPaddingHorizontal": {
  1370. "type": "number"
  1371. },
  1372. "footerPaddingVertical": {
  1373. "type": "number"
  1374. },
  1375. "accentBackgroundColor": {
  1376. "type": "string"
  1377. },
  1378. "accentHeight": {
  1379. "type": "number"
  1380. }
  1381. },
  1382. "appearances": {
  1383. "filled": {
  1384. "default": false
  1385. },
  1386. "outline": {
  1387. "default": true
  1388. }
  1389. },
  1390. "variantGroups": {
  1391. "status": {
  1392. "basic": {
  1393. "default": false
  1394. },
  1395. "primary": {
  1396. "default": false
  1397. },
  1398. "success": {
  1399. "default": false
  1400. },
  1401. "info": {
  1402. "default": false
  1403. },
  1404. "warning": {
  1405. "default": false
  1406. },
  1407. "danger": {
  1408. "default": false
  1409. },
  1410. "control": {
  1411. "default": false
  1412. }
  1413. },
  1414. "direction": {
  1415. "horizontal": {
  1416. "default": true
  1417. },
  1418. "vertical": {
  1419. "default": false
  1420. }
  1421. }
  1422. },
  1423. "states": {
  1424. "active": {
  1425. "default": false,
  1426. "priority": 0,
  1427. "scope": "all"
  1428. }
  1429. }
  1430. },
  1431. "appearances": {
  1432. "outline": {
  1433. "mapping": {
  1434. "backgroundColor": "background-basic-color-1",
  1435. "borderRadius": "border-radius",
  1436. "borderColor": "border-basic-color-4",
  1437. "borderWidth": 1,
  1438. "accentHeight": 0,
  1439. "bodyPaddingHorizontal": 24,
  1440. "bodyPaddingVertical": 16,
  1441. "headerPaddingHorizontal": 24,
  1442. "headerPaddingVertical": 16,
  1443. "footerPaddingHorizontal": 24,
  1444. "footerPaddingVertical": 16,
  1445. "state": {
  1446. "active": {
  1447. "backgroundColor": "background-basic-color-2"
  1448. }
  1449. }
  1450. },
  1451. "variantGroups": {
  1452. "status": {
  1453. "basic": {
  1454. "accentHeight": 4,
  1455. "accentBackgroundColor": "color-basic-default"
  1456. },
  1457. "primary": {
  1458. "accentHeight": 4,
  1459. "accentBackgroundColor": "color-primary-default"
  1460. },
  1461. "success": {
  1462. "accentHeight": 4,
  1463. "accentBackgroundColor": "color-success-default"
  1464. },
  1465. "info": {
  1466. "accentHeight": 4,
  1467. "accentBackgroundColor": "color-info-default"
  1468. },
  1469. "warning": {
  1470. "accentHeight": 4,
  1471. "accentBackgroundColor": "color-warning-default"
  1472. },
  1473. "danger": {
  1474. "accentHeight": 4,
  1475. "accentBackgroundColor": "color-danger-default"
  1476. },
  1477. "control": {
  1478. "accentHeight": 4,
  1479. "accentBackgroundColor": "color-control-default"
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "filled": {
  1485. "mapping": {
  1486. "backgroundColor": "transparent",
  1487. "borderWidth": 0,
  1488. "accentBackgroundColor": "#eee",
  1489. "accentHeight": 7,
  1490. "state": {
  1491. "active": {
  1492. "backgroundColor": "transparent"
  1493. }
  1494. }
  1495. }
  1496. },
  1497. "headFilled": {
  1498. "mapping": {
  1499. "backgroundColor": "transparent",
  1500. "borderWidth": 0,
  1501. "accentBackgroundColor": "#eee",
  1502. "accentHeight": 7,
  1503. "bodyPaddingHorizontal": 50,
  1504. "bodyPaddingVertical": 20,
  1505. "headerPaddingHorizontal": 50,
  1506. "headerPaddingVertical": 20,
  1507. "footerPaddingHorizontal": 50,
  1508. "footerPaddingVertical": 20,
  1509. "state": {
  1510. "active": {
  1511. "backgroundColor": "transparent"
  1512. }
  1513. }
  1514. }
  1515. },
  1516. "formFilled": {
  1517. "mapping": {
  1518. "backgroundColor": "transparent",
  1519. "borderWidth": 0,
  1520. "accentBackgroundColor": "#eee",
  1521. "accentHeight": 7,
  1522. "bodyPaddingHorizontal": 15,
  1523. "bodyPaddingVertical": 10,
  1524. "headerPaddingHorizontal": 15,
  1525. "headerPaddingVertical": 10,
  1526. "footerPaddingHorizontal": 15,
  1527. "footerPaddingVertical": 10,
  1528. "state": {
  1529. "active": {
  1530. "backgroundColor": "transparent"
  1531. }
  1532. }
  1533. }
  1534. },
  1535. "modalCrad": {
  1536. "mapping": {
  1537. "bodyPaddingHorizontal": 10,
  1538. "bodyPaddingVertical": 10,
  1539. "headerPaddingHorizontal": 10,
  1540. "headerPaddingVertical": 10,
  1541. "footerPaddingHorizontal": 10,
  1542. "footerPaddingVertical": 10
  1543. }
  1544. },
  1545. "diaogOutline": {
  1546. "mapping": {
  1547. "accentHeight": 0,
  1548. "bodyPaddingHorizontal": 24,
  1549. "bodyPaddingVertical": 10,
  1550. "headerPaddingHorizontal": 24,
  1551. "headerPaddingVertical": 20,
  1552. "footerPaddingHorizontal": 24,
  1553. "footerPaddingVertical": 15,
  1554. "state": {
  1555. "active": {
  1556. "backgroundColor": "background-basic-color-2"
  1557. }
  1558. }
  1559. },
  1560. "variantGroups": {
  1561. "status": {
  1562. "basic": {
  1563. "accentHeight": 4,
  1564. "accentBackgroundColor": "color-basic-default"
  1565. },
  1566. "primary": {
  1567. "accentHeight": 4,
  1568. "accentBackgroundColor": "color-primary-default"
  1569. },
  1570. "success": {
  1571. "accentHeight": 4,
  1572. "accentBackgroundColor": "color-success-default"
  1573. },
  1574. "info": {
  1575. "accentHeight": 4,
  1576. "accentBackgroundColor": "color-info-default"
  1577. },
  1578. "warning": {
  1579. "accentHeight": 4,
  1580. "accentBackgroundColor": "color-warning-default"
  1581. },
  1582. "danger": {
  1583. "accentHeight": 4,
  1584. "accentBackgroundColor": "color-danger-default"
  1585. },
  1586. "control": {
  1587. "accentHeight": 4,
  1588. "accentBackgroundColor": "color-control-default"
  1589. }
  1590. }
  1591. }
  1592. },
  1593. "headerList": {
  1594. "mapping": {
  1595. "backgroundColor": "transparent",
  1596. "accentHeight": 0,
  1597. "bodyPaddingHorizontal": 15,
  1598. "bodyPaddingVertical": 10,
  1599. "headerPaddingHorizontal": 15,
  1600. "headerPaddingVertical": 0,
  1601. "footerPaddingHorizontal": 15,
  1602. "footerPaddingVertical": 0,
  1603. "borderColor": "transparent",
  1604. "state": {
  1605. "active": {
  1606. "backgroundColor": "background-basic-color-2"
  1607. }
  1608. }
  1609. },
  1610. "variantGroups": {
  1611. "status": {
  1612. "basic": {
  1613. "accentHeight": 4,
  1614. "accentBackgroundColor": "color-basic-default"
  1615. },
  1616. "primary": {
  1617. "accentHeight": 4,
  1618. "accentBackgroundColor": "color-primary-default"
  1619. },
  1620. "success": {
  1621. "accentHeight": 4,
  1622. "accentBackgroundColor": "color-success-default"
  1623. },
  1624. "info": {
  1625. "accentHeight": 4,
  1626. "accentBackgroundColor": "color-info-default"
  1627. },
  1628. "warning": {
  1629. "accentHeight": 4,
  1630. "accentBackgroundColor": "color-warning-default"
  1631. },
  1632. "danger": {
  1633. "accentHeight": 4,
  1634. "accentBackgroundColor": "color-danger-default"
  1635. },
  1636. "control": {
  1637. "accentHeight": 4,
  1638. "accentBackgroundColor": "color-control-default"
  1639. }
  1640. }
  1641. }
  1642. },
  1643. "goodsCard": {
  1644. "mapping": {
  1645. "accentHeight": 0,
  1646. "bodyPaddingHorizontal": 13,
  1647. "bodyPaddingVertical": 20,
  1648. "borderColor": "transparent",
  1649. "borderRadius": 3,
  1650. "state": {
  1651. "active": {
  1652. "backgroundColor": "background-basic-color-2"
  1653. }
  1654. }
  1655. },
  1656. "variantGroups": {
  1657. "status": {
  1658. "basic": {
  1659. "accentHeight": 4,
  1660. "accentBackgroundColor": "color-basic-default"
  1661. },
  1662. "primary": {
  1663. "accentHeight": 4,
  1664. "accentBackgroundColor": "color-primary-default"
  1665. },
  1666. "success": {
  1667. "accentHeight": 4,
  1668. "accentBackgroundColor": "color-success-default"
  1669. },
  1670. "info": {
  1671. "accentHeight": 4,
  1672. "accentBackgroundColor": "color-info-default"
  1673. },
  1674. "warning": {
  1675. "accentHeight": 4,
  1676. "accentBackgroundColor": "color-warning-default"
  1677. },
  1678. "danger": {
  1679. "accentHeight": 4,
  1680. "accentBackgroundColor": "color-danger-default"
  1681. },
  1682. "control": {
  1683. "accentHeight": 4,
  1684. "accentBackgroundColor": "color-control-default"
  1685. }
  1686. },
  1687. "direction": {
  1688. "vertical": {
  1689. "bodyPaddingHorizontal": 0,
  1690. "bodyPaddingVertical": 0
  1691. }
  1692. }
  1693. }
  1694. },
  1695. "classification": {
  1696. "mapping": {
  1697. "accentHeight": 0,
  1698. "bodyPaddingHorizontal": 10,
  1699. "bodyPaddingVertical": 5,
  1700. "borderColor": "transparent",
  1701. "borderRadius": 3,
  1702. "state": {
  1703. "active": {
  1704. "backgroundColor": "background-basic-color-2"
  1705. }
  1706. }
  1707. },
  1708. "variantGroups": {
  1709. "status": {
  1710. "basic": {
  1711. "accentHeight": 4,
  1712. "accentBackgroundColor": "color-basic-default"
  1713. },
  1714. "primary": {
  1715. "accentHeight": 4,
  1716. "accentBackgroundColor": "color-primary-default"
  1717. },
  1718. "success": {
  1719. "accentHeight": 4,
  1720. "accentBackgroundColor": "color-success-default"
  1721. },
  1722. "info": {
  1723. "accentHeight": 4,
  1724. "accentBackgroundColor": "color-info-default"
  1725. },
  1726. "warning": {
  1727. "accentHeight": 4,
  1728. "accentBackgroundColor": "color-warning-default"
  1729. },
  1730. "danger": {
  1731. "accentHeight": 4,
  1732. "accentBackgroundColor": "color-danger-default"
  1733. },
  1734. "control": {
  1735. "accentHeight": 4,
  1736. "accentBackgroundColor": "color-control-default"
  1737. }
  1738. },
  1739. "direction": {
  1740. "vertical": {
  1741. "bodyPaddingHorizontal": 0,
  1742. "bodyPaddingVertical": 0
  1743. }
  1744. }
  1745. }
  1746. },
  1747. "homeCard": {
  1748. "mapping": {
  1749. "accentHeight": 0,
  1750. "bodyPaddingHorizontal": 10,
  1751. "bodyPaddingVertical": 10,
  1752. "borderRadius": 3,
  1753. "headerPaddingVertical": 0,
  1754. "footerPaddingVertical": 0
  1755. }
  1756. },
  1757. "homePage1Card": {
  1758. "mapping": {
  1759. "accentHeight": 0,
  1760. "bodyPaddingHorizontal": 15,
  1761. "bodyPaddingVertical": 0,
  1762. "borderRadius": 3,
  1763. "headerPaddingVertical": 10,
  1764. "headerPaddingHorizontal": 15,
  1765. "footerPaddingVertical": 5,
  1766. "borderWidth": 0
  1767. }
  1768. },
  1769. "CommentCard": {
  1770. "mapping": {
  1771. "accentHeight": 0,
  1772. "bodyPaddingHorizontal": 13,
  1773. "bodyPaddingVertical": 0,
  1774. "borderColor": "transparent",
  1775. "borderRadius": 3,
  1776. "state": {
  1777. "active": {
  1778. "backgroundColor": "background-basic-color-2"
  1779. }
  1780. }
  1781. },
  1782. "variantGroups": {
  1783. "status": {
  1784. "basic": {
  1785. "accentHeight": 4,
  1786. "accentBackgroundColor": "color-basic-default"
  1787. },
  1788. "primary": {
  1789. "accentHeight": 4,
  1790. "accentBackgroundColor": "color-primary-default"
  1791. },
  1792. "success": {
  1793. "accentHeight": 4,
  1794. "accentBackgroundColor": "color-success-default"
  1795. },
  1796. "info": {
  1797. "accentHeight": 4,
  1798. "accentBackgroundColor": "color-info-default"
  1799. },
  1800. "warning": {
  1801. "accentHeight": 4,
  1802. "accentBackgroundColor": "color-warning-default"
  1803. },
  1804. "danger": {
  1805. "accentHeight": 4,
  1806. "accentBackgroundColor": "color-danger-default"
  1807. },
  1808. "control": {
  1809. "accentHeight": 4,
  1810. "accentBackgroundColor": "color-control-default"
  1811. }
  1812. },
  1813. "direction": {
  1814. "vertical": {
  1815. "bodyPaddingHorizontal": 0,
  1816. "bodyPaddingVertical": 0
  1817. }
  1818. }
  1819. }
  1820. },
  1821. "orderCard": {
  1822. "mapping": {
  1823. "accentHeight": 0,
  1824. "bodyPaddingHorizontal": 13,
  1825. "bodyPaddingVertical": 20,
  1826. "borderColor": "transparent",
  1827. "borderRadius": 3,
  1828. "footerPaddingHorizontal": 13,
  1829. "footerPaddingVertical": 10,
  1830. "state": {
  1831. "active": {
  1832. "backgroundColor": "background-basic-color-2"
  1833. }
  1834. }
  1835. },
  1836. "variantGroups": {
  1837. "status": {
  1838. "basic": {
  1839. "accentHeight": 4,
  1840. "accentBackgroundColor": "color-basic-default"
  1841. },
  1842. "primary": {
  1843. "accentHeight": 4,
  1844. "accentBackgroundColor": "color-primary-default"
  1845. },
  1846. "success": {
  1847. "accentHeight": 4,
  1848. "accentBackgroundColor": "color-success-default"
  1849. },
  1850. "info": {
  1851. "accentHeight": 4,
  1852. "accentBackgroundColor": "color-info-default"
  1853. },
  1854. "warning": {
  1855. "accentHeight": 4,
  1856. "accentBackgroundColor": "color-warning-default"
  1857. },
  1858. "danger": {
  1859. "accentHeight": 4,
  1860. "accentBackgroundColor": "color-danger-default"
  1861. },
  1862. "control": {
  1863. "accentHeight": 4,
  1864. "accentBackgroundColor": "color-control-default"
  1865. }
  1866. },
  1867. "direction": {
  1868. "vertical": {
  1869. "bodyPaddingHorizontal": 0,
  1870. "bodyPaddingVertical": 0
  1871. }
  1872. }
  1873. }
  1874. },
  1875. "walletCard": {
  1876. "mapping": {
  1877. "accentHeight": 0,
  1878. "bodyPaddingHorizontal": 13,
  1879. "bodyPaddingVertical": 9,
  1880. "borderColor": "transparent",
  1881. "borderRadius": 3,
  1882. "footerPaddingHorizontal": 13,
  1883. "footerPaddingVertical": 10
  1884. },
  1885. "variantGroups": {
  1886. "status": {
  1887. "basic": {
  1888. "accentHeight": 4,
  1889. "accentBackgroundColor": "color-basic-default"
  1890. },
  1891. "primary": {
  1892. "accentHeight": 4,
  1893. "accentBackgroundColor": "color-primary-default"
  1894. },
  1895. "success": {
  1896. "accentHeight": 4,
  1897. "accentBackgroundColor": "color-success-default"
  1898. },
  1899. "info": {
  1900. "accentHeight": 4,
  1901. "accentBackgroundColor": "color-info-default"
  1902. },
  1903. "warning": {
  1904. "accentHeight": 4,
  1905. "accentBackgroundColor": "color-warning-default"
  1906. },
  1907. "danger": {
  1908. "accentHeight": 4,
  1909. "accentBackgroundColor": "color-danger-default"
  1910. },
  1911. "control": {
  1912. "accentHeight": 4,
  1913. "accentBackgroundColor": "color-control-default"
  1914. }
  1915. },
  1916. "direction": {
  1917. "vertical": {
  1918. "bodyPaddingHorizontal": 0,
  1919. "bodyPaddingVertical": 0
  1920. }
  1921. }
  1922. }
  1923. }
  1924. }
  1925. },
  1926. "SelectOption": {
  1927. "appearances": {
  1928. "default": {
  1929. "mapping": {
  1930. "paddingHorizontal": 8,
  1931. "paddingVertical": 12,
  1932. "backgroundColor": "background-basic-color-1",
  1933. "textMarginHorizontal": 8,
  1934. "textFontSize": "text-subtitle-1-font-size",
  1935. "textFontWeight": "text-subtitle-1-font-weight",
  1936. "textFontFamily": "text-subtitle-1-font-family",
  1937. "textColor": "text-basic-color",
  1938. "iconWidth": 20,
  1939. "iconHeight": 20,
  1940. "iconMarginHorizontal": 8,
  1941. "iconTintColor": "text-hint-color",
  1942. "state": {
  1943. "hover": {
  1944. "iconTintColor": "text-primary-hover-color",
  1945. "backgroundColor": "color-basic-transparent-hover"
  1946. },
  1947. "active": {
  1948. "backgroundColor": "color-basic-transparent-active"
  1949. },
  1950. "selected": {
  1951. "backgroundColor": "color-primary-transparent-default",
  1952. "textColor": "text-basic-color",
  1953. "iconTintColor": "text-primary-color"
  1954. },
  1955. "selected.hover": {
  1956. "background-color": "color-primary-transparent-100",
  1957. "textColor": "text-basic-color"
  1958. },
  1959. "disabled": {
  1960. "backgroundColor": "background-basic-color-1",
  1961. "textColor": "text-disabled-color",
  1962. "iconTintColor": "text-disabled-color"
  1963. }
  1964. }
  1965. }
  1966. },
  1967. "grouped": {
  1968. "mapping": {
  1969. "paddingLeft": 16
  1970. }
  1971. },
  1972. "form": {
  1973. "mapping": {
  1974. "paddingVertical": 5,
  1975. "textFontSize": "text-subtitle-2-font-size"
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "MenuItem": {
  1981. "appearances": {
  1982. "default": {
  1983. "mapping": {
  1984. "paddingHorizontal": 8,
  1985. "paddingVertical": 12,
  1986. "backgroundColor": "background-basic-color-1",
  1987. "indicatorWidth": 0,
  1988. "indicatorBackgroundColor": "transparent",
  1989. "titleMarginHorizontal": 8,
  1990. "titleFontSize": "text-subtitle-2-font-size",
  1991. "titleFontWeight": "text-subtitle-2-font-weight",
  1992. "titleFontFamily": "text-subtitle-2-font-family",
  1993. "titleColor": "text-basic-color",
  1994. "iconWidth": 20,
  1995. "iconHeight": 20,
  1996. "iconMarginHorizontal": 8,
  1997. "iconTintColor": "text-hint-color",
  1998. "state": {
  1999. "hover": {
  2000. "titleColor": "text-primary-hover-color",
  2001. "iconTintColor": "text-primary-hover-color"
  2002. },
  2003. "active": {
  2004. "backgroundColor": "color-basic-transparent-active"
  2005. },
  2006. "selected": {
  2007. "backgroundColor": "color-primary-transparent-default",
  2008. "indicatorWidth": 4,
  2009. "indicatorBackgroundColor": "color-primary-default",
  2010. "titleColor": "text-primary-color",
  2011. "iconTintColor": "text-primary-color"
  2012. },
  2013. "disabled": {
  2014. "titleColor": "text-disabled-color",
  2015. "iconTintColor": "text-disabled-color"
  2016. }
  2017. }
  2018. }
  2019. },
  2020. "grouped": {
  2021. "mapping": {
  2022. "paddingLeft": 16
  2023. }
  2024. },
  2025. "cardContent": {
  2026. "mapping": {
  2027. "paddingHorizontal": 0
  2028. }
  2029. },
  2030. "orderProduct": {
  2031. "mapping": {
  2032. "paddingHorizontal": 0,
  2033. "paddingVertical": 2,
  2034. "backgroundColor": "background-basic-color-1",
  2035. "indicatorWidth": 0,
  2036. "indicatorBackgroundColor": "transparent",
  2037. "titleMarginHorizontal": 0,
  2038. "titleFontSize": "text-label-font-size",
  2039. "titleFontWeight": "text-subtitle-2-font-weight",
  2040. "titleFontFamily": "text-subtitle-2-font-family",
  2041. "titleColor": "text-basic-color",
  2042. "iconWidth": 12,
  2043. "iconHeight": 12,
  2044. "iconMarginHorizontal": 8,
  2045. "iconTintColor": "text-hint-color"
  2046. }
  2047. }
  2048. }
  2049. },
  2050. "TopNavigation": {
  2051. "meta": {
  2052. "scope": "mobile",
  2053. "parameters": {
  2054. "minHeight": {
  2055. "type": "number"
  2056. },
  2057. "paddingVertical": {
  2058. "type": "number"
  2059. },
  2060. "paddingHorizontal": {
  2061. "type": "number"
  2062. },
  2063. "backgroundColor": {
  2064. "type": "string"
  2065. },
  2066. "titleTextAlign": {
  2067. "type": "string"
  2068. },
  2069. "titleFontFamily": {
  2070. "type": "string"
  2071. },
  2072. "titleFontSize": {
  2073. "type": "number"
  2074. },
  2075. "titleFontWeight": {
  2076. "type": "string"
  2077. },
  2078. "titleColor": {
  2079. "type": "string"
  2080. },
  2081. "subtitleTextAlign": {
  2082. "type": "string"
  2083. },
  2084. "subtitleFontFamily": {
  2085. "type": "string"
  2086. },
  2087. "subtitleFontSize": {
  2088. "type": "number"
  2089. },
  2090. "subtitleFontWeight": {
  2091. "type": "string"
  2092. },
  2093. "subtitleColor": {
  2094. "type": "string"
  2095. }
  2096. },
  2097. "appearances": {
  2098. "default": {
  2099. "default": true
  2100. },
  2101. "control": {
  2102. "default": false
  2103. }
  2104. },
  2105. "variantGroups": {
  2106. "alignment": {
  2107. "start": {
  2108. "default": true
  2109. },
  2110. "center": {
  2111. "default": false
  2112. }
  2113. }
  2114. },
  2115. "states": {}
  2116. },
  2117. "appearances": {
  2118. "default": {
  2119. "mapping": {
  2120. "minHeight": 56,
  2121. "paddingVertical": 8,
  2122. "paddingHorizontal": 8,
  2123. "backgroundColor": "color-primary-500",
  2124. "titleColor": "#fff"
  2125. },
  2126. "variantGroups": {
  2127. "alignment": {
  2128. "start": {
  2129. "titleTextAlign": "left",
  2130. "subtitleTextAlign": "left"
  2131. },
  2132. "center": {
  2133. "titleTextAlign": "center",
  2134. "subtitleTextAlign": "center"
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "control": {
  2140. "mapping": {
  2141. "backgroundColor": "transparent"
  2142. }
  2143. },
  2144. "homeBar": {
  2145. "mapping": {
  2146. "minHeight": 56,
  2147. "paddingVertical": 8,
  2148. "paddingHorizontal": 8,
  2149. "backgroundColor": "#fff",
  2150. "titleColor": "#000000"
  2151. }
  2152. }
  2153. }
  2154. },
  2155. "Text": {
  2156. "meta": {
  2157. "scope": "all",
  2158. "parameters": {
  2159. "fontFamily": {
  2160. "type": "string"
  2161. },
  2162. "fontSize": {
  2163. "type": "number"
  2164. },
  2165. "fontWeight": {
  2166. "type": "string"
  2167. },
  2168. "color": {
  2169. "type": "string"
  2170. }
  2171. },
  2172. "appearances": {
  2173. "default": {
  2174. "default": true
  2175. },
  2176. "alternative": {
  2177. "default": false
  2178. },
  2179. "hint": {
  2180. "default": false
  2181. }
  2182. },
  2183. "variantGroups": {
  2184. "category": {
  2185. "h1": {
  2186. "default": false
  2187. },
  2188. "h2": {
  2189. "default": false
  2190. },
  2191. "h3": {
  2192. "default": false
  2193. },
  2194. "h4": {
  2195. "default": false
  2196. },
  2197. "h5": {
  2198. "default": false
  2199. },
  2200. "h6": {
  2201. "default": false
  2202. },
  2203. "s1": {
  2204. "default": false
  2205. },
  2206. "s2": {
  2207. "default": false
  2208. },
  2209. "p1": {
  2210. "default": true
  2211. },
  2212. "p2": {
  2213. "default": false
  2214. },
  2215. "c1": {
  2216. "default": false
  2217. },
  2218. "c2": {
  2219. "default": false
  2220. }
  2221. },
  2222. "status": {
  2223. "basic": {
  2224. "default": false
  2225. },
  2226. "primary": {
  2227. "default": false
  2228. },
  2229. "success": {
  2230. "default": false
  2231. },
  2232. "info": {
  2233. "default": false
  2234. },
  2235. "warning": {
  2236. "default": false
  2237. },
  2238. "danger": {
  2239. "default": false
  2240. },
  2241. "control": {
  2242. "default": false
  2243. }
  2244. }
  2245. },
  2246. "states": {}
  2247. },
  2248. "appearances": {
  2249. "default": {
  2250. "mapping": {
  2251. "color": "text-basic-color"
  2252. },
  2253. "variantGroups": {
  2254. "category": {
  2255. "h1": {
  2256. "fontSize": "text-label-font-size",
  2257. "fontWeight": "text-label-font-weight",
  2258. "fontFamily": "text-heading-1-font-family"
  2259. },
  2260. "h2": {
  2261. "fontSize": "text-heading-2-font-size",
  2262. "fontWeight": "text-heading-2-font-weight",
  2263. "fontFamily": "text-heading-2-font-family"
  2264. },
  2265. "h3": {
  2266. "fontSize": "text-heading-3-font-size",
  2267. "fontWeight": "text-heading-3-font-weight",
  2268. "fontFamily": "text-heading-3-font-family"
  2269. },
  2270. "h4": {
  2271. "fontSize": "text-heading-4-font-size",
  2272. "fontWeight": "text-heading-4-font-weight",
  2273. "fontFamily": "text-heading-4-font-family"
  2274. },
  2275. "h5": {
  2276. "fontSize": "text-heading-5-font-size",
  2277. "fontWeight": "text-heading-5-font-weight",
  2278. "fontFamily": "text-heading-5-font-family"
  2279. },
  2280. "h6": {
  2281. "fontSize": "text-heading-6-font-size",
  2282. "fontWeight": "text-heading-6-font-weight",
  2283. "fontFamily": "text-heading-6-font-family"
  2284. },
  2285. "s1": {
  2286. "fontSize": "text-subtitle-1-font-size",
  2287. "fontWeight": "text-subtitle-1-font-weight",
  2288. "fontFamily": "text-subtitle-1-font-family"
  2289. },
  2290. "s2": {
  2291. "fontSize": "text-subtitle-2-font-size",
  2292. "fontWeight": "text-subtitle-2-font-weight",
  2293. "fontFamily": "text-subtitle-2-font-family"
  2294. },
  2295. "p1": {
  2296. "fontSize": "text-paragraph-1-font-size",
  2297. "fontWeight": "text-paragraph-1-font-weight",
  2298. "fontFamily": "text-paragraph-1-font-family"
  2299. },
  2300. "p2": {
  2301. "fontSize": "text-paragraph-2-font-size",
  2302. "fontWeight": "text-paragraph-2-font-weight",
  2303. "fontFamily": "text-paragraph-2-font-family"
  2304. },
  2305. "c1": {
  2306. "fontSize": "text-caption-1-font-size",
  2307. "fontWeight": "text-caption-1-font-weight",
  2308. "fontFamily": "text-caption-1-font-family"
  2309. },
  2310. "c2": {
  2311. "fontSize": "text-caption-2-font-size",
  2312. "fontWeight": "text-caption-2-font-weight",
  2313. "fontFamily": "text-caption-2-font-family"
  2314. }
  2315. },
  2316. "status": {
  2317. "basic": {
  2318. "color": "text-basic-color"
  2319. },
  2320. "primary": {
  2321. "color": "text-primary-color"
  2322. },
  2323. "success": {
  2324. "color": "text-success-color"
  2325. },
  2326. "info": {
  2327. "color": "#B5B5B5"
  2328. },
  2329. "warning": {
  2330. "color": "text-warning-color"
  2331. },
  2332. "danger": {
  2333. "color": "text-danger-color"
  2334. },
  2335. "control": {
  2336. "color": "text-control-color"
  2337. }
  2338. }
  2339. }
  2340. },
  2341. "alternative": {
  2342. "mapping": {
  2343. "color": "text-alternate-color"
  2344. }
  2345. },
  2346. "hint": {
  2347. "mapping": {
  2348. "color": "text-hint-color"
  2349. }
  2350. }
  2351. }
  2352. },
  2353. "Tab": {
  2354. "meta": {
  2355. "scope": "all",
  2356. "parameters": {
  2357. "textFontFamily": {
  2358. "type": "string"
  2359. },
  2360. "textFontSize": {
  2361. "type": "number"
  2362. },
  2363. "textFontWeight": {
  2364. "type": "number"
  2365. },
  2366. "textMarginVertical": {
  2367. "type": "number"
  2368. },
  2369. "textColor": {
  2370. "type": "string"
  2371. },
  2372. "iconWidth": {
  2373. "type": "number"
  2374. },
  2375. "iconHeight": {
  2376. "type": "number"
  2377. },
  2378. "iconMarginVertical": {
  2379. "type": "number"
  2380. },
  2381. "iconTintColor": {
  2382. "type": "string"
  2383. }
  2384. },
  2385. "appearances": {
  2386. "default": {
  2387. "default": true
  2388. }
  2389. },
  2390. "variantGroups": {},
  2391. "states": {
  2392. "selected": {
  2393. "default": false,
  2394. "priority": 0,
  2395. "scope": "all"
  2396. },
  2397. "hover": {
  2398. "default": false,
  2399. "priority": 1,
  2400. "scope": "all"
  2401. },
  2402. "focused": {
  2403. "default": false,
  2404. "priority": 2,
  2405. "scope": "all"
  2406. }
  2407. }
  2408. },
  2409. "appearances": {
  2410. "default": {
  2411. "mapping": {
  2412. "textMarginVertical": 2,
  2413. "textFontSize": 14,
  2414. "textFontFamily": "text-font-family",
  2415. "textColor": "text-hint-color",
  2416. "iconWidth": 24,
  2417. "iconHeight": 24,
  2418. "iconMarginVertical": 2,
  2419. "iconTintColor": "text-hint-color",
  2420. "state": {
  2421. "hover": {
  2422. "textColor": "text-primary-hover-color",
  2423. "iconTintColor": "text-primary-hover-color"
  2424. },
  2425. "selected": {
  2426. "textColor": "text-primary-color",
  2427. "iconTintColor": "text-primary-color"
  2428. }
  2429. }
  2430. }
  2431. },
  2432. "homeTab": {
  2433. "mapping": {
  2434. "textMarginVertical": 5,
  2435. "textFontSize": 15,
  2436. "textFontFamily": "text-font-family",
  2437. "textColor": "#000",
  2438. "iconWidth": 24,
  2439. "iconHeight": 24,
  2440. "iconMarginVertical": 8,
  2441. "iconTintColor": "#000",
  2442. "state": {
  2443. "hover": {
  2444. "textColor": "text-primary-hover-color",
  2445. "iconTintColor": "text-primary-hover-color"
  2446. },
  2447. "selected": {
  2448. "textColor": "text-primary-hover-color",
  2449. "iconTintColor": "text-primary-color"
  2450. }
  2451. }
  2452. }
  2453. }
  2454. }
  2455. },
  2456. "TabBar": {
  2457. "meta": {
  2458. "scope": "all",
  2459. "parameters": {
  2460. "paddingVertical": {
  2461. "type": "number"
  2462. },
  2463. "backgroundColor": {
  2464. "type": "string"
  2465. },
  2466. "indicatorHeight": {
  2467. "type": "number"
  2468. },
  2469. "indicatorBorderRadius": {
  2470. "type": "number"
  2471. },
  2472. "indicatorBackgroundColor": {
  2473. "type": "string"
  2474. }
  2475. },
  2476. "appearances": {
  2477. "default": {
  2478. "default": true
  2479. }
  2480. },
  2481. "variantGroups": {},
  2482. "states": {}
  2483. },
  2484. "appearances": {
  2485. "default": {
  2486. "mapping": {
  2487. "paddingVertical": 4,
  2488. "backgroundColor": "background-basic-color-1",
  2489. "indicatorHeight": 4,
  2490. "indicatorBorderRadius": 2,
  2491. "indicatorBackgroundColor": "color-primary-default"
  2492. }
  2493. },
  2494. "homeTab": {
  2495. "mapping": {
  2496. "paddingVertical": 4,
  2497. "backgroundColor": "transparent",
  2498. "indicatorHeight": 4,
  2499. "indicatorBorderRadius": 2,
  2500. "indicatorBackgroundColor": "transparent"
  2501. }
  2502. }
  2503. }
  2504. },
  2505. "ListItem": {
  2506. "meta": {
  2507. "scope": "all",
  2508. "parameters": {
  2509. "paddingVertical": {
  2510. "type": "number"
  2511. },
  2512. "paddingHorizontal": {
  2513. "type": "number"
  2514. },
  2515. "backgroundColor": {
  2516. "type": "string"
  2517. },
  2518. "iconWidth": {
  2519. "type": "number"
  2520. },
  2521. "iconHeight": {
  2522. "type": "number"
  2523. },
  2524. "iconMarginHorizontal": {
  2525. "type": "number"
  2526. },
  2527. "iconTintColor": {
  2528. "type": "string"
  2529. },
  2530. "titleMarginHorizontal": {
  2531. "type": "number"
  2532. },
  2533. "titleFontFamily": {
  2534. "type": "string"
  2535. },
  2536. "titleFontSize": {
  2537. "type": "number"
  2538. },
  2539. "titleFontWeight": {
  2540. "type": "string"
  2541. },
  2542. "titleColor": {
  2543. "type": "string"
  2544. },
  2545. "descriptionColor": {
  2546. "type": "string"
  2547. },
  2548. "descriptionFontFamily": {
  2549. "type": "string"
  2550. },
  2551. "descriptionFontSize": {
  2552. "type": "number"
  2553. },
  2554. "descriptionFontWeight": {
  2555. "type": "string"
  2556. },
  2557. "descriptionMarginHorizontal": {
  2558. "type": "number"
  2559. },
  2560. "accessoryMarginHorizontal": {
  2561. "type": "number"
  2562. },
  2563. "alignItems": {
  2564. "type": "String"
  2565. }
  2566. },
  2567. "appearances": {
  2568. "default": {
  2569. "default": true
  2570. }
  2571. },
  2572. "variantGroups": {},
  2573. "states": {
  2574. "active": {
  2575. "default": false,
  2576. "priority": 0,
  2577. "scope": "all"
  2578. }
  2579. }
  2580. },
  2581. "appearances": {
  2582. "default": {
  2583. "mapping": {
  2584. "paddingHorizontal": 8,
  2585. "paddingVertical": 12,
  2586. "backgroundColor": "background-basic-color-1",
  2587. "iconWidth": 24,
  2588. "iconHeight": 24,
  2589. "iconMarginHorizontal": 8,
  2590. "iconTintColor": "text-hint-color",
  2591. "titleMarginHorizontal": 8,
  2592. "titleFontSize": "text-subtitle-2-font-size",
  2593. "titleFontWeight": "text-subtitle-2-font-weight",
  2594. "titleFontFamily": "text-subtitle-2-font-family",
  2595. "titleColor": "text-basic-color",
  2596. "descriptionMarginHorizontal": 8,
  2597. "descriptionFontSize": "text-caption-1-font-size",
  2598. "descriptionFontWeight": "text-caption-1-font-weight",
  2599. "descriptionFontFamily": "text-caption-1-font-family",
  2600. "descriptionColor": "text-hint-color",
  2601. "accessoryMarginHorizontal": 8,
  2602. "state": {
  2603. "active": {
  2604. "backgroundColor": "color-basic-transparent-active"
  2605. }
  2606. }
  2607. }
  2608. },
  2609. "classification": {
  2610. "mapping": {
  2611. "paddingHorizontal": 8,
  2612. "paddingVertical": 12,
  2613. "backgroundColor": "transparent",
  2614. "iconWidth": 24,
  2615. "iconHeight": 24,
  2616. "iconMarginHorizontal": 8,
  2617. "iconTintColor": "text-hint-color",
  2618. "titleMarginHorizontal": 8,
  2619. "titleFontSize": "text-subtitle-2-font-size",
  2620. "titleFontWeight": "text-subtitle-2-font-weight",
  2621. "titleFontFamily": "text-subtitle-2-font-family",
  2622. "titleColor": "text-basic-color",
  2623. "descriptionMarginHorizontal": 8,
  2624. "descriptionFontSize": "text-caption-1-font-size",
  2625. "descriptionFontWeight": "text-caption-1-font-weight",
  2626. "descriptionFontFamily": "text-caption-1-font-family",
  2627. "descriptionColor": "text-hint-color",
  2628. "accessoryMarginHorizontal": 8,
  2629. "alignItems": "center",
  2630. "state": {
  2631. "active": {
  2632. "backgroundColor": "color-basic-transparent-active"
  2633. }
  2634. }
  2635. }
  2636. }
  2637. }
  2638. },
  2639. "Select": {
  2640. "meta": {
  2641. "scope": "all",
  2642. "parameters": {
  2643. "minWidth": {
  2644. "type": "number"
  2645. },
  2646. "minHeight": {
  2647. "type": "number"
  2648. },
  2649. "paddingHorizontal": {
  2650. "type": "number"
  2651. },
  2652. "paddingVertical": {
  2653. "type": "number"
  2654. },
  2655. "borderRadius": {
  2656. "type": "number"
  2657. },
  2658. "borderColor": {
  2659. "type": "string"
  2660. },
  2661. "borderWidth": {
  2662. "type": "number"
  2663. },
  2664. "backgroundColor": {
  2665. "type": "string"
  2666. },
  2667. "placeholderMarginHorizontal": {
  2668. "type": "number"
  2669. },
  2670. "placeholderFontFamily": {
  2671. "type": "string"
  2672. },
  2673. "placeholderFontSize": {
  2674. "type": "number"
  2675. },
  2676. "placeholderFontWeight": {
  2677. "type": "string"
  2678. },
  2679. "placeholderColor": {
  2680. "type": "string"
  2681. },
  2682. "textMarginHorizontal": {
  2683. "type": "number"
  2684. },
  2685. "textFontFamily": {
  2686. "type": "string"
  2687. },
  2688. "textFontSize": {
  2689. "type": "number"
  2690. },
  2691. "textFontWeight": {
  2692. "type": "string"
  2693. },
  2694. "textColor": {
  2695. "type": "string"
  2696. },
  2697. "iconWidth": {
  2698. "type": "number"
  2699. },
  2700. "iconHeight": {
  2701. "type": "number"
  2702. },
  2703. "iconTintColor": {
  2704. "type": "string"
  2705. },
  2706. "iconMarginHorizontal": {
  2707. "type": "number"
  2708. },
  2709. "popoverMaxHeight": {
  2710. "type": "number"
  2711. },
  2712. "popoverBorderRadius": {
  2713. "type": "number"
  2714. },
  2715. "popoverBorderColor": {
  2716. "type": "string"
  2717. },
  2718. "popoverBorderWidth": {
  2719. "type": "number"
  2720. },
  2721. "labelColor": {
  2722. "type": "string"
  2723. },
  2724. "labelFontFamily": {
  2725. "type": "string"
  2726. },
  2727. "labelFontSize": {
  2728. "type": "number"
  2729. },
  2730. "labelFontWeight": {
  2731. "type": "string"
  2732. },
  2733. "labelMarginBottom": {
  2734. "type": "number"
  2735. },
  2736. "captionMarginTop": {
  2737. "type": "number"
  2738. },
  2739. "captionColor": {
  2740. "type": "string"
  2741. },
  2742. "captionFontFamily": {
  2743. "type": "string"
  2744. },
  2745. "captionFontSize": {
  2746. "type": "number"
  2747. },
  2748. "captionFontWeight": {
  2749. "type": "number"
  2750. }
  2751. },
  2752. "appearances": {
  2753. "default": {
  2754. "default": true
  2755. }
  2756. },
  2757. "variantGroups": {
  2758. "status": {
  2759. "basic": {
  2760. "default": true
  2761. },
  2762. "primary": {
  2763. "default": false
  2764. },
  2765. "success": {
  2766. "default": false
  2767. },
  2768. "info": {
  2769. "default": false
  2770. },
  2771. "warning": {
  2772. "default": false
  2773. },
  2774. "danger": {
  2775. "default": false
  2776. },
  2777. "control": {
  2778. "default": false
  2779. }
  2780. },
  2781. "size": {
  2782. "small": {
  2783. "default": false
  2784. },
  2785. "medium": {
  2786. "default": true
  2787. },
  2788. "large": {
  2789. "default": false
  2790. }
  2791. }
  2792. },
  2793. "states": {
  2794. "hover": {
  2795. "default": false,
  2796. "priority": 0,
  2797. "scope": "all"
  2798. },
  2799. "disabled": {
  2800. "default": false,
  2801. "priority": 1,
  2802. "scope": "all"
  2803. },
  2804. "active": {
  2805. "default": false,
  2806. "priority": 2,
  2807. "scope": "all"
  2808. },
  2809. "focused": {
  2810. "default": false,
  2811. "priority": 3,
  2812. "scope": "all"
  2813. }
  2814. }
  2815. },
  2816. "appearances": {
  2817. "default": {
  2818. "mapping": {
  2819. "paddingHorizontal": 8,
  2820. "iconWidth": 24,
  2821. "iconHeight": 24,
  2822. "iconMarginHorizontal": 8,
  2823. "placeholderMarginHorizontal": 8,
  2824. "textMarginHorizontal": 8,
  2825. "textFontFamily": "text-subtitle-2-font-family",
  2826. "placeholderFontFamily": "text-paragraph-1-font-family",
  2827. "labelMarginBottom": 4,
  2828. "labelFontSize": "text-label-font-size",
  2829. "labelFontWeight": "text-label-font-weight",
  2830. "labelFontFamily": "text-label-font-family",
  2831. "captionMarginTop": 4,
  2832. "captionFontSize": "text-caption-1-font-size",
  2833. "captionFontWeight": "text-caption-1-font-weight",
  2834. "captionFontFamily": "text-caption-1-font-family",
  2835. "popoverMaxHeight": 220,
  2836. "popoverBorderRadius": "border-radius",
  2837. "popoverBorderWidth": "border-width",
  2838. "popoverBorderColor": "border-basic-color-4"
  2839. },
  2840. "variantGroups": {
  2841. "status": {
  2842. "basic": {
  2843. "borderColor": "border-basic-color-4",
  2844. "backgroundColor": "background-basic-color-2",
  2845. "textColor": "text-basic-color",
  2846. "labelColor": "text-hint-color",
  2847. "captionColor": "text-hint-color",
  2848. "placeholderColor": "text-hint-color",
  2849. "iconTintColor": "text-hint-color",
  2850. "state": {
  2851. "focused": {
  2852. "borderColor": "color-primary-default",
  2853. "backgroundColor": "background-basic-color-1"
  2854. },
  2855. "hover": {
  2856. "borderColor": "border-basic-color-4",
  2857. "backgroundColor": "background-basic-color-3"
  2858. },
  2859. "active": {
  2860. "borderColor": "color-primary-default",
  2861. "backgroundColor": "background-basic-color-1"
  2862. },
  2863. "disabled": {
  2864. "borderColor": "border-basic-color-4",
  2865. "backgroundColor": "background-basic-color-2",
  2866. "placeholderColor": "text-disabled-color",
  2867. "textColor": "text-disabled-color",
  2868. "iconTintColor": "text-disabled-color"
  2869. }
  2870. }
  2871. },
  2872. "primary": {
  2873. "borderColor": "color-primary-default",
  2874. "backgroundColor": "background-basic-color-2",
  2875. "textColor": "text-basic-color",
  2876. "labelColor": "text-hint-color",
  2877. "captionColor": "text-primary-color",
  2878. "placeholderColor": "text-hint-color",
  2879. "iconTintColor": "text-hint-color",
  2880. "state": {
  2881. "focused": {
  2882. "borderColor": "color-primary-focus",
  2883. "backgroundColor": "background-basic-color-1"
  2884. },
  2885. "hover": {
  2886. "borderColor": "color-primary-hover",
  2887. "backgroundColor": "background-basic-color-3"
  2888. },
  2889. "active": {
  2890. "borderColor": "color-primary-active",
  2891. "backgroundColor": "background-basic-color-1",
  2892. "iconTintColor": "text-basic-color"
  2893. },
  2894. "disabled": {
  2895. "borderColor": "border-basic-color-4",
  2896. "backgroundColor": "background-basic-color-2",
  2897. "placeholderColor": "text-disabled-color",
  2898. "textColor": "text-disabled-color",
  2899. "iconTintColor": "text-disabled-color"
  2900. }
  2901. }
  2902. },
  2903. "success": {
  2904. "borderColor": "color-success-default",
  2905. "backgroundColor": "background-basic-color-2",
  2906. "textColor": "text-basic-color",
  2907. "labelColor": "text-hint-color",
  2908. "captionColor": "text-success-color",
  2909. "placeholderColor": "text-hint-color",
  2910. "iconTintColor": "text-hint-color",
  2911. "state": {
  2912. "focused": {
  2913. "borderColor": "color-success-focus",
  2914. "backgroundColor": "background-basic-color-1"
  2915. },
  2916. "hover": {
  2917. "borderColor": "color-success-hover",
  2918. "backgroundColor": "background-basic-color-3"
  2919. },
  2920. "active": {
  2921. "borderColor": "color-success-active",
  2922. "backgroundColor": "background-basic-color-1",
  2923. "iconTintColor": "text-basic-color"
  2924. },
  2925. "disabled": {
  2926. "borderColor": "border-basic-color-4",
  2927. "backgroundColor": "background-basic-color-2",
  2928. "placeholderColor": "text-disabled-color",
  2929. "textColor": "text-disabled-color",
  2930. "iconTintColor": "text-disabled-color"
  2931. }
  2932. }
  2933. },
  2934. "info": {
  2935. "borderColor": "color-info-default",
  2936. "backgroundColor": "background-basic-color-2",
  2937. "textColor": "text-basic-color",
  2938. "labelColor": "text-hint-color",
  2939. "captionColor": "text-info-color",
  2940. "placeholderColor": "text-hint-color",
  2941. "iconTintColor": "text-hint-color",
  2942. "state": {
  2943. "focused": {
  2944. "borderColor": "color-info-focus",
  2945. "backgroundColor": "background-basic-color-1"
  2946. },
  2947. "hover": {
  2948. "borderColor": "color-info-hover",
  2949. "backgroundColor": "background-basic-color-3"
  2950. },
  2951. "active": {
  2952. "borderColor": "color-info-active",
  2953. "backgroundColor": "background-basic-color-1",
  2954. "iconTintColor": "text-basic-color"
  2955. },
  2956. "disabled": {
  2957. "borderColor": "border-basic-color-4",
  2958. "backgroundColor": "background-basic-color-2",
  2959. "placeholderColor": "text-disabled-color",
  2960. "textColor": "text-disabled-color",
  2961. "iconTintColor": "text-disabled-color"
  2962. }
  2963. }
  2964. },
  2965. "warning": {
  2966. "borderColor": "color-warning-default",
  2967. "backgroundColor": "background-basic-color-2",
  2968. "textColor": "text-basic-color",
  2969. "labelColor": "text-hint-color",
  2970. "captionColor": "text-warning-color",
  2971. "placeholderColor": "text-hint-color",
  2972. "iconTintColor": "text-hint-color",
  2973. "state": {
  2974. "focused": {
  2975. "borderColor": "color-warning-focus",
  2976. "backgroundColor": "background-basic-color-1"
  2977. },
  2978. "hover": {
  2979. "borderColor": "color-warning-hover",
  2980. "backgroundColor": "background-basic-color-3"
  2981. },
  2982. "active": {
  2983. "borderColor": "color-warning-active",
  2984. "backgroundColor": "background-basic-color-1",
  2985. "iconTintColor": "text-basic-color"
  2986. },
  2987. "disabled": {
  2988. "borderColor": "border-basic-color-4",
  2989. "backgroundColor": "background-basic-color-2",
  2990. "placeholderColor": "text-disabled-color",
  2991. "textColor": "text-disabled-color",
  2992. "iconTintColor": "text-disabled-color"
  2993. }
  2994. }
  2995. },
  2996. "danger": {
  2997. "borderColor": "color-danger-default",
  2998. "backgroundColor": "background-basic-color-2",
  2999. "textColor": "text-basic-color",
  3000. "labelColor": "text-hint-color",
  3001. "captionColor": "text-danger-color",
  3002. "placeholderColor": "text-hint-color",
  3003. "iconTintColor": "text-hint-color",
  3004. "state": {
  3005. "focused": {
  3006. "borderColor": "color-danger-focus",
  3007. "backgroundColor": "background-basic-color-1"
  3008. },
  3009. "hover": {
  3010. "borderColor": "color-danger-hover",
  3011. "backgroundColor": "background-basic-color-3"
  3012. },
  3013. "active": {
  3014. "borderColor": "color-danger-active",
  3015. "backgroundColor": "background-basic-color-1",
  3016. "iconTintColor": "text-basic-color"
  3017. },
  3018. "disabled": {
  3019. "borderColor": "border-basic-color-4",
  3020. "backgroundColor": "background-basic-color-2",
  3021. "placeholderColor": "text-disabled-color",
  3022. "textColor": "text-disabled-color",
  3023. "iconTintColor": "text-disabled-color"
  3024. }
  3025. }
  3026. },
  3027. "control": {
  3028. "borderColor": "color-basic-control-transparent-500",
  3029. "backgroundColor": "color-basic-control-transparent-300",
  3030. "textColor": "text-control-color",
  3031. "labelColor": "text-control-color",
  3032. "captionColor": "text-control-color",
  3033. "placeholderColor": "text-control-color",
  3034. "iconTintColor": "text-control-color",
  3035. "state": {
  3036. "focused": {
  3037. "borderColor": "color-control-transparent-focus-border",
  3038. "backgroundColor": "color-basic-control-transparent-500"
  3039. },
  3040. "hover": {
  3041. "borderColor": "color-control-transparent-hover-border",
  3042. "backgroundColor": "color-basic-control-transparent-400"
  3043. },
  3044. "active": {
  3045. "borderColor": "color-control-transparent-active-border",
  3046. "backgroundColor": "background-basic-color-1",
  3047. "iconTintColor": "text-basic-color"
  3048. },
  3049. "disabled": {
  3050. "borderColor": "color-control-transparent-disabled-border",
  3051. "backgroundColor": "color-control-transparent-disabled",
  3052. "textColor": "text-control-color",
  3053. "labelColor": "text-control-color",
  3054. "placeholderColor": "text-control-color",
  3055. "iconTintColor": "text-control-color"
  3056. }
  3057. }
  3058. }
  3059. },
  3060. "size": {
  3061. "small": {
  3062. "borderRadius": "border-radius",
  3063. "borderWidth": "border-width",
  3064. "minHeight": "size-small",
  3065. "paddingVertical": 3,
  3066. "textFontSize": "text-subtitle-2-font-size",
  3067. "textFontWeight": "text-subtitle-2-font-weight",
  3068. "placeholderFontSize": "text-paragraph-1-font-size",
  3069. "placeholderFontWeight": "text-paragraph-1-font-weight"
  3070. },
  3071. "medium": {
  3072. "borderRadius": "border-radius",
  3073. "borderWidth": "border-width",
  3074. "minHeight": "size-medium",
  3075. "paddingVertical": 7,
  3076. "textFontSize": "text-subtitle-1-font-size",
  3077. "textFontWeight": "text-subtitle-1-font-weight",
  3078. "placeholderFontSize": "text-paragraph-1-font-size",
  3079. "placeholderFontWeight": "text-paragraph-1-font-weight"
  3080. },
  3081. "large": {
  3082. "borderRadius": "border-radius",
  3083. "borderWidth": "border-width",
  3084. "minHeight": "size-large",
  3085. "paddingVertical": 11,
  3086. "textFontSize": "text-subtitle-1-font-size",
  3087. "textFontWeight": "text-subtitle-1-font-weight",
  3088. "placeholderFontSize": "text-paragraph-1-font-size",
  3089. "placeholderFontWeight": "text-paragraph-1-font-weight"
  3090. }
  3091. }
  3092. }
  3093. },
  3094. "bar": {
  3095. "mapping": {
  3096. "paddingHorizontal": 8,
  3097. "iconWidth": 24,
  3098. "iconHeight": 24,
  3099. "iconMarginHorizontal": 0,
  3100. "placeholderMarginHorizontal": 8,
  3101. "textMarginHorizontal": 0,
  3102. "textFontFamily": "text-subtitle-2-font-family",
  3103. "placeholderFontFamily": "text-paragraph-1-font-family",
  3104. "labelMarginBottom": 4,
  3105. "labelFontSize": "text-label-font-size",
  3106. "labelFontWeight": "text-label-font-weight",
  3107. "labelFontFamily": "text-label-font-family",
  3108. "captionMarginTop": 4,
  3109. "captionFontSize": "text-caption-1-font-size",
  3110. "captionFontWeight": "text-caption-1-font-weight",
  3111. "captionFontFamily": "text-caption-1-font-family",
  3112. "popoverMaxHeight": 220,
  3113. "popoverBorderRadius": "border-radius",
  3114. "popoverBorderWidth": "border-width",
  3115. "popoverBorderColor": "border-basic-color-4"
  3116. },
  3117. "variantGroups": {
  3118. "status": {
  3119. "basic": {
  3120. "borderColor": "transparent",
  3121. "backgroundColor": "transparent",
  3122. "textColor": "#fff",
  3123. "labelColor": "#fff",
  3124. "captionColor": "#fff",
  3125. "placeholderColor": "text-hint-color",
  3126. "iconTintColor": "#fff",
  3127. "state": {
  3128. "focused": {
  3129. "borderColor": "transparent",
  3130. "backgroundColor": "transparent"
  3131. },
  3132. "hover": {
  3133. "borderColor": "transparent",
  3134. "backgroundColor": "transparent"
  3135. },
  3136. "active": {
  3137. "borderColor": "transparent",
  3138. "backgroundColor": "transparent"
  3139. },
  3140. "disabled": {
  3141. "borderColor": "border-basic-color-4",
  3142. "backgroundColor": "background-basic-color-2",
  3143. "placeholderColor": "text-disabled-color",
  3144. "textColor": "text-disabled-color",
  3145. "iconTintColor": "text-disabled-color"
  3146. }
  3147. }
  3148. },
  3149. "primary": {
  3150. "borderColor": "color-primary-default",
  3151. "backgroundColor": "background-basic-color-2",
  3152. "textColor": "text-basic-color",
  3153. "labelColor": "text-hint-color",
  3154. "captionColor": "text-primary-color",
  3155. "placeholderColor": "text-hint-color",
  3156. "iconTintColor": "text-hint-color",
  3157. "state": {
  3158. "focused": {
  3159. "borderColor": "color-primary-focus",
  3160. "backgroundColor": "background-basic-color-1"
  3161. },
  3162. "hover": {
  3163. "borderColor": "color-primary-hover",
  3164. "backgroundColor": "background-basic-color-3"
  3165. },
  3166. "active": {
  3167. "borderColor": "color-primary-active",
  3168. "backgroundColor": "background-basic-color-1",
  3169. "iconTintColor": "text-basic-color"
  3170. },
  3171. "disabled": {
  3172. "borderColor": "border-basic-color-4",
  3173. "backgroundColor": "background-basic-color-2",
  3174. "placeholderColor": "text-disabled-color",
  3175. "textColor": "text-disabled-color",
  3176. "iconTintColor": "text-disabled-color"
  3177. }
  3178. }
  3179. },
  3180. "success": {
  3181. "borderColor": "color-success-default",
  3182. "backgroundColor": "background-basic-color-2",
  3183. "textColor": "text-basic-color",
  3184. "labelColor": "text-hint-color",
  3185. "captionColor": "text-success-color",
  3186. "placeholderColor": "text-hint-color",
  3187. "iconTintColor": "text-hint-color",
  3188. "state": {
  3189. "focused": {
  3190. "borderColor": "color-success-focus",
  3191. "backgroundColor": "background-basic-color-1"
  3192. },
  3193. "hover": {
  3194. "borderColor": "color-success-hover",
  3195. "backgroundColor": "background-basic-color-3"
  3196. },
  3197. "active": {
  3198. "borderColor": "color-success-active",
  3199. "backgroundColor": "background-basic-color-1",
  3200. "iconTintColor": "text-basic-color"
  3201. },
  3202. "disabled": {
  3203. "borderColor": "border-basic-color-4",
  3204. "backgroundColor": "background-basic-color-2",
  3205. "placeholderColor": "text-disabled-color",
  3206. "textColor": "text-disabled-color",
  3207. "iconTintColor": "text-disabled-color"
  3208. }
  3209. }
  3210. },
  3211. "info": {
  3212. "borderColor": "color-info-default",
  3213. "backgroundColor": "background-basic-color-2",
  3214. "textColor": "text-basic-color",
  3215. "labelColor": "text-hint-color",
  3216. "captionColor": "text-info-color",
  3217. "placeholderColor": "text-hint-color",
  3218. "iconTintColor": "text-hint-color",
  3219. "state": {
  3220. "focused": {
  3221. "borderColor": "color-info-focus",
  3222. "backgroundColor": "background-basic-color-1"
  3223. },
  3224. "hover": {
  3225. "borderColor": "color-info-hover",
  3226. "backgroundColor": "background-basic-color-3"
  3227. },
  3228. "active": {
  3229. "borderColor": "color-info-active",
  3230. "backgroundColor": "background-basic-color-1",
  3231. "iconTintColor": "text-basic-color"
  3232. },
  3233. "disabled": {
  3234. "borderColor": "border-basic-color-4",
  3235. "backgroundColor": "background-basic-color-2",
  3236. "placeholderColor": "text-disabled-color",
  3237. "textColor": "text-disabled-color",
  3238. "iconTintColor": "text-disabled-color"
  3239. }
  3240. }
  3241. },
  3242. "warning": {
  3243. "borderColor": "color-warning-default",
  3244. "backgroundColor": "background-basic-color-2",
  3245. "textColor": "text-basic-color",
  3246. "labelColor": "text-hint-color",
  3247. "captionColor": "text-warning-color",
  3248. "placeholderColor": "text-hint-color",
  3249. "iconTintColor": "text-hint-color",
  3250. "state": {
  3251. "focused": {
  3252. "borderColor": "color-warning-focus",
  3253. "backgroundColor": "background-basic-color-1"
  3254. },
  3255. "hover": {
  3256. "borderColor": "color-warning-hover",
  3257. "backgroundColor": "background-basic-color-3"
  3258. },
  3259. "active": {
  3260. "borderColor": "color-warning-active",
  3261. "backgroundColor": "background-basic-color-1",
  3262. "iconTintColor": "text-basic-color"
  3263. },
  3264. "disabled": {
  3265. "borderColor": "border-basic-color-4",
  3266. "backgroundColor": "background-basic-color-2",
  3267. "placeholderColor": "text-disabled-color",
  3268. "textColor": "text-disabled-color",
  3269. "iconTintColor": "text-disabled-color"
  3270. }
  3271. }
  3272. },
  3273. "danger": {
  3274. "borderColor": "color-danger-default",
  3275. "backgroundColor": "background-basic-color-2",
  3276. "textColor": "text-basic-color",
  3277. "labelColor": "text-hint-color",
  3278. "captionColor": "text-danger-color",
  3279. "placeholderColor": "text-hint-color",
  3280. "iconTintColor": "text-hint-color",
  3281. "state": {
  3282. "focused": {
  3283. "borderColor": "color-danger-focus",
  3284. "backgroundColor": "background-basic-color-1"
  3285. },
  3286. "hover": {
  3287. "borderColor": "color-danger-hover",
  3288. "backgroundColor": "background-basic-color-3"
  3289. },
  3290. "active": {
  3291. "borderColor": "color-danger-active",
  3292. "backgroundColor": "background-basic-color-1",
  3293. "iconTintColor": "text-basic-color"
  3294. },
  3295. "disabled": {
  3296. "borderColor": "border-basic-color-4",
  3297. "backgroundColor": "background-basic-color-2",
  3298. "placeholderColor": "text-disabled-color",
  3299. "textColor": "text-disabled-color",
  3300. "iconTintColor": "text-disabled-color"
  3301. }
  3302. }
  3303. },
  3304. "control": {
  3305. "borderColor": "color-basic-control-transparent-500",
  3306. "backgroundColor": "color-basic-control-transparent-300",
  3307. "textColor": "text-control-color",
  3308. "labelColor": "text-control-color",
  3309. "captionColor": "text-control-color",
  3310. "placeholderColor": "text-control-color",
  3311. "iconTintColor": "text-control-color",
  3312. "state": {
  3313. "focused": {
  3314. "borderColor": "color-control-transparent-focus-border",
  3315. "backgroundColor": "color-basic-control-transparent-500"
  3316. },
  3317. "hover": {
  3318. "borderColor": "color-control-transparent-hover-border",
  3319. "backgroundColor": "color-basic-control-transparent-400"
  3320. },
  3321. "active": {
  3322. "borderColor": "color-control-transparent-active-border",
  3323. "backgroundColor": "background-basic-color-1",
  3324. "iconTintColor": "text-basic-color"
  3325. },
  3326. "disabled": {
  3327. "borderColor": "color-control-transparent-disabled-border",
  3328. "backgroundColor": "color-control-transparent-disabled",
  3329. "textColor": "text-control-color",
  3330. "labelColor": "text-control-color",
  3331. "placeholderColor": "text-control-color",
  3332. "iconTintColor": "text-control-color"
  3333. }
  3334. }
  3335. }
  3336. },
  3337. "size": {
  3338. "small": {
  3339. "borderRadius": "border-radius",
  3340. "borderWidth": "border-width",
  3341. "minHeight": "size-small",
  3342. "paddingVertical": 3,
  3343. "textFontSize": "text-subtitle-2-font-size",
  3344. "textFontWeight": "text-subtitle-2-font-weight",
  3345. "placeholderFontSize": "text-paragraph-1-font-size",
  3346. "placeholderFontWeight": "text-paragraph-1-font-weight"
  3347. },
  3348. "medium": {
  3349. "borderRadius": "border-radius",
  3350. "borderWidth": "border-width",
  3351. "minHeight": "size-medium",
  3352. "paddingVertical": 7,
  3353. "textFontSize": "text-subtitle-1-font-size",
  3354. "textFontWeight": "text-subtitle-1-font-weight",
  3355. "placeholderFontSize": "text-paragraph-1-font-size",
  3356. "placeholderFontWeight": "text-paragraph-1-font-weight"
  3357. },
  3358. "large": {
  3359. "borderRadius": "border-radius",
  3360. "borderWidth": "border-width",
  3361. "minHeight": "size-large",
  3362. "paddingVertical": 11,
  3363. "textFontSize": "text-subtitle-1-font-size",
  3364. "textFontWeight": "text-subtitle-1-font-weight",
  3365. "placeholderFontSize": "text-paragraph-1-font-size",
  3366. "placeholderFontWeight": "text-paragraph-1-font-weight"
  3367. }
  3368. }
  3369. }
  3370. }
  3371. }
  3372. }
  3373. }
  3374. }