Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1802

[macOS] Automatically use light icons if the dark mode is in use

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.3
    • Fix Version/s: 4.2.0
    • Component/s: GUI, OS Integration
    • Environment:
      macOS

      Description

      In recent macOS versions, there is a dark mode. We could detect it and automatically use the light icons at startup (if the user did not manually choose the icons set before).

      This code may be helpful:

      >>> from Foundation import NSUserDefaults
      >>> NSUserDefaults.standardUserDefaults().stringForKey_('AppleInterfaceStyle')
      'Dark'
      

        Attachments

          Activity

            People

            • 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 - 0 minutes
                0m
                Logged:
                Time Spent - 30 minutes
                30m