Changeset 241638 in webkit
- Timestamp:
- Feb 15, 2019 6:03:32 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r241636 r241638 1 2019-02-15 Nikita Vasilyev <nvasilyev@apple.com> 2 3 Web Inspector: Dark Mode: commas in CSS selectors are too dim 4 https://bugs.webkit.org/show_bug.cgi?id=194729 5 <rdar://problem/48128592> 6 7 Reviewed by Matt Baker. 8 9 Use `--text-color-tertiary` for both light and dark modes. 10 11 * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css: 12 (.spreadsheet-style-declaration-editor): 13 * UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.css: 14 (.spreadsheet-css-declaration): 15 (.spreadsheet-css-declaration .selector > span): 16 (@media (prefers-color-scheme: dark)): 17 * UserInterface/Views/Variables.css: 18 (:root): 19 1 20 2019-02-15 Nikita Vasilyev <nvasilyev@apple.com> 2 21 -
trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css
r240559 r241638 29 29 font-family: Menlo, monospace; 30 30 font-size: 11px; 31 color: hsl(0, 0%, 70%);31 color: var(--text-color-tertiary); 32 32 -webkit-user-select: text; 33 33 -
trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.css
r239760 r241638 29 29 font-family: Menlo, monospace; 30 30 font-size: 11px; 31 color: hsl(0, 0%, 70%);32 background: white;33 border-bottom: 0.5px solid hsla(0, 0%, 0%, 0.2);31 color: var(--text-color-tertiary); 32 background: var(--background-color-code); 33 border-bottom: 0.5px solid var(--text-color-quaternary); 34 34 -webkit-user-select: text; 35 35 } … … 101 101 102 102 .spreadsheet-css-declaration .selector > span { 103 color: hsl(0, 0%, 50%);103 color: var(--text-color-secondary); 104 104 } 105 105 … … 135 135 136 136 @media (prefers-color-scheme: dark) { 137 .spreadsheet-css-declaration {138 background: var(--background-color-code);139 color: var(--text-color-tertiary);140 color: hsl(0, 0%, 30%);141 border-bottom-color: var(--text-color-quaternary);142 }143 144 137 .spreadsheet-css-declaration.locked { 145 138 background: var(--background-color); -
trunk/Source/WebInspectorUI/UserInterface/Views/Variables.css
r240518 r241638 40 40 --text-color-secondary: hsl(0, 0%, 50%); 41 41 42 /* Disabled text/glyphs */ 43 --text-color-tertiary: hsl(0, 0%, 70%); 44 42 45 /* Dividers, separators, background fills */ 43 46 --text-color-quaternary: hsl(0, 0%, 85%);
Note: See TracChangeset
for help on using the changeset viewer.