Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TosinJs committed Jul 4, 2024
1 parent 53f7cb0 commit 4876246
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,22 @@ let services: InputData = [
"netflix": .service(Service(activities: ["watch"])),
]

<!-- styling parameters to modify the Connect UI -->
let style = StylingOptions(
primaryColor: "#7949D1",
backgroundColor: "#fff",
foregroundColor: "#562BA6",
accentColor: "#F4F0FB",
)

let options = ConnectOptions(style: style)

let input = ConnectInput(
publicKey: "yourPublicKey",
redirectURL: "https://example.com",
services: services
services: services,
// Optional styling parameter to modify the Connect UI
options: options
)
```

Expand Down

0 comments on commit 4876246

Please sign in to comment.