Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3792

Hardcoded colors for "Remove Surrounding Code" action

    XMLWordPrintableJSON

Details

    Description

      The RemoveSurroundingCode action contains hardcoded colors here:
      https://github.com/apache/netbeans/blob/accdbada0a9c5105bd3f06e435024230c1618316/java/java.editor/src/org/netbeans/modules/java/editor/codegen/RemoveSurroundingCodeAction.java#L215

      The choosen colors look too bright on dark themes. The colors should be taken from the LAF's defaults or better exposed in the editor color profile and made customizable.

      Attachments

        1. remove-surrounding-on-darktheme.png
          16 kB
          Alessandro Falappa

        Issue Links

          Activity

            People

              Unassigned Unassigned
              AlexFalappa Alessandro Falappa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m