Skip to content
Open
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ public enum PillBadgeStyle {
/// A danger style with red colors.
case danger

/// An info style with blue colors.
case info

/// A success style with green colors.
case success

Expand All @@ -20,6 +23,8 @@ public enum PillBadgeStyle {
switch self {
case .danger:
SharedAsset.Colors.badgeDangerBackground.swiftUIColor
case .info:
SharedAsset.Colors.badgeInfoBackground.swiftUIColor
case .success:
SharedAsset.Colors.badgeSuccessBackground.swiftUIColor
case .warning:
Expand All @@ -32,6 +37,8 @@ public enum PillBadgeStyle {
switch self {
case .danger:
SharedAsset.Colors.badgeDangerBorder.swiftUIColor
case .info:
SharedAsset.Colors.badgeInfoBorder.swiftUIColor
case .success:
SharedAsset.Colors.badgeSuccessBorder.swiftUIColor
case .warning:
Expand All @@ -44,6 +51,8 @@ public enum PillBadgeStyle {
switch self {
case .danger:
SharedAsset.Colors.badgeDangerText.swiftUIColor
case .info:
SharedAsset.Colors.badgeInfoText.swiftUIColor
case .success:
SharedAsset.Colors.badgeSuccessText.swiftUIColor
case .warning:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"colors" : [
"colors": [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF2",
"green" : "0xF2",
"red" : "0xFE"
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0xF2",
"green": "0xF2",
"red": "0xFE"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Any idea why this format changed? Is this Xcode changing this?

@andrebispo5 andrebispo5 Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've normalized the spacing back to match the repo convention across all the affected files (danger + success) so the diff only shows the actual color value changes.

}
},
"idiom" : "universal"
"idiom": "universal"
},
{
"appearances" : [
"appearances": [
{
"appearance" : "luminosity",
"value" : "dark"
"appearance": "luminosity",
"value": "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF2",
"green" : "0xF2",
"red" : "0xFE"
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0x09",
"green": "0x08",
"red": "0x46"
}
},
"idiom" : "universal"
"idiom": "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
"info": {
"author": "xcode",
"version": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"colors" : [
"colors": [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xC9",
"green" : "0xC9",
"red" : "0xFF"
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0xC9",
"green": "0xC9",
"red": "0xFF"
}
},
"idiom" : "universal"
"idiom": "universal"
},
{
"appearances" : [
"appearances": [
{
"appearance" : "luminosity",
"value" : "dark"
"appearance": "luminosity",
"value": "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xC9",
"green" : "0xC9",
"red" : "0xFF"
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0x12",
"green": "0x07",
"red": "0x9F"
}
},
"idiom" : "universal"
"idiom": "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
"info": {
"author": "xcode",
"version": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"colors" : [
"colors": [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x2A",
"green" : "0x1B",
"red" : "0x95"
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0x2A",
"green": "0x1B",
"red": "0x95"
}
},
"idiom" : "universal"
"idiom": "universal"
},
{
"appearances" : [
"appearances": [
{
"appearance" : "luminosity",
"value" : "dark"
"appearance": "luminosity",
"value": "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x2A",
"green" : "0x1B",
"red" : "0x95"
"color": {
"color-space": "srgb",
"components": {
"alpha": "1.000",
"blue": "0xC9",
"green": "0xC9",
"red": "0xFF"
}
},
"idiom" : "universal"
"idiom": "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
"info": {
"author": "xcode",
"version": 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xFF",
"green" : "0xF6",
"red" : "0xEE"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0x55",
"green" : "0x24",
"red" : "0x16"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xFF",
"green" : "0xDB",
"red" : "0xBE"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xAC",
"green" : "0x41",
"red" : "0x1A"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xAC",
"green" : "0x41",
"red" : "0x1A"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0xF6",
"green" : "0xE5",
"red" : "0xDB"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Loading