Replies: 7 comments
-
Additional details:
|
Beta Was this translation helpful? Give feedback.
-
Is the |
Beta Was this translation helpful? Give feedback.
-
hey @luismmdev those docs are for v2 you might want to check here instead https://docs.walletconnect.com/web3modal/javascript/theming |
Beta Was this translation helpful? Give feedback.
-
Ops, my bad, you're right, thanks! |
Beta Was this translation helpful? Give feedback.
-
@glitch-txs I fixed this hacking into shadow-dom css. However I would b e open to create PR here, as long as you are open to merge such a PR. What do you think? |
Beta Was this translation helpful? Give feedback.
-
@glitch-txs But the connected state is fixed, no option to change the height whatsoever. I get you want to limit certain things but I feel like using Resources: |
Beta Was this translation helpful? Give feedback.
-
What problem does this new feature solve?
Currently theming provides really limited palette of options.
Most important points
Here are screen shots
Only
red
I see is in network switch view, really inconsistent way.Describe the solution you'd like
I see two possible approaches here.
Follow something like presentational/container pattern. From the library level provide components responsible for logic and give user api to register presentational components. This is advanced and hard to use, so for sure shouldnt be default behaviour. However its best option for advanced users.
Extend list of properties like '--w3m-background-color', '--w3m-button-color', '--w3m-font-size' etc. This could exists in parallel with 1.
Would you be open to accept PR?
Beta Was this translation helpful? Give feedback.
All reactions