-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Adjust line number styles to line up with VSCode #8322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Style adjustments to line numbers (color and width) in the `Native Editor`, to line up with VS Code styles. | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,26 +107,10 @@ | |
padding-right: 4px; | ||
} | ||
|
||
.monaco-editor .current-line ~ .line-numbers { | ||
color: var(--override-foreground, var(--vscode-editor-foreground)) !important; | ||
} | ||
.monaco-editor .line-numbers { | ||
color: var(--override-foreground, var(--vscode-editor-foreground)) !important; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What happens when you pick a weirdo theme? This might be using the base theme to pick the line number colors. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Meaning the colors work fine for the base light and dark, but might not work for say One Plus or some other custom theme. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have installed and tested against around 20 different themes and it works as expected. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No I didn't mean to say it wasn't working for me, just wanted to make sure you double check other themes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Double and triple checked. |
||
|
||
.monaco-editor .margin { | ||
background-color: transparent !important; | ||
} | ||
|
||
.monaco-editor .margin-view-overlays-border-on { | ||
margin-right: 1px; | ||
padding-right: 1px; | ||
background-color: transparent !important; | ||
border-right-color: black; | ||
border-right-style: solid; | ||
border-right-width: 1px; | ||
} | ||
|
||
.monaco-editor .parameter-hints-widget > .wrapper { | ||
overflow: hidden; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't @ronglums want lines on by default? Or is that another change?