title: Set Qml TabBar tab color?
body: <p>I tried this code to set TabBar tab background color but only selected tab color is changed. How can I set color for other tabs? Also, how can I set text color for tabs?</p>
  
  <pre><code>TabBar {
      id: tabBar
  
      currentIndex: swipeView.currentIndex
  
      background: Rectangle {
          color: "#f4d37c"
      }
  
      TabButton {
          id: cardsTabButton
          height: Style.line2Height
          text: qsTr("Cards")
      }
  
      TabButton {
          id: errorsTabButton
          height: Style.line2Height
          text: qsTr("Errors")
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/EBtTV.png" alt="Result of the code"> (left tab is selected)</p>