Closed
Bug 1422244
Opened 8 years ago
Closed 8 years ago
Change the dark theme text selection color of CodeMirror
Categories
(DevTools :: Source Editor, defect, P3)
Tracking
(firefox59 fixed)
RESOLVED
FIXED
Firefox 59
| Tracking | Status | |
|---|---|---|
| firefox59 | --- | fixed |
People
(Reporter: malikanshul29, Assigned: malikanshul29)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
|
1.31 KB,
patch
|
gl
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171112125346
Steps to reproduce:
Original issue: https://github.com/devtools-html/debugger.html/issues/4765
Actual results:
Currently in dark mode Debugger, selected text is difficult to read because of the light blue highlight color.
Expected results:
Let's use this color instead: #353B48. (It's the same color as the Inspector's line-hover color.)
| Assignee | ||
Updated•8 years ago
|
Component: Untriaged → Developer Tools: Debugger
| Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8933565 -
Flags: review?(jlaster)
Updated•8 years ago
|
Blocks: devtools-visual
Component: Developer Tools: Debugger → Developer Tools: Source Editor
Summary: Color change for Dark Debugger selected text readability (Photon polish uplift) → Change the dark theme text selection color of CodeMirror
Updated•8 years ago
|
Assignee: nobody → malikanshul29
Priority: -- → P3
Updated•8 years ago
|
Attachment #8933565 -
Flags: review?(jlaster) → review?(gl)
Updated•8 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 2•8 years ago
|
||
Comment on attachment 8933565 [details] [diff] [review]
o.patch
Review of attachment 8933565 [details] [diff] [review]:
-----------------------------------------------------------------
I have made the fix for this.
::: devtools/client/themes/dark-theme.css
@@ +205,4 @@
> }
>
> .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
> + background: #353B48;
This should not actually map to the hardcoded values and instead map to var(--theme-selection-background-hover) which is defined in variables.css
Attachment #8933565 -
Flags: review?(gl) → review+
Comment 3•8 years ago
|
||
Attachment #8933565 -
Attachment is obsolete: true
Attachment #8935081 -
Flags: review+
Pushed by gabriel.luong@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4bedf3a1a515
Change codemirror text selection background color in dark theme. r=gl DONTBUILD
Comment 5•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•