Commit dee9984
authored
[PLAY-1789] Dark Mode Select (#4128)
**What does this PR do?** A clear and concise description with your
runway ticket url.
This PR audits the Select component for proper use of dark mode colors.
1. Change all lables to use $text_dk_light
2. Select Inline us updated to have a more visible hover color
3. Error state is using $error_dark for border-color
[Story](https://runway.powerhrg.com/backlog_items/PLAY-1789)
**Screenshots:** Screenshots to visualize your addition/change
<img width="588" alt="Screenshot 2025-01-15 at 8 33 22 AM"
src="https://github.com/user-attachments/assets/a4dcc56d-b7c3-4bba-a9b9-8fb6f22b85d2"
/>
<img width="758" alt="Screenshot 2025-01-15 at 8 39 14 AM"
src="https://github.com/user-attachments/assets/2419831c-72ea-4bc9-83ad-243390f92ea5"
/>
**How to test?** Steps to confirm the desired behavior:
1. Go to
[https://pr4128.playbook.beta.gm.powerapp.cloud/kits/select/rails](https://pr4128.playbook.beta.gm.powerapp.cloud/kits/select/rails)
4. Turn on "Dark Mode" and go to the Select Kit
5. Scroll down to 'Select Default'
6. Compare caption text color to prod
7. Scroll down to 'Select w/Error'
8. Observe color of border and error message. Not that different from
prod.
9. Scroll down to 'Select Inline'
10. Hover over to see color change
#### Checklist:
- [x] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new
kit`, `deprecated`, or `breaking`. See [Changelog &
Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels)
for details.
- [x] **DEPLOY** I have added the `milano` label to show I'm ready for a
review.
- [ ] **TESTS** I have added test coverage to my code.1 parent a474767 commit dee9984
File tree
3 files changed
+10
-8
lines changed- playbook/app/pb_kits/playbook/pb_select
3 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
| 212 | + | |
| 213 | + | |
216 | 214 | | |
217 | 215 | | |
218 | 216 | | |
| |||
228 | 226 | | |
229 | 227 | | |
230 | 228 | | |
231 | | - | |
| 229 | + | |
232 | 230 | | |
233 | 231 | | |
234 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
131 | 134 | | |
132 | 135 | | |
133 | 136 | | |
| |||
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| 152 | + | |
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments