#hanis03_code

1 messages · Page 1 of 1 (latest)

tribal cobaltBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247969686751019150

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

paper salmon
#

the other customization methods work for us
What does this mean? What other customization methods? You're trying to get a dark theme via multiple different methods?

bright snow
#

This was not meant to be a method for styling, but modifications such as: type: 'accordion', or type: 'tabs',

paper salmon
#

I don't understand. Are you just trying to show it via a dark theme? Or are you trying to do something more complicated?

bright snow
#

We only trying dark theme but many thing we recieve from ChatGPT

paper salmon
#

Have you tried passing in an appearance object?

const appearance = { theme: 'night', }; const options = { /* options */ }; const elements = stripe.elements({ clientSecret, appearance }); const paymentElement = elements.create('payment', options); paymentElement.mount('#payment-element');

bright snow
#

And what we must input into options?

#

Yey, it´s working! Thank very much!

paper salmon
bright snow
#

Okay, thank you very much for support! That´s all.