Skip to content

Commit

Permalink
fix(Tag): change foreground and background colors according to specs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaranaz committed Oct 6, 2023
1 parent 7054e3d commit c4651d0
Show file tree
Hide file tree
Showing 23 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Sources/Mistica/Components/Tag/TagViewStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extension TagViewStyle {
case .active:
return .brandLow
case .inactive:
return .neutralLow
return .divider
case .success:
return .successLow
case .warning:
Expand Down
10 changes: 5 additions & 5 deletions Sources/MisticaSwiftUI/Components/Tag/Tag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public struct Tag: View {
case .active:
return .brandLow
case .inactive:
return .neutralLow
return .divider
case .warning:
return .warningLow
case .error:
Expand All @@ -96,17 +96,17 @@ public struct Tag: View {
private var foregroundColor: Color {
switch style {
case .promo:
return .promo
return .promoHigh
case .success:
return .success
return .successHigh
case .active:
return .brand
case .inactive:
return .neutralMedium
case .warning:
return .warning
return .warningHigh
case .error:
return .error
return .errorHigh
}
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c4651d0

Please sign in to comment.