Skip to content

In library, provide an OUDS tint color API #1370

@pylapp

Description

@pylapp

Description

Suggested by @fsuc, OUDS does not provide a method to define the tint color, but only:

  • oudsAccentColor
  • oudsForegroundColor
  • oudsForegroundStyle
  • oudsBackground

Because SwiftUI accent color will be deprecated, and the tint color is exposedn, we should align the OUDS API.

Steps

  • In View+Color.swift file, add a new method called tintColor with a MultipleColorSemanticToken parameter
  • It will apply a ColorSchemeBasedTintColor ViewModifier using a color scheme
  • Which will change the tint color
  • Do not forget to update the CHANGELOG, the documentation and the AGENTS.md file

Metadata

Metadata

Assignees

Labels

#️⃣ REX and feebacksAfterr discussions with returns of experiences and feedbacks from users🤩 show in next demoIssue can be shown / demonstrated during next sprint demo🧑‍💻 Developer eXperienceRelated to improvements of developer experience thanks to feedbacks)🧰 library

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions