Skip to content

Commit

Permalink
[NO JIRA]: Updating foundations to the latest (#2154)
Browse files Browse the repository at this point in the history
  • Loading branch information
olliecurtis authored Jan 28, 2025
1 parent 7d55e84 commit f87cbb7
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public extension BPKColor {

/// The `surfaceLowContrastColor` dynamic color from the Backpack palette.

static let surfaceLowContrastColor = BPKColor(red: 0.937, green: 0.953, blue: 0.973, alpha: 1)
static let surfaceLowContrastColor = BPKColor(red: 0.969, green: 0.976, blue: 0.984, alpha: 1)
.darkVariant(BPKColor(red: 0.141, green: 0.200, blue: 0.275, alpha: 1))

/// The `surfaceSubtleColor` dynamic color from the Backpack palette.
Expand Down
2 changes: 1 addition & 1 deletion Backpack/Color/Classes/Generated/BPKColor.h
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* The `surfaceLowContrastColor` dynamic color from the Backpack palette.
*
* <div style="width: 100px; height: 100px; background-color: #eff3f8ff; background: linear-gradient(0.375turn, #eff3f8ff 49%, #243346ff 50%); box-shadow: 0px 1px 3px 0px rgba(37,32,31,.3); border-radius: 6px;"></div>
* <div style="width: 100px; height: 100px; background-color: #f7f9fbff; background: linear-gradient(0.375turn, #f7f9fbff 49%, #243346ff 50%); box-shadow: 0px 1px 3px 0px rgba(37,32,31,.3); border-radius: 6px;"></div>
*/
@property(nonatomic, class, readonly) UIColor * surfaceLowContrastColor;

Expand Down
2 changes: 1 addition & 1 deletion Backpack/Color/Classes/Generated/BPKColor.m
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ + (UIColor *)surfaceElevatedColor {
}

+ (UIColor *)surfaceLowContrastColor {
return [[self class] dynamicColorWithLightVariant:[UIColor colorWithRed:0.937 green:0.953 blue:0.973 alpha:1]
return [[self class] dynamicColorWithLightVariant:[UIColor colorWithRed:0.969 green:0.976 blue:0.984 alpha:1]
darkVariant:[UIColor colorWithRed:0.141 green:0.200 blue:0.275 alpha:1]];
}

Expand Down
2 changes: 1 addition & 1 deletion Backpack/Color/Classes/Generated/UIColor+Backpack.h
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* The `surfaceLowContrastColor` dynamic color from the Backpack palette.
*
* <div style="width: 100px; height: 100px; background-color: #eff3f8ff; background: linear-gradient(0.375turn, #eff3f8ff 49%, #243346ff 50%); box-shadow: 0px 1px 3px 0px rgba(37,32,31,.3); border-radius: 6px;"></div>
* <div style="width: 100px; height: 100px; background-color: #f7f9fbff; background: linear-gradient(0.375turn, #f7f9fbff 49%, #243346ff 50%); box-shadow: 0px 1px 3px 0px rgba(37,32,31,.3); border-radius: 6px;"></div>
*/
@property(nonatomic, class, readonly) UIColor * bpk_surfaceLowContrastColor;

Expand Down
28 changes: 18 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@skyscanner/bpk-foundations-ios": "^6.12.0",
"@skyscanner/bpk-foundations-ios": "^6.14.0",
"@skyscanner/bpk-svgs": "^20.0.0",
"@babel/eslint-parser": "^7.22.9",
"danger": "^12.0.1",
Expand Down

0 comments on commit f87cbb7

Please sign in to comment.