-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[WIP] VS Code missing colors #6722
Conversation
46d49bc
to
1e8463d
Compare
Signed-off-by: Jan Bicker <[email protected]>
and adapted regarding css files, so they make use of the new variables Signed-off-by: Jan Bicker <[email protected]>
See https://code.visualstudio.com/api/references/theme-color#git-colors `gitDecoration.ignoredResourceForeground` and `gitDecoration.submoduleResourceForeground` are ignored, since they are not supported by git extension yet. Signed-off-by: Anton Kosyakov <[email protected]>
and adapted respecting css files by adding those variables. Signed-off-by: Jan Bicker <[email protected]>
d10d7e3
to
85ad133
Compare
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
85ad133
to
33f0ecd
Compare
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
7ae7e42
to
213ce1d
Compare
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Jan Bicker <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
f636535
to
9fae7d4
Compare
Signed-off-by: Anton Kosyakov <[email protected]>
introduced defaults for secondary and disabled buttons replaced occurrences of old variables in css with the new variables Signed-off-by: Jan Bicker <[email protected]>
and adapted respective css Signed-off-by: Jan Bicker <[email protected]>
bb8f0be
to
8cc1488
Compare
Signed-off-by: Anton Kosyakov <[email protected]>
348c5db
to
2b41fa7
Compare
Signed-off-by: Jan Bicker <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
introduced new variables for state backgrounds, adapted respective css.
Signed-off-by: Anton Kosyakov <[email protected]>
0e901ae
to
4734b19
Compare
Signed-off-by: Jan Bicker <[email protected]>
Instead of styling based on tags. Signed-off-by: Anton Kosyakov <[email protected]>
Statusbar gets an additional css class now to indicate that theia is offline. Introduced also additional theme variables for that case. Signed-off-by: Jan Bicker <[email protected]>
@@ -198,9 +198,8 @@ export class ApplicationConnectionStatusContribution extends DefaultFrontendAppl | |||
private statusbarId = 'connection-status'; | |||
|
|||
protected handleOnline(): void { | |||
this.statusBar.setBackgroundColor(undefined); |
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.
Can we introduce setHoverBackgroundColor
instead of breaking APIs? We did not want to use class names in first place to limit capabilities for Theia extension developers.
this.statusBar.removeElement(this.statusbarId); | ||
this.statusBar.removeCls('theia-state-offline'); |
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.
abbreviations are not allowed by our coding guideline: https://github.com/eclipse-theia/theia/wiki/Coding-Guidelines#whole-words-names
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Signed-off-by: Anton Kosyakov <[email protected]>
Theia changed their CSS variables in eclipse-theia/theia#6722. This change adapts the variable names for the command palette.
What it does
Registers missing VS Code colors, see https://code.visualstudio.com/api/references/theme-color
select
elementseditorGroupHeader.noTabsBackground
, Theia does not supportworkbench.editor.showTabs
preferenceeditorGroup.emptyBackground
andeditorGroup.focusedEmptyBorder
, Theia does not support empty tab groupseditorPane.background
, Theia does not support centered layouteditorGutter.commentRangeForeground
skipped, Theia does not support comment widgets yet@theia/merge-conflicts
extensionExtensions@akosyakov these colors should be introduced and used by Open VSX Registry integration #6655Debug toolbarThere is no such concept in Theia,debugToolBar.background
anddebugToolBar.border
are skipped.gitDecoration.ignoredResourceForeground
andgitDecoration.submoduleResourceForeground
are ignored, since they are not supported by git extension yet.Settings Editor colors@akosyakov settings UI is not aligned with VS Code, see align preferences UI with VS Code #6723Breadcrumbs@akosyakov we don't have breadcrumbs yet, moved here: Add breadcrumbs bar to editor widget #6371 (comment)Symbol Icons@akosyakov it requires update to latest Monaco, current Monaco does not support it--theia-focusBorder
to mark Theia active widgetsRemove old colors:
Additional (not in VSCode):
How to test
Check different themes and compare with VSCode look:
Review checklist
Reminder for reviewers