Closed Jerome1337 closed 1 year ago
Node/npm version(s):
NodeJS 19.6.0 Pnpm 7.27.0
19.6.0
7.27.0
Package(s) version(s):
@porscheofficial/cookie-consent-banner-react@3.1.3
Browser(s) version(s):
Arc Version 0.110.1 (39837) Chromium Engine Version 114.0.5735.198
Description of the issue/feature:
Allow button styling. Be able to change button size, padding, font, font weight...
Maybe allowing to pass our own button component to keep the same button style.
Another option could be to add css parts (https://stenciljs.com/docs/styling#css-parts) to be able to stylise the shadow DOM element using ::part() pseudo selector (https://developer.mozilla.org/en-US/docs/Web/CSS/::part)
::part()
Use cases:
Have a better design integration of the component
Node/npm version(s):
NodeJS
19.6.0
Pnpm7.27.0
Package(s) version(s):
Browser(s) version(s):
Arc Version 0.110.1 (39837) Chromium Engine Version 114.0.5735.198
Description of the issue/feature:
Allow button styling. Be able to change button size, padding, font, font weight...
Maybe allowing to pass our own button component to keep the same button style.
Another option could be to add css parts (https://stenciljs.com/docs/styling#css-parts) to be able to stylise the shadow DOM element using
::part()
pseudo selector (https://developer.mozilla.org/en-US/docs/Web/CSS/::part)Use cases:
Have a better design integration of the component