-
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
Conversation
} | ||
.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 comment
The 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 comment
The 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 comment
The 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.
Please could you let me know which one doews'nt work.
RIght now, when I look at the webviews, VS Code is genearting these styles for us. So I don't see the need for us to generate them ourselves (hence the reason to remove them).
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.
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 comment
The reason will be displayed to describe this comment to others. Learn more.
Double and triple checked.
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.
🕐
Codecov Report
@@ Coverage Diff @@
## master #8322 +/- ##
==========================================
+ Coverage 58.66% 59.01% +0.35%
==========================================
Files 505 505
Lines 22778 23147 +369
Branches 3740 3740
==========================================
+ Hits 13363 13661 +298
- Misses 8522 8593 +71
Partials 893 893
Continue to review full report at Codecov.
|
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.
@@ -0,0 +1 @@ | |||
Style adjustments to line numbers (color and width) in the `Native Editor`, to line up with VS Code styles. |
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.
line [](start = 79, length = 4)
Didn't @ronglums want lines on by default? Or is that another change?
For #8289