<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/WidgetRenderingMode/accented",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit0A13RenderingModeV8accentedACvpZ"
  },
  "title" : "accented"
}
-->

# accented

The system divides the widget’s view hierarchy into an accent group and
a default group, applying a different color to each group.

```
static let accented: WidgetRenderingMode
```

## Discussion

In watchOS, the system displays accented widget-based complications on
many watch faces. For example, when the user selects a color, the
Infograph watch face uses white for the default group, and the
user-selected color for the accent. However, these colors can change
from face to face. In the X-Large watch face, the system applies the
selected color to the default group, and colors the accent group white.
Other faces use system-defined colors for both groups; for example, the
Solar Dial face defines both an accent and a default color, and changes
these colors based on the time of day.

When applying the colors, the system treats the widget’s views as if
they were template images. It replaces the view’s color — rendering
the new colors while preserving the view’s alpha channel.

To control your view’s appearance, add the
<doc://com.apple.documentation/documentation/SwiftUI/View/widgetAccentable(_:)>
modifier to part of your view’s hierarchy. The system adds that view and
all of its subviews to the accent group. It puts all other views in the
default group.

```swift
var body: some View {
    VStack {
        Text("MON")
            .font(.caption)
            .widgetAccentable()
        Text("6")
            .font(.title)
        }
    }
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)