Add a way to opt out of default border width #2261
CuddleBunny
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great to have a way to opt out of the default
border-width: 0
in the config. Under normal circumstances this works well and I think it is a great approach. Once you start using web components and messing around in the shadow DOM however things start to become less favorable. If I have a custom elementmy-component
with internal styles that apply a border:The border element's border will still have a width of 0 because
:host
is less specific than*
. As far as I know there is no way to make:host
more specific and the soft override mentioned here will also not work. Thoughts?Beta Was this translation helpful? Give feedback.
All reactions