• Login
Community
  • Login

Use dark mode with a custom theme

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
9 Posts 3 Posters 2.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    RARgames
    last edited by Jul 21, 2022, 7:32 PM

    Hey,

    I wanted to use dark mode with a custom theme.

    I like the toolbars etc. going dark, but I’m not a big fan of the tabs and the writing area.
    If possible, I would use parts of the other theme for that.

    I tried replacing stylers.xml in my config files with themes/DarkModeDefault.xml, but it does not come with dark toolbars. I’m not sure why is that. Probably, Dark Mode needs to be enabled, but if I enable it, I cannot use my custom theme.

    Also, is there any page that provides info about theme creation?

    Thanks for help!

    A P 3 Replies Last reply Jul 21, 2022, 7:38 PM Reply Quote 0
    • R
      RARgames
      last edited by Jul 21, 2022, 7:38 PM

      Nevermind, I didn’t realize that after switching to dark mode, the theme is automatically changed to DarkModeDefault, and if I switch it back to my theme, everything works perfectly.

      1 Reply Last reply Reply Quote 2
      • A
        Alan Kilborn @RARgames
        last edited by Alan Kilborn Jul 21, 2022, 7:40 PM Jul 21, 2022, 7:38 PM

        @RARgames said in Use dark mode with a custom theme:

        I like the toolbars etc. going dark, but I’m not a big fan of the tabs and the writing area.
        If possible, I would use parts of the other theme for that.

        Isn’t that mostly what happens if you enable Dark Mode and then choose a theme?

        I’m not a big fan of dark mode or non-default themes, but if I turn on Dark mode and then choose e.g. the Hello Kitty theme, the “writing area” turns hot pink, while most of the rest of the UI stays “dark”.

        There has never been great control over the “tabs” coloring if I’m thinking along the same lines as you as to what you mean by that, even before Dark Mode came along.

        R 1 Reply Last reply Jul 21, 2022, 7:40 PM Reply Quote 2
        • P
          PeterJones @RARgames
          last edited by PeterJones Jul 21, 2022, 7:39 PM Jul 21, 2022, 7:39 PM

          @RARgames ,

          Dark Mode and Themes are (mostly) independent.

          • Dark Mode affects the GUI (menus, toolbars, dialog boxes).
          • Themes affect the text of the editor panel.

          I said “mostly” earlier because when you first switch to Dark Mode, Dark Mode will automatically pick the DarkModeDefault theme… this is probably what is making you think that Dark Mode forces the DarkModeDefault theme. However, after you have switched, you can choose any of the themes you want, and Notepad++ will continue to use that theme with no problem.

          … but while I was typing this up, I see that you figured that latter part out.

          1 Reply Last reply Reply Quote 3
          • R
            RARgames @Alan Kilborn
            last edited by RARgames Jul 21, 2022, 7:42 PM Jul 21, 2022, 7:40 PM

            I like a slightly different dark tint.

            Yeah, that is what I was looking for. Unfortunalty, I didn’t notice the switch of the current theme after enabling dark mode for 30m :(

            Thanks @Alan-Kilborn and @PeterJones

            A 1 Reply Last reply Jul 21, 2022, 7:43 PM Reply Quote 1
            • P
              PeterJones @RARgames
              last edited by Jul 21, 2022, 7:42 PM

              @RARgames said in Use dark mode with a custom theme:

              any page that provides info about theme creation

              The Style Configurator (the GUI dialog that allows you to edit themes) is described at npp-user-manual.org . As are the Dark Mode settings , including the Tones.

              1 Reply Last reply Reply Quote 1
              • A
                Alan Kilborn @RARgames
                last edited by Jul 21, 2022, 7:43 PM

                @RARgames said in Use dark mode with a custom theme:

                I like a slightly different dark tint.

                Perhaps the “tones” gives you this?:

                1907aaa4-cb98-4735-bb0d-739f59d4566a-image.png

                R 1 Reply Last reply Jul 21, 2022, 7:50 PM Reply Quote 1
                • R
                  RARgames @Alan Kilborn
                  last edited by RARgames Jul 21, 2022, 7:52 PM Jul 21, 2022, 7:50 PM

                  @Alan-Kilborn

                  Not really, I was trying to use it, but it doesn’t give enough “freedom”.

                  I’m used to some random dark theme that I downloaded like 5+ years ago (but the white toolbar was getting on my nerves).

                  Personally, the main issue that I have with the default dark mode is that selected line and not selected text colors seem to be inverted:
                  2bc90447-0eac-4797-9cd5-3d385ee4ea7b-image.png

                  A 1 Reply Last reply Jul 21, 2022, 7:57 PM Reply Quote 0
                  • A
                    Alan Kilborn @RARgames
                    last edited by Alan Kilborn Jul 21, 2022, 7:58 PM Jul 21, 2022, 7:57 PM

                    @RARgames said in Use dark mode with a custom theme:

                    Personally, the main issue that I have with the default dark mode is that selected line and not selected text colors seem to be inverted

                    I suppose that was a design choice by the dark-mode author, no right and no wrong – if you don’t like it, feel free to swap them. (I think I would if I made the move to the “dark side”)

                    @RARgames said in Use dark mode with a custom theme:

                    Not really, I was trying to use it, but it doesn’t give enough “freedom”.
                    I’m used to some random dark theme that I downloaded like 5+ years ago

                    I often find new features the time to try to get used to something new; usually it works out well. Just a suggestion.

                    1 Reply Last reply Reply Quote 1
                    5 out of 9
                    • First post
                      5/9
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors