I am trying to access the individual parts of elements which you have to go through the shadow DOM. I have been trying to do it like in this guide: https://github.com/vaadin/vaadin-themable-mixin/wiki/1.-Style-Scopes
Adding this code to my shared-styles.html file works fine:
vaadin-text-field {
border: 1px solid gray;
}
Then for accessing specific parts of the element to style, it shows to access it like this:
#shadow-root (open)
<style>
:host {
border: 1px solid gray;
}
</style>
And that you can access the specific parts (input-field in this case) like this:
#shadow-root
<style>
[part="input-field"] {
border: 1px solid gray;
}
</style>
I just do not understand how the last 2 code blocks are supposed to identify that they are changing 'vaadin-text-field' as it is nowhere in the code snippet. Adding those snippets alone of course do not work.. I feel like it's something simple I am overlooking. Thank you so much, I appreciate all of the great help available for Vaadin!