let e={success:"#0ca127",warning:"#b88700",critical:"#e22222",boldDefault:"#333",default:"#545454",defaultButton:"#fff",defaultLink:"#1879b9"},t={success:"#e8f8eb",warning:"#fff8e0",critical:"#ffebeb",default:"#f0f8ff",info:"#f0f8ff"},a={success:"#d0ecd3",warning:"#f0e4bc",critical:"#facccc",default:"#d1e6f5",info:"#d1e6f5"},o={normal:"400",bold:"500"},f={small:"12px",medium:"16px",large:"18px",xlarge:"24px"},l=(t,a)=>"default"===t&&"bold"===a?e.boldDefault:e[t||"default"],r=e=>t[e||"default"],s=e=>a[e||"default"],c=e=>o[e||"normal"],d=e=>e&&"default"!==e?f[e||"medium"]:"14px",p={primary:"#1879b9",defaultText:"#fff",secondary:"#d9d9d9"},i={none:"14px",xtight:"5px",tight:"9px",loose:"21px",xloose:"38px"},u={base:"28px",extraTight:"10px",tight:"18px",loose:"42px",extraLoose:"76px"},x=e=>/^(?:https?:\/\/|ftp:\/\/|ftps:\/\/)(?:[a-zA-Z\d-]+\.)+[a-zA-Z]{2,}(?:\/\S*)?$/.test(e);export{p as buttonColor,x as checkIsValidURL,r as makeBgColor,s as makeBorderColor,d as makeFontSize,c as makeFontWeight,l as makeTextColor,t as postPurchaseBgColor,a as postPurchaseBorderColor,f as postPurchaseFontSize,o as postPurchaseFontWeight,i as postPurchaseSpacing,e as postPurchaseTextColor,u as postPurchaseViewSpacing};
