title: Xcode style toolbar SwiftUI for macOS
body: <p>I am contributing to a project called CodeEdit, which is looking to make a code editor with a design similar to Xcode. In dark mode, I can't get the toolbar color to be the same as the toolbar in Xcode dark mode, it is always black in dark mode. The video below shows what is happening. All code is in <a href="https://github.com/highjeans/CodeEdit" rel="nofollow noreferrer">https://github.com/highjeans/CodeEdit</a>. I looked at <a href="https://stackoverflow.com/questions/70161675/customizing-the-macos-toolbar-with-swift-ui">Customizing the macOS toolbar with Swift UI</a> but that is not what I need. I also looked at <a href="https://stackoverflow.com/questions/65454903/swiftui-macos-xcode-style-toolbar">SwiftUI macOS Xcode Style Toolbar</a> but that is more for something similar to Notes not Xcode.</p>
  <p><a href="https://drive.google.com/file/d/185LQCeiVwSub8GIj19f6svUTHa7hsBCL/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/185LQCeiVwSub8GIj19f6svUTHa7hsBCL/view?usp=sharing</a></p>
  <p>Edit: I got the color to work, I don't know how to change the white background under the Tab Bar: <a href="https://i.stack.imgur.com/s8K5d.png" rel="nofollow noreferrer">Picture of sort of working toolbar color</a></p>