Skip to content

Improve Dark Mode #1969

Closed
Closed

Description

@userzzzq

The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first

Description

some UI still use white background, such as the Merge Files page, the scrollbar of "batch files" pannel (at left).
please improve the dark mode.

Activity

  1. mifi commented on Apr 18, 2024

    @mifi
    Owner

    related #733

  2. ac615223s5 commented on Apr 22, 2024

    @ac615223s5

    also an option to use the system theme

  3. Ige-fi commented on Apr 26, 2024

    @Ige-fi

    also an option to use the system theme

    Yeah, I would appreciate an option to synchronize the UI to the system theme. For reference, Electron's native-theme API should work fine for this and supports Linux/Windows/macOS.

  4. XCanG commented on May 14, 2024

    @XCanG

    @mifi I have a little suggestion: add style color-scheme

    You can use color-scheme: light dark; to support both themes, even right now it would improve scroll bars, an example if you add this to html element styles via devtools:

    • Default styles:
      2024-05-14_19-30-24_LosslessCut
    • With color-scheme and dark system theme:
      2024-05-14_19-30-51

    Another screen example:

    • Default:
      2024-05-14_19-31-15_LosslessCut
    • With:
      2024-05-14_19-31-41_LosslessCut

    Additionally there is light-dark() function that will allow you to style freely between both themes, like that:

    .selector {
        background-color: light-dark(var(--light-background), var(--dark-background));
        color: light-dark(var(--light-text), var(--dark-text));
    }

    Currently lossless-cut use Chrome version 118, so it is not supported.
    image

    But if you upgrade Electron with a Chrome version 123 or newer, you can easily use it.

  5. XCanG commented on May 14, 2024

    @XCanG

    Well, it is also possible to manually restyle scrollbars with CSS instead of relying on color-scheme like that (Chrome-only):

    *::-webkit-scrollbar {
    	width: 8px;
    	height: 8px;
    	background-color: transparent;
    }
    
    *::-webkit-scrollbar-thumb {
    	background-color: #8888;
    }
    
    *::-webkit-scrollbar:hover {
    	background-color: #8883;
    }
  6. mifi commented on May 27, 2024

    @mifi
    Owner

    I've now added color-scheme according to the user's dark/light setting in the app

  7. added a commit that references this issue on May 4, 2025
  8. mifi commented on Oct 18, 2026

    @mifi
    Owner

    dialogs should be properly dark now, and there's a new Settings → Theme → System default option to follow the OS. that one is only in the nightly builds for now https://mifi.no/llc/nightly/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions