#nimheru_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1230496018831904829
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
this is the icon I'm referring to
I should clarify, this is using the accordion payment element type
hi there!
var paymentElementOptions = {
layout: {
type: 'accordion',
defaultCollapsed: true,
radios: true,
spacedAccordionItems: true
},
};
hi!
what do you want to change about that icon?
just the color currently! ideally the same with the "Card" text and the radio button
It looks like it's trying to use iconColor but it being overwritten
here's my full appearance config:
appearance: {
theme: 'flat',
labels: 'floating',
variables: {
borderRadius: '0.25rem',
fontFamily: 'Poppins, sans-serif',
fontLineHeight: '1.4',
fontSizeBase: '16px',
fontSmooth: 'always',
colorIconMenu: '#eb601a',
iconColor: '#eb601a',
tabIconSelectedColor: '#eb601a',
},
rules: {
'.Input': {
backgroundColor: '#fefefe',
border: '1px solid #555555',
padding: '0.7rem 0.5rem',
}
}
}
thats not done it unfortunately
ok give me a few minutes to run some tests
however im struggling to find one that will work for the radio and the "card" text
nice! the text should be TabLabel: https://docs.stripe.com/elements/appearance-api?platform=web#tabs