Comments (3)
The backgroundColor configuration option should help with this. It will set the background color of the webview - which will also apply to the header. So if you set it to white for example, the whole sheet will be white when loading, and the header should remain white when finished loading.
Let me know if this works for you. Note that you may also need to modify the system text color to correct the text color of "checkout" in the header.
from checkout-sheet-kit-swift.
@tsopin apologies for the delayed response here.
Do you want the header to be light? or do you want the checkout to be dark?
Have you tried using the automatic
ColorScheme option in your configuration?
from checkout-sheet-kit-swift.
Thank you for the reply!
I need the header to align with the value set in the configuration.
In this instance, while iOS was set to dark mode
, my app was set to light mode
, which was passed to the ShopifyCheckoutKit.configuration.colorScheme
.
The checkout content adhered to the .light
setting, but the view controller and its header conformed to the system's dark mode
setting.
No, I haven't used automatic
since my app overrides the system's settings.
from checkout-sheet-kit-swift.
Related Issues (20)
- [Feature Request] Test mode when creating checkouts HOT 1
- UI discrepancy between UIKit and SwiftUI HOT 9
- Receiving checkoutLiquidNotMigrated error even though I actually migrated the store HOT 9
- Preloading checkout triggers an SMS with Shop Pay verification code HOT 3
- Logged in user information does not appear on the checkout sheet after discounts are applied. HOT 3
- Sheet always displays loading template at the top HOT 3
- Not able to open checkout sheet in any other language HOT 2
- Checkout sheet appears blank on initial presentation HOT 2
- Make CheckoutWebViewController open or public HOT 1
- Checkout Sheet Kit doesn't work with an extensibility preview store HOT 4
- Error indicating to use liquid despite migration to extensibility being complete HOT 2
- Login customer using their access token HOT 4
- Cart buyer identity is not pre-filled in the checkout HOT 21
- Can we change Pay Now Button Color? HOT 3
- CheckoutSheet swiftui issue HOT 1
- CheckoutSheet SwiftUI issue 2 HOT 1
- More theme options when using the `web` theme
- Test
- Camera is opening as Live Broadcast Video instead of normal Camera to take picture. HOT 4
- Regressed Issue: buyer identity attach not working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkout-sheet-kit-swift.