Skip to content

Commit

Permalink
review: rename a semantic as color and remove unwnated catagories in …
Browse files Browse the repository at this point in the history
…changelog file
  • Loading branch information
ludovic35 committed Oct 7, 2024
1 parent 9e8b469 commit d8e74d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
7 changes: 1 addition & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://github.com/Orange-OpenSource/ouds-ios/compare/0.3.0...develop)

### Added
- [DemoApp] On opacity screen, add a border around the view showing the opacity ([#157](https://github.com/Orange-OpenSource/ouds-ios/issues/157))

### Changed

### Removed

### Fixed
- [DemoApp] On opacity screen, add a border around the view showing the opacity ([#157](https://github.com/Orange-OpenSource/ouds-ios/issues/157))

## [0.3.0](https://github.com/Orange-OpenSource/ouds-ios/compare/0.2.0...0.3.0) - 2024-10-04

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ struct BorderModifier: ViewModifier {
/// The radius of the border to apply
private let radius: BorderRadiusSemanticToken

/// The colors of the border
private let colorSementic: ColorSemanticToken
/// The colors token used to the border
private let color: ColorSemanticToken

/// Color to apply depending to the `colorScheme`
private var colorToApply: Color {
colorSementic.color(for: colorScheme)
color.color(for: colorScheme)
}

/// To know if the device is in light mode or in dark mode
Expand All @@ -49,7 +49,7 @@ struct BorderModifier: ViewModifier {
self.style = style
self.width = width
self.radius = radius
self.colorSementic = color
self.color = color
if style != "solid" && style != "dashed" && style != "dotted" {
OUDSLogger.error("Unmanaged style: '\(style)'!")
}
Expand Down

0 comments on commit d8e74d3

Please sign in to comment.