code: def load_stylesheet():
      
  
      # Smart import of the rc file
      f = QtCore.QFile(':qdarkgraystyle/style.qss')
      if not f.exists():
          _logger().error('Unable to load stylesheet, file not found in '
                          'resources')
          return ''
      else:
          f.open(QtCore.QFile.ReadOnly | QtCore.QFile.Text)
          ts = QtCore.QTextStream(f)
          stylesheet = ts.readAll()
          if platform.system().lower() == 'darwin':  # see issue #12 on github
              mac_fix = '''
              QDockWidget::title
              {
                  background-color: #31363b;
                  text-align: center;
                  height: 12px;
              }
              '''
              stylesheet += mac_fix
          return stylesheet
docs: Loads the stylesheet for use in a pyqt5 application.
      :return the stylesheet string