Text in Settings input fields should be body color instead of grayed out
Categories
(DevTools :: Responsive Design Mode, enhancement, P3)
Tracking
(firefox68 fixed)
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: victoria, Assigned: megan)
Details
(Keywords: good-first-bug, Whiteboard: [lang=css] [good first verify])
Attachments
(2 files)
I realized the grayed out text here makes it look like placeholders. The can always just be the body color. The blue focus ring will be enough to indicate that the field is focused.
Comment 1•6 years ago
|
||
This sounds to me like a great way for someone new to start contributing to Firefox DevTools and Mozilla.
This seems like a CSS only bug that should be simple enough granted you know how to get the code, make changes, testing them and posting them for review. You can learn all about this here: http://docs.firefox-dev.tools/
Once you're set-up, try the following steps:
- open Firefox
- open Responsive Design Mode in a tab
- click on the device selector drop-down in the top left corner of the RDM toolbar
- select edit list ...
- then click add custom device...
The fields in the form that just appeared are the ones we want to fix here.
The JavaScript file that generates those fields is /devtools/client/responsive.html/components/DeviceForm.js
And the CSS file that defines the styles for this is /devtools/client/responsive.html/index.css
What Victoria means by body color in comment 0 is probably --theme-body-color which is a custom property/CSS variable we have defined in the DevTools theme and that should be reused here for the text instead of the grayed-out text.
| Assignee | ||
Comment 2•6 years ago
|
||
I can quickly handle this bug. I'm familiar with CSS variables. I am getting the files setup now in my dev setup and will be able to work on it this evening, if that's ok.
| Reporter | ||
Comment 3•6 years ago
|
||
Hi Megan! Yes, that would be great!
Feel free to join our slack channel if you need help with setup, etc. https://devtools-html-slack.herokuapp.com/
Updated•6 years ago
|
| Assignee | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
I reviewed the change and accepted it. Victoria, can you take a look at the CSS variables used here and let us know if these are the ones we were wanting to use.
I can land the patch after that.
| Reporter | ||
Comment 6•6 years ago
|
||
Yep, that's the one I was thinking of! Thanks Megan :)
Comment 8•6 years ago
|
||
| bugherder | ||
Updated•6 years ago
|
Updated•6 years ago
|
Description
•