A checkbox that provides a global Dark Theme configuration.

        1. chrome_Dn1yvh9t3A.png
          chrome_Dn1yvh9t3A.png
          3 kB
        2. dark.png
          dark.png
          41 kB
        3. regex.png
          regex.png
          43 kB

          [JENKINS-61480] Dark Theme

          Gábor Tasnádi created issue -
          Gábor Tasnádi made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Hello guys!

          Could you give me advice in connection with the implementation?

          Gábor Tasnádi added a comment - Hello guys! Could you give me advice in connection with the implementation?
          Oleg Nenashev made changes -
          Labels Original: user-experience New: user-experience ux

          Oleg Nenashev added a comment -

          A simple way to do so is to create a new theme for https://plugins.jenkins.io/simple-theme-plugin/ so that others can enable it. But it would work for all users of a Jenkins instance at once. Right now Jenkins does not support user-selected themes, but technically it could be added.

           

          CC fqueiruga jhartley, might be a topic for UX SIG

           

          Oleg Nenashev added a comment - A simple way to do so is to create a new theme for  https://plugins.jenkins.io/simple-theme-plugin/  so that others can enable it. But it would work for all users of a Jenkins instance at once. Right now Jenkins does not support user-selected themes, but technically it could be added.   CC fqueiruga jhartley , might be a topic for UX SIG  

          Félix Queiruga Balado added a comment - - edited

          I think this is worth discussing at the next SIG meetings, as it can be a rather interesting project. It also would "double" our CSS and design work. tasigabi97 please feel free to come to the next SIG meeting, 16/03/2020 4PM UTC. More info here: https://jenkins.io/sigs/ux/

           

          Félix Queiruga Balado added a comment - - edited I think this is worth discussing at the next SIG meetings, as it can be a rather interesting project. It also would "double" our CSS and design work. tasigabi97 please feel free to come to the next SIG meeting, 16/03/2020 4PM UTC. More info here:  https://jenkins.io/sigs/ux/  
          Gábor Tasnádi made changes -
          Attachment New: dark.png [ 50878 ]
          Gábor Tasnádi made changes -
          Attachment New: dark.png [ 50879 ]
          Gábor Tasnádi made changes -
          Comment [ So I'm working it and thought it would be nice for it to be compatible with whoever wants his plugin to be compatible with it. I made a regex that can find css colors in a file and replace it with another color like this:

          !dark.png|width=604,height=450!

          How I imagined it would get all css files that being rendered on a page, search it in the static resources, make a copy with substituted colors and re-link them in the header. But now I got kinda stuck on how could it get all css links on a currently rendered page, first thought was I should get the StaplerResponse and crawl it from the html response, but it doesn't have a body. Any suggestions guys? [~oleg_nenashev],  [~fqueiruga]

          By the way, the current design looks like this
          !dark.png|width=981,height=484! ]
          Gábor Tasnádi made changes -
          Attachment New: regex.png [ 50880 ]

            oleg_nenashev Oleg Nenashev
            tasigabi97 Gábor Tasnádi
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: