Skip to content
Discussion options

You must be logged in to vote

Hi @jenninep1 ,

Your approach will not work, because the button is protected by its own shadowDOM.
You can adjust those values via the styleLight and styleDark options (see https://add-to-calendar-button.com/de/configuration#stylelight).
In your case, asuming you are using the default button and only light mode, you could use styleLight="--btn-background: #ffab01;--btn-border:none;"

Best,
Jens

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jekuer
Comment options

You must be logged in to vote
1 reply
@jekuer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants