Skip to content

Commit

Permalink
[NO JIRA]: Adding Grey 5 and updating surface token (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
olliecurtis authored Jan 28, 2025
1 parent eb20c43 commit 81ee4f7
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 20 deletions.
11 changes: 7 additions & 4 deletions packages/bpk-foundations-android/tokens/base.raw.android.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@
"ERFOUD": {
"value": "#FEEB87"
},
"GREY_05": {
"value": "#F7F9FB"
},
"NIGHT_GREEN_SPOT": {
"value": "#62F1C6"
},
Expand Down Expand Up @@ -2011,8 +2014,8 @@
"SURFACE_LOW_CONTRAST_DAY": {
"type": "color",
"category": "surface-colors",
"value": "#eff3f8ff",
"originalValue": "{!GREY_10}",
"value": "#f7f9fbff",
"originalValue": "{!GREY_05}",
"name": "SURFACE_LOW_CONTRAST_DAY"
},
"SURFACE_SUBTLE_DAY": {
Expand Down Expand Up @@ -3725,8 +3728,8 @@
"SURFACE_LOW_CONTRAST_COLOR": {
"type": "color",
"category": "surface-colors",
"value": "#eff3f8ff",
"originalValue": "{!GREY_10}",
"value": "#f7f9fbff",
"originalValue": "{!GREY_05}",
"name": "SURFACE_LOW_CONTRAST_COLOR",
"darkValue": "#243346ff",
"originalDarkValue": "{!NIGHT_GREY_25}"
Expand Down
1 change: 1 addition & 0 deletions packages/bpk-foundations-common/base/colors/aliases.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"BERRY": "#E70866",
"BERRY_75": "#C80456",
"PINK_MUTED": "#FFE9F9",
"GREY_05": "#F7F9FB",
"GREY_10": "#EFF3F8",
"GREY_20": "#E0E4E9",
"GREY_30": "#C1C7CF",
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-foundations-common/base/colors/surface.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"value": "{!NIGHT_GREY_10}"
},
"SURFACE_LOW_CONTRAST_DAY": {
"value": "{!GREY_10}"
"value": "{!GREY_05}"
},
"SURFACE_LOW_CONTRAST_NIGHT": {
"value": "{!NIGHT_GREY_25}"
Expand Down
8 changes: 4 additions & 4 deletions packages/bpk-foundations-ios/tokens/base.ios.json
Original file line number Diff line number Diff line change
Expand Up @@ -1574,8 +1574,8 @@
{
"type": "color",
"category": "surface-colors",
"value": "#eff3f8ff",
"originalValue": "{!GREY_10}",
"value": "#f7f9fbff",
"originalValue": "{!GREY_05}",
"name": "surfaceLowContrastDay"
},
{
Expand Down Expand Up @@ -3492,8 +3492,8 @@
{
"type": "color",
"category": "surface-colors",
"value": "#eff3f8ff",
"originalValue": "{!GREY_10}",
"value": "#f7f9fbff",
"originalValue": "{!GREY_05}",
"name": "surfaceLowContrastColor",
"darkValue": "#243346ff",
"originalDarkValue": "{!NIGHT_GREY_25}"
Expand Down
11 changes: 7 additions & 4 deletions packages/bpk-foundations-ios/tokens/base.raw.ios.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@
"ERFOUD": {
"value": "#FEEB87"
},
"GREY_05": {
"value": "#F7F9FB"
},
"NIGHT_GREEN_SPOT": {
"value": "#62F1C6"
},
Expand Down Expand Up @@ -2011,8 +2014,8 @@
"SURFACE_LOW_CONTRAST_DAY": {
"type": "color",
"category": "surface-colors",
"value": "#eff3f8ff",
"originalValue": "{!GREY_10}",
"value": "#f7f9fbff",
"originalValue": "{!GREY_05}",
"name": "SURFACE_LOW_CONTRAST_DAY"
},
"SURFACE_SUBTLE_DAY": {
Expand Down Expand Up @@ -3929,8 +3932,8 @@
"SURFACE_LOW_CONTRAST_COLOR": {
"type": "color",
"category": "surface-colors",
"value": "#eff3f8ff",
"originalValue": "{!GREY_10}",
"value": "#f7f9fbff",
"originalValue": "{!GREY_05}",
"name": "SURFACE_LOW_CONTRAST_COLOR",
"darkValue": "#243346ff",
"originalDarkValue": "{!NIGHT_GREY_25}"
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-foundations-web/tokens/base.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ module.exports = {
surfaceSubtleNight: "rgb(36, 51, 70)",
surfaceElevatedDay: "rgb(255, 255, 255)",
surfaceHighlightNight: "rgb(36, 51, 70)",
surfaceLowContrastDay: "rgb(239, 243, 248)",
surfaceLowContrastDay: "rgb(247, 249, 251)",
surfaceSubtleDay: "rgb(227, 240, 255)",
surfaceHighlightDay: "rgb(224, 228, 233)",
textOnDarkDay: "rgb(255, 255, 255)",
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-foundations-web/tokens/base.default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ $bpk-surface-elevated-day: rgb(255, 255, 255) !default;
/// @group surface-colors
$bpk-surface-highlight-night: rgb(36, 51, 70) !default;
/// @group surface-colors
$bpk-surface-low-contrast-day: rgb(239, 243, 248) !default;
$bpk-surface-low-contrast-day: rgb(247, 249, 251) !default;
/// @group surface-colors
$bpk-surface-subtle-day: rgb(227, 240, 255) !default;
/// @group surface-colors
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-foundations-web/tokens/base.es6.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export declare const surfaceLowContrastNight = "rgb(36, 51, 70)" as const;
export declare const surfaceSubtleNight = "rgb(36, 51, 70)" as const;
export declare const surfaceElevatedDay = "rgb(255, 255, 255)" as const;
export declare const surfaceHighlightNight = "rgb(36, 51, 70)" as const;
export declare const surfaceLowContrastDay = "rgb(239, 243, 248)" as const;
export declare const surfaceLowContrastDay = "rgb(247, 249, 251)" as const;
export declare const surfaceSubtleDay = "rgb(227, 240, 255)" as const;
export declare const surfaceHighlightDay = "rgb(224, 228, 233)" as const;
export declare const textOnDarkDay = "rgb(255, 255, 255)" as const;
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-foundations-web/tokens/base.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const surfaceLowContrastNight = "rgb(36, 51, 70)";
export const surfaceSubtleNight = "rgb(36, 51, 70)";
export const surfaceElevatedDay = "rgb(255, 255, 255)";
export const surfaceHighlightNight = "rgb(36, 51, 70)";
export const surfaceLowContrastDay = "rgb(239, 243, 248)";
export const surfaceLowContrastDay = "rgb(247, 249, 251)";
export const surfaceSubtleDay = "rgb(227, 240, 255)";
export const surfaceHighlightDay = "rgb(224, 228, 233)";
export const textOnDarkDay = "rgb(255, 255, 255)";
Expand Down
7 changes: 5 additions & 2 deletions packages/bpk-foundations-web/tokens/base.raw.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"ERFOUD": {
"value": "#ffb54d"
},
"GREY_05": {
"value": "#F7F9FB"
},
"NIGHT_GREEN_SPOT": {
"value": "#62F1C6"
},
Expand Down Expand Up @@ -1021,8 +1024,8 @@
"SURFACE_LOW_CONTRAST_DAY": {
"type": "color",
"category": "surface-colors",
"value": "rgb(239, 243, 248)",
"originalValue": "{!GREY_10}",
"value": "rgb(247, 249, 251)",
"originalValue": "{!GREY_05}",
"name": "SURFACE_LOW_CONTRAST_DAY"
},
"SURFACE_SUBTLE_DAY": {
Expand Down
2 changes: 1 addition & 1 deletion packages/bpk-foundations-web/tokens/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ $bpk-surface-elevated-day: rgb(255, 255, 255);
/// @group surface-colors
$bpk-surface-highlight-night: rgb(36, 51, 70);
/// @group surface-colors
$bpk-surface-low-contrast-day: rgb(239, 243, 248);
$bpk-surface-low-contrast-day: rgb(247, 249, 251);
/// @group surface-colors
$bpk-surface-subtle-day: rgb(227, 240, 255);
/// @group surface-colors
Expand Down

0 comments on commit 81ee4f7

Please sign in to comment.