{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Theme Customizaion (iOS SDK)","description":"Tilia Wallet Developer Documentation","siteUrl":"https://thunes-tilia-docs.redocly.app/","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"theme-customizaion-ios-sdk","__idx":0},"children":["Theme Customizaion (iOS SDK)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Some aspects of the Tilia SDK UI are customizable.  You can set things such as the background and primary color for both dark and light mode.  Based on how dark or light a color is, the SDK will set the appropriate font color (white, or black)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/ios-theme.3d0eaa56139dd43427110b4f4aa6cba104814f9763fe0d1a1253628b82dd1137.9c1bb791.png","alt":"Tilia Hosted Checkout"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"swift-code-example","__idx":1},"children":["Swift Code Example"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"swift","header":{"controls":{"copy":{}}},"source":"TLManager.shared.setBackgroundColor(forLightMode: .red, andDarkMode: .blue)\nTLManager.shared.setPrimaryColor(forLightMode: .green, andDarkMode: .gray)\nTLManager.shared.setSuccessBackgroundColor(forLightMode: .gray, andDarkMode: .green)\nTLManager.shared.setFailureBackgroundColor(forLightMode: .blue, andDarkMode: .white)\n","lang":"swift"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"demo-app-example","__idx":2},"children":["Demo app Example"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can see an example of modifying the them in our demo application. See more ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/sdks/ios-demo-app"},"children":["here"]},"."]}]},"headings":[{"value":"Theme Customizaion (iOS SDK)","id":"theme-customizaion-ios-sdk","depth":1},{"value":"Swift Code Example","id":"swift-code-example","depth":3},{"value":"Demo app Example","id":"demo-app-example","depth":3}],"frontmatter":{"seo":{"title":"Theme Customizaion (iOS SDK)"}},"lastModified":"2022-06-02T18:45:06.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/sdks/ios-custom-theme","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}