Skip to content

Commit 9aa88c9

Browse files
committed
Remove css & hardcoded color
1 parent f064709 commit 9aa88c9

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Diff for: playbook/app/pb_kits/playbook/pb_select/_select.scss

+1-6
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,6 @@
201201
background-color: $hover_dark;
202202
}
203203
}
204-
.pb_select_kit_label {
205-
> div:first-child{
206-
color: $text_dk_light;
207-
}
208-
}
209204
option {
210205
color: $text_dk_default;
211206
}
@@ -234,7 +229,7 @@
234229
&:hover {
235230
select {
236231
color: $white !important;
237-
background: rgba(196, 221, 245, 0.1);
232+
background: $focus_input_dark;
238233
}
239234
svg {
240235
color: $primary !important;

Diff for: playbook/app/pb_kits/playbook/pb_select/select.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
**combined_html_options) do %>
66
<% if object.label %>
77
<label class="pb_select_kit_label" for="<%= object.name %>">
8-
<%= pb_rails("caption", props: { text: object.label }) %>
8+
<%= pb_rails("caption", props: { text: object.label, dark: object.dark }) %>
99
</label>
1010
<% end %>
1111
<label class="<%= object.select_wrapper_class %>" for="<%= object.name %>">

0 commit comments

Comments
 (0)