Skip to content

UI refresh: a modern light and dark theme #2114

Closed

Description

@thomasritter

Known issues

First version has been submitted. Here the list of already known issues we will work on.

Status quo

A lot of Eclipse users are asking for a more modern look&feel. If you search the internet you will find a lot of such posts.

https://www.reddit.com/r/eclipse/comments/i4hlpw/make_eclipse_look_modern/
https://www.reddit.com/r/eclipse/comments/jvfyv8/will_eclipse_get_amajor_ui_upgrade_to_look_modern/
...

There is quite some progress in this area with simplified tab view options (available), sticky scrolling (in progress), modernized find integration (in progress) and many other small and bigger fixes which are currently being worked on in the Eclipse community.

This issue focuses on the default themes. The default light theme has not been updated in years. It is not state of the art anymore. All major IDEs have shifted to a different light theme style. Here is an overview how the other most commonly used IDEs look like out of the box.

VS Code
image

IntelliJ
image

Visual Studio
image

XCode
image

What design styles follows a theme in 2024?

When comparing the different IDEs it is easy to pick out the design decisions they all share. These are:

  1. Lightweight view tab design.
  2. Flat look. No use of 3D gradiants.
  3. Views use a darker background color. This naturally focuses the eye on the editor area which is where most of the work happens. We like to call editors the main actors and views the supporting actors.

Especially, point 3) is important. When looking at other UIs outside the IDE space it becomes clear that this is the standard. The navigation sidebar is usually using a darker background color than the main content area (e.g. MacOS finder, Apple Music, Powerpoint, OneNote, MacOS notes, MS teams, ...). That's probably the biggest reason why Eclipse feels so outdated.

Proposal for the updated default light theme

The updated theme addresses all three points mentioned above. Here are some before/after screenshots.

Current theme:
image

Modernized theme:
image

Details
Views tabs. Same minimalist design you can find in the other IDEs.

image
image

Editor tabs. Same design as in the other IDEs. The active tab has a white background which blends in nicely with the white background of the editor area.

image
image

Proposal for the updated dark theme

The updated theme follows in the footsteps of the light theme. From a design perspective it simply inverts the colors. This means the most important part is the darkest and the less important parts are brighter. When working on the dark theme we noticed that it was already in a much better shape. Our proposal simply cleans up same aspects of the current design.

Here is a screenshot of the IntelliJ dark theme as a reference.
image

Current theme:
image

Modernized theme:
dark_theme_java

Summary

We have been working hard on these proposals and were pleasantly surprised how good Eclipse can look like with the updated themes. Our in house developers have been using them already for months and do not want to go back to the old ones. While we tested them extensively there is still a chance that we missed some small details. Please report any issues you find and we will look into them. We decided to split the changes into three changes for easier review:

At the Eclipse Community Day we asked whether to immediately replace the existing themes or add them as new ones. All committers (@merks , @HeikoKlare , @marcushoepfner , @BeckerWdf , @HannesWell , @sratz , @fedejeanne ) we talked to asked us to replace the existing themes. We can always rollback the changes if there are issues.

As a final note, we focused on Windows and Mac first. This is already a lot of work. If these changes get accepted we will also look into applying the visual refresh to the Linux themes.

Activity

  1. Wittmaxi commented on Jul 19, 2024

    @Wittmaxi

    I love this change! Having see the difference it can make, I can not wait for this to be in my IDE. Thank you!!!

    I might be alone with this opinion, but to me the new theme looks almost unchanged and I feel like a bigger contrast might look even better. From your presentation I know that you copied the values of VScode but to me, the light theme looks nearly unchanged. Have you experimented with "greater contrasts" already?

  2. laeubi commented on Jul 19, 2024

    @laeubi
    Contributor

    It might be my glasses but with the "modern" style I can hardly read Main class + method names ... and even if it says "Please ignore the incorrect syntax highlighting. It does not occur with the change." I wonder, why not make a screenshot with correct syntax highlight?

  3. HeikoKlare commented on Jul 19, 2024

    @HeikoKlare
    Contributor

    I really like and appreciate these changes and consider them a great improvement in terms of look&feel 👍 I hope that we can find an agreement soon and have them available as soon as possible.

    I have two concerns so far:

    1. I agree with Christoph that having a proper dark theme screenshot with the correct syntax highlighting would be good.
    2. I am not sure about the view tab changes when using the classic dense tab style with icons instead of the newer one without icons. While I like this change with the new tab header styling (aligned with, e.g., VS Code), with the classic one they don't really feel like headers to me anymore. In addition, the headers do not react to hovering events anymore, like they did before, which makes it more difficult to understand them as tab headers. At least the latter is probably a bug and not intended.
      image
  4. thomasritter commented on Jul 19, 2024

    @thomasritter
    Author

    @laeubi Your comment applies to #2112, correct? Sorry, for that one. Matthias Becker told us that the syntax highlighting colors are linked to a theme ID and if you change the ID they break. This is what you can see in the screenshot because we duplicated the theme while working on it. Now, with #2112 we thought it would not be a problem because we change the existing theme and no ID breakage should happen. But it turns out that we were wrong and somehow the editor is picking the light theme syntax colors and not the one for the dark theme. We are investigating this, right now. Of course, in this state the change for the dark theme cannot be submitted.

  5. thomasritter commented on Jul 19, 2024

    @thomasritter
    Author

    I updated the screenshot of the new dark theme. It features the correct syntax highlighting, now.

  6. HeikoKlare commented on Jul 19, 2024

    @HeikoKlare
    Contributor

    I updated the screenshot of the new dark theme. It features the correct syntax highlighting, now.

    Thank you! The screenshot shows the new dark theme also with a changed font color theme. I don't see that as part of the current dark theme improvement PR. Will you provide it later on? When I test the PR, I still have the existing "christmas tree" font colors in dark theme, so I would really appreciate an update of them as well 🙂

    image

  7. vogella commented on Jul 20, 2024

    @vogella
    Contributor

    I also like the changes, tested under Windows. They are not ground-breaking but do the little twists to make the theme look more professional.

    In my opinion our styling also suffers from:

    • Old styling icons, if you check the above non Eclipse tools they all moved to less colorful icons
    • Color errors in the toolbar and toolbar icons, see for example the perspective button in the dark theme which is light or the toolbar background in the Outline view

    image

    • Mis-aligned icons, the center of multiple icons is different, for example the center of the "Run external tool" button icon is higher than the "Run button". Put a lineal on the toolbar bottom or top to see what I mean

    image

    None of the above is related to this change but I wanted to mention it, now that more people work on the theming.

    I merge the changes so that we can polish these changes with the help of more eyes (and also to get the promised Linux change cc @thomasritter)

    For reference on my styling background I introduced the dark theme in Eclipse and updated the Windows theme to be less Win95 (removed the gradients) among other changes in the CSS. I also introduced the pseudo-class support for preference styling to help @BeckerWdf with his initial dark theme of the ABAP tooling.

  8. humphreygao commented on Jul 20, 2024

    @humphreygao
  9. vogella commented on Jul 20, 2024

    @vogella
    Contributor

    #2112 and #2103 merged

  10. vogella commented on Jul 20, 2024

    @vogella
    Contributor

    make sash width = 0?

    Can you test and create before and after screenshot with new Eclipse? Your closing X for the view proves that you are using a super old version. IIRC the sash zero did not make a difference in past.

  11. vogella commented on Jul 20, 2024

    @vogella
    Contributor
  12. PyvesB commented on Jul 20, 2024

    @PyvesB
    Contributor

    Can you test and create before and after screenshot with new Eclipse?

    You'll need to pull and rebase my proposed change to do so: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/170913

  13. HannesWell commented on Jul 21, 2024

    @HannesWell
    Member

    Thank you @thomasritter for this enhancements, in general I like it. I tried tonight's I-build on my Windows computer and found the following cases that don't look nice after the update:

    • Breadcrumb
      grafik
    • EGit Staging View
      grafik

    In both cases it looks like the background of 'flat' buttons (haven't checked what they are exactly) don't fits to the overall background color anymore. Maybe this is because some assumptions about the background were made that are not true anymore or maybe something is missing in the updated theming. I also noticed that the Commit-Header in the History view (green box) is now in a light gray, while before it was the same white as the git-diff shown below (in my screenshot that part is empty since no file is selected for a better contrast). But with files being selected and after one gets used to it, that looks actually fine.

  14. Wittmaxi commented on Jul 22, 2024

    @Wittmaxi

    grafik
    As a small nitpick: the gutter line should be completely dark and not have this lighter border to the left of the numbers (or at least, there should be more padding to the left of the numbers, which is probably a bigger change)

    Great job guys, I really enjoy this new dark mode!!! :)

  15. 58 remaining items

  16. danthe1st commented on Oct 4, 2024

    @danthe1st
    Contributor

    I saw #2112, so I thought it got into 4.33, but the dark theme is unchanged there.

    Thanks for the link!

    It seems like these changes have been reverted in #2206 and according to the commit message, it seems like they might come back in 2024-12.

  17. PyvesB commented on Oct 4, 2024

    @PyvesB
    Contributor

    Hi all,
    Have a few suggestions
    1. Icons design can be modernized.
    image
    image
    Some of the icons look bit outdated compared to other IDEs, how about we redesign some icons and also maintain same color or less vibrant colors similar to others.
    2. Background color change is happening at an instant whenever we hover on tabs
    image
    Hovering color change happens at an instant, if we smoothen ( include transition duration ) it would can give a smoother user experience
    3. Slight decrease in border size
    image
    border sizes between view components can be adjusted down a bit.

    about 3: Tried but failed

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=562536

    I wouldn't say "failed", there is a functional patch with no known defects available, and the performance concern was never validated in practice. If someone was up for it, they could rebase it and tie the revised code only to the new preview theme. This would allow to gather more evidence on any hypothetical performance issues or defects, without imposing risks on all users.

  18. HannesWell commented on Oct 4, 2024

    @HannesWell
    Member
    • Breadcrumb

    @HannesWell: This should be fixed in the meantime.

    • EGit Staging View

    In both cases it looks like the background of 'flat' buttons (haven't checked what they are exactly) don't fits to the overall background color anymore.

    I don't see this with the today's version of the "Light (Preview)" theme. @HannesWell: Can you confirm that this is fixed?

    Yes that's fixed now.

    On first sight I just wondered if the breadcrumb should have a different background color than the editor, but actually it's clear that it's not part of the text to edit, so it also fine. Thank you for fixing that
    grafik

    I saw #2112, so I thought it got into 4.33, but the dark theme is unchanged there.
    Thanks for the link!

    It seems like these changes have been reverted in #2206 and according to the commit message, it seems like they might come back in 2024-12.

    Exactly. We had the impression it was not yet fully ready for prime-time for the September release. But the plan is to have it ready for the December release. See also #2114 (comment).

  19. rico-ding commented on Nov 13, 2024

    @rico-ding

    Let's hope, that flat design is not outdated soon. The current flat design "period" somehow started 2012 with Windows 8 and Android 4 and now it looks like Microsoft is planning to introduce something called "fluent design": https://microsoft.design/articles/embracing-vibrant-universality-in-fluent-illustrations/

    The flat, vectorized style that was once hugely popular across the industry now feels emotionless, and potentially evokes ideas and themes that were misaligned with our company values.

  20. HannesWell commented on Nov 14, 2024

    @HannesWell
    Member

    Let's hope, that flat design is not outdated soon. The current flat design "period" somehow started 2012 with Windows 8 and Android 4 and now it looks like Microsoft is planning to introduce something called "fluent design": https://microsoft.design/articles/embracing-vibrant-universality-in-fluent-illustrations/

    The flat, vectorized style that was once hugely popular across the industry now feels emotionless, and potentially evokes ideas and themes that were misaligned with our company values.

    Thanks for the heads-up, that's interesting. But I have the impression that this looks somehow similar to the 3D icons from 20years ago, just in higher resolution and with more details. Probably fashion just repeats itself even in IT.

  21. vogella commented on Dec 10, 2024

    @vogella
    Contributor

    @mvm-sap @thomasritter @BeckerWdf can you add the final merge of the dark theme and light theme to the N&N 4.35? https://github.com/eclipse-platform/www.eclipse.org-eclipse

  22. lathapatil commented on Apr 10, 2025

    @lathapatil
    Contributor

    make sash width = 0? see https://bugs.eclipse.org/bugs/show_bug.cgi?id=562536 attachment.jpg

    I see VS Code have 0 sash width

    Image
    and highlights on hover
    Image

  23. nlisker commented on Apr 18, 2025

    @nlisker

    make sash width = 0? see https://bugs.eclipse.org/bugs/show_bug.cgi?id=562536 attachment.jpg

    I see VS Code have 0 sash width

    Image and highlights on hover Image

    See the comment above: #2114 (comment), and the extracted issue #2590.

  24. BeckerWdf commented on Jun 18, 2025

    @BeckerWdf
    Member

    I consider this as fixed. So closing this umbrella issue.

  25. unpinned this issue on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions