Stylesheets usually are the best option, e.g.:
select = w.Select(
value="Option 1",
options=[
"Option 1",
"Option 2",
"Option 3",
],
stylesheets=[
".bk-input { background-color: #FFA500; }",
],
)
This will change the background of the <select>
element within the component. If you want to change the background of the entire component, then use:
stylesheets=[
":host { background-color: #FFA500; }",
],