-
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
VS Code like theming (colors and icons) #6475
Conversation
It's a temporary PR against the webview PR, don't merge it! @jbicker please see I'm going to hook VS Code contribution points that you can also test against VS Code extensions and then go back to the webview PR. |
I've hooked up the theme contribution point from VS Code extensions for JSON files. @jbicker You can download following themes and put them under
Right now new css color variables are only applied to editors and webviews: |
20b7382
to
85cf502
Compare
b982038
to
e7ee215
Compare
@jbicker I've finished my part, all VS Code extension contribution points are respected, please see |
2f86eed
to
f2660f8
Compare
e7ee215
to
0c63bf4
Compare
b961ceb
to
10879d4
Compare
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
Extensions relying on null values, we should not stub them with empty objects. Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
99b9de4
to
5602c75
Compare
@vince-fugnitto I've tackled all issues except #6786. I don't think it is very critical. Please let me know what else should be done for the approval. |
I verified my existing issues and they look to be resolved 👍
@theia/vscode-builtin-quietlight VS Code Horizon Bright Theme
|
@vince-fugnitto Are you sure that you did not have git support installed from Theia and VS Code extensions at the same time? Or maybe you forgot to rebuild the example app after changing package.json? |
8e7ada8
to
aa77210
Compare
To distinguis between folder and file URIs. By default file icons are computed for URIs, but clients can provide `folder` as an id of `URIIconReference` to compute folder icons. Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
aa77210
to
872e810
Compare
@vince-fugnitto I'have addressed everything in #6475 (comment). Except double git decorators, I suspect you have git support from Theia and VS Code extensions at the same time. Maybe you have not rebuilt the browser example after changing package.json. Please have a look again. |
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.
It looks and works very nicely 👍
You are right, it must have been that the example-browser
was not rebuilt however I was sure I did so 🙈 Everything works correctly now and is fine with me. Any further enhancements can always be done during the month including bug fixes but I really like the changes!
Sorry if I am a bit late reviewing the changes at each iteration, I'm not officially back to work until the 2nd of January but did not want to hold you back 😄
@vince-fugnitto that's alright, have nice holidays! |
I'm going to merge it. Please open new issues if something is wrong or to ask for help on how to migrate. |
What it does
fix #4831, fix #1486, fix #6300, fix #6747, fix #6776
.
replaced by-
and--theia
prefixColorRegistrsy.getCurrentColor
MonacoThemingService.register
to contribute new themes--theia-ui-font-color
and--theia-layout-color
are not usedname
,description
andicon
for tree nodes, useLabelProvider
instead to avoid storing them in the local storage and compute synchronously only demand only for visible UI nodesFOLDER_ICON
andFILE_ICON
are usedHow to test
@theia/git
theia extension in the browser appplugins
folder:@theia/editor
@theia/filesystem
@theia/navigator
- Navigator View@theia/markers
- Problems View@theia/git
@theia/plugin-ext
@theia/search-in-workspace
- Search View@theia/workspace
- Quick Open WorkspacehidesExplorerArrows
Review checklist
Reminder for reviewers