Skip to content

Commit

Permalink
Update colours (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
robphoenix authored May 11, 2023
1 parent da401f9 commit a9acfd8
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .changeset/orange-news-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
'@utilitywarehouse/colour-system': patch
---

This change updates the colour scales.


## Dark mode

### New colours:

- `gold800`
- `green800`

## Light mode

### New colours:

- `gold600`
- `green600`

### Updated colours:

- `gold700`
48 changes: 46 additions & 2 deletions packages/colour-system/raw/colours.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,17 @@
"updated_at": "2023-04-27T17:38:49.801Z",
"value": "#ffd76f"
},
"gold800": {
"id": "395:1255",
"mode": "dark",
"scale": "gold",
"step": "800",
"name": "gold800",
"description": "",
"created_at": "2023-05-09T16:08:41.025Z",
"updated_at": "2023-05-09T16:08:41.025Z",
"value": "#ffe6a8"
},
"gold900": {
"id": "64:435",
"mode": "dark",
Expand Down Expand Up @@ -750,6 +761,17 @@
"updated_at": "2023-03-29T16:17:22.769Z",
"value": "#90dab2"
},
"green800": {
"id": "391:1242",
"mode": "dark",
"scale": "green",
"step": "800",
"name": "green800",
"description": "",
"created_at": "2023-05-09T12:58:22.194Z",
"updated_at": "2023-05-09T12:58:22.194Z",
"value": "#bae8cf"
},
"green900": {
"id": "34:925",
"mode": "dark",
Expand Down Expand Up @@ -1191,6 +1213,17 @@
"updated_at": "2023-04-27T17:38:49.830Z",
"value": "#c77800"
},
"gold600": {
"id": "392:1249",
"mode": "light",
"scale": "gold",
"step": "600",
"name": "gold600",
"description": "Use it for large text, borders, and graphic elements against white, Gold 50, Gold 100, Grey 25, Grey 50 and Grey 75. Use it as a background color with white large text (24px), borders, or icons.",
"created_at": "2023-05-09T13:25:07.328Z",
"updated_at": "2023-05-09T13:25:07.328Z",
"value": "#ac6406"
},
"gold700": {
"id": "64:427",
"mode": "light",
Expand All @@ -1199,8 +1232,8 @@
"name": "gold700",
"description": "Use it for foregrounds (Icon and text) and borders against white, Gold 50, Gold 100, and Gold 200. Use it for large text, icons and borders against white, Gold 50, Gold 100, Gold 200 and Gold 300 ",
"created_at": "2023-03-30T17:02:23.505Z",
"updated_at": "2023-03-30T17:02:23.505Z",
"value": "#925317"
"updated_at": "2023-05-09T13:25:07.340Z",
"value": "#894e16"
},
"gold900": {
"id": "64:428",
Expand Down Expand Up @@ -1819,6 +1852,17 @@
"updated_at": "2023-04-27T17:38:50.083Z",
"value": "#31a063"
},
"green600": {
"id": "391:1241",
"mode": "light",
"scale": "green",
"step": "600",
"name": "green600",
"description": "For text, icons and border against white, Green 50 and Green 100 For text, icons and border against white Green 50, Green 100 and Green 200, Grey 25, Grey 50 and Grey 100. For backgrounds with a white foreground. ",
"created_at": "2023-05-09T12:58:22.200Z",
"updated_at": "2023-05-09T12:58:22.200Z",
"value": "#297f50"
},
"green700": {
"id": "34:933",
"mode": "light",
Expand Down
2 changes: 2 additions & 0 deletions packages/colour-system/src/dark/gold.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ export const gold400 = '#cd7d04';
export const gold500 = '#f7b51d';
/** This is Brand Gold. For any foreground, it passes AA against Gold 50, Gold 100, Grey 50, Grey 75, Grey 100, Grey 150, Grey 200, Grey 300, and Grey 400. Use it for borders, icons, and large text against Gold 50, Gold 100, Gold 300, Grey 25, Grey 50, Grey 75, Grey 100, Grey 150, Grey 300, Grey 400, and Grey 500. */
export const gold700 = '#ffd76f';
/** */
export const gold800 = '#ffe6a8';
/** For any foreground, it passes AA against Gold 50, Gold 100, Gold 300, Grey 50, Grey 75, Grey 100, Grey 150, Grey 200, Grey 300, and Grey 400. */
export const gold900 = '#fff6e0';
2 changes: 2 additions & 0 deletions packages/colour-system/src/dark/green.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ export const green400 = '#34a868';
export const green500 = '#55ce8b';
/** For text and borders */
export const green700 = '#90dab2';
/** */
export const green800 = '#bae8cf';
/** For text */
export const green900 = '#e3faeb';
4 changes: 3 additions & 1 deletion packages/colour-system/src/light/gold.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ export const gold200 = '#ffe6a8';
export const gold300 = '#ffd76f';
/** Use it for large text, borders, and graphic elements against white, Gold 50, Grey 25, Grey 50 and Grey 75. Use it as a background color with white large text (24px), borders, or icons. */
export const gold500 = '#c77800';
/** Use it for large text, borders, and graphic elements against white, Gold 50, Gold 100, Grey 25, Grey 50 and Grey 75. Use it as a background color with white large text (24px), borders, or icons. */
export const gold600 = '#ac6406';
/** Use it for foregrounds (Icon and text) and borders against white, Gold 50, Gold 100, and Gold 200. Use it for large text, icons and borders against white, Gold 50, Gold 100, Gold 200 and Gold 300 */
export const gold700 = '#925317';
export const gold700 = '#894e16';
/** Use it for foregrounds (Icon and text) and borders against white, Gold 50, Gold 100, and Gold 200. Use it for large text, icons and borders against white, Gold 50, Gold 100, Gold 200, Gold 300 and Gold 500 */
export const gold900 = '#52210c';
2 changes: 2 additions & 0 deletions packages/colour-system/src/light/green.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export const green200 = '#bdead0';
export const green300 = '#a3e1bf';
/** Use it for borders, icons, and large text against white, Green 50, Grey 25, and Grey 50. Use it as a background color with white large text (24px), borders, or icons. */
export const green500 = '#31a063';
/** For text, icons and border against white, Green 50 and Green 100 For text, icons and border against white Green 50, Green 100 and Green 200, Grey 25, Grey 50 and Grey 100. For backgrounds with a white foreground. */
export const green600 = '#297f50';
/** For text, icons and border against white Green 50 and Green 100 For text, icons and border against white Green 50, Green 100 and Green 200, Grey 25, Grey 50 */
export const green700 = '#21693f';
/** For foreground against white, Green 50, Grey 50, Grey 100, Green 100, Green 200 and Green 300 For text, icons and border against Green 50, Green 100, Green 200 and Green 300 */
Expand Down

1 comment on commit a9acfd8

@vercel
Copy link

@vercel vercel bot commented on a9acfd8 May 11, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

web-ui – ./

uw-web-ui.vercel.app
web-ui-git-main-uwds.vercel.app
web-ui-uwds.vercel.app

Please sign in to comment.