Skip to content

Commit 71ff8b4

Browse files
authored
Merge pull request #280 from bcgov/feature/tokens-v2.0.1
Design Tokens v2.0.1 - update surface.primary.default
2 parents 4c3ed56 + 6b00564 commit 71ff8b4

File tree

15 files changed

+415
-94
lines changed

15 files changed

+415
-94
lines changed

packages/design-tokens/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 2.0.1
4+
5+
### Changed
6+
7+
- Updated `surface.primary.default` to `#053662`
8+
39
## 2.0.0
410

511
### Changed

packages/design-tokens/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Questions? Please email the <a href="mailto:DesignSystem@gov.bc.ca">GDX OSS Desi
1414

1515
## Steps to publish tokens
1616

17-
1. Merge new token data into the JSON file `input/tokens.json`.
17+
1. Update token data in the JSON file `input/tokens.json`.
1818
2. Run `npm run build` to run Style Dictionary, transforming the raw JSON data into usable token formats.
1919
3. Run `npm run prepare-npm-package` to copy the contents of `build` into `dist`.
2020
4. Run `npm run publish-npm-package` to publish to `npm`.

packages/design-tokens/build/css-prefixed/variables.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 22 Nov 2023 20:31:26 GMT
3+
* Generated on Wed, 10 Jan 2024 17:50:02 GMT
44
*/
55

66
:root {
@@ -15,7 +15,7 @@
1515
--bcds-surface-opacity-80: 0.8;
1616
--bcds-surface-opacity-90: 0.9;
1717
--bcds-surface-opacity-100: 1;
18-
--bcds-surface-primary-default: #013366;
18+
--bcds-surface-primary-default: #053662;
1919
--bcds-surface-primary-hover: #1E5189;
2020
--bcds-surface-primary-disabled: #edebe9;
2121
--bcds-surface-primary-active: #2E5DD7;

packages/design-tokens/build/css/variables.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 22 Nov 2023 20:31:25 GMT
3+
* Generated on Wed, 10 Jan 2024 17:50:02 GMT
44
*/
55

66
:root {
@@ -15,7 +15,7 @@
1515
--surface-opacity-80: 0.8;
1616
--surface-opacity-90: 0.9;
1717
--surface-opacity-100: 1;
18-
--surface-primary-default: #013366;
18+
--surface-primary-default: #053662;
1919
--surface-primary-hover: #1E5189;
2020
--surface-primary-disabled: #edebe9;
2121
--surface-primary-active: #2E5DD7;

packages/design-tokens/build/js-prefixed/variables.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 22 Nov 2023 20:31:26 GMT
3+
* Generated on Wed, 10 Jan 2024 17:50:02 GMT
44
*/
55

66
export const bcdsSurfaceOpacity0 = 0;
@@ -14,7 +14,7 @@ export const bcdsSurfaceOpacity70 = 0.7;
1414
export const bcdsSurfaceOpacity80 = 0.8;
1515
export const bcdsSurfaceOpacity90 = 0.9;
1616
export const bcdsSurfaceOpacity100 = 1;
17-
export const bcdsSurfacePrimaryDefault = "#013366";
17+
export const bcdsSurfacePrimaryDefault = "#053662";
1818
export const bcdsSurfacePrimaryHover = "#1E5189";
1919
export const bcdsSurfacePrimaryDisabled = "#edebe9";
2020
export const bcdsSurfacePrimaryActive = "#2E5DD7";

packages/design-tokens/build/js/variables.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 22 Nov 2023 20:31:26 GMT
3+
* Generated on Wed, 10 Jan 2024 17:50:02 GMT
44
*/
55

66
export const surfaceOpacity0 = 0;
@@ -14,7 +14,7 @@ export const surfaceOpacity70 = 0.7;
1414
export const surfaceOpacity80 = 0.8;
1515
export const surfaceOpacity90 = 0.9;
1616
export const surfaceOpacity100 = 1;
17-
export const surfacePrimaryDefault = "#013366";
17+
export const surfacePrimaryDefault = "#053662";
1818
export const surfacePrimaryHover = "#1E5189";
1919
export const surfacePrimaryDisabled = "#edebe9";
2020
export const surfacePrimaryActive = "#2E5DD7";

packages/design-tokens/dist/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# @bcgov/design-tokens
22

3-
This package is being used to test publishing design tokens from Figma to npm.
3+
This package is used to export and publish design tokens from Figma to npm for the BC Design System.
44

5-
Questions? Please email the <a href="mailto:corporatewebdesign@gov.bc.ca">GDX OSS Design Team</a>.
5+
Questions? Please email the <a href="mailto:DesignSystem@gov.bc.ca">GDX OSS Design Team</a>.
66

77
See main repository: https://github.com/bcgov/design-system
88

packages/design-tokens/dist/css-prefixed/variables.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 22 Nov 2023 20:31:26 GMT
3+
* Generated on Wed, 10 Jan 2024 17:50:02 GMT
44
*/
55

66
:root {
@@ -15,7 +15,7 @@
1515
--bcds-surface-opacity-80: 0.8;
1616
--bcds-surface-opacity-90: 0.9;
1717
--bcds-surface-opacity-100: 1;
18-
--bcds-surface-primary-default: #013366;
18+
--bcds-surface-primary-default: #053662;
1919
--bcds-surface-primary-hover: #1E5189;
2020
--bcds-surface-primary-disabled: #edebe9;
2121
--bcds-surface-primary-active: #2E5DD7;

packages/design-tokens/dist/css/variables.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 22 Nov 2023 20:31:25 GMT
3+
* Generated on Wed, 10 Jan 2024 17:50:02 GMT
44
*/
55

66
:root {
@@ -15,7 +15,7 @@
1515
--surface-opacity-80: 0.8;
1616
--surface-opacity-90: 0.9;
1717
--surface-opacity-100: 1;
18-
--surface-primary-default: #013366;
18+
--surface-primary-default: #053662;
1919
--surface-primary-hover: #1E5189;
2020
--surface-primary-disabled: #edebe9;
2121
--surface-primary-active: #2E5DD7;

packages/design-tokens/dist/js-prefixed/variables.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Wed, 22 Nov 2023 20:31:26 GMT
3+
* Generated on Wed, 10 Jan 2024 17:50:02 GMT
44
*/
55

66
export const bcdsSurfaceOpacity0 = 0;
@@ -14,7 +14,7 @@ export const bcdsSurfaceOpacity70 = 0.7;
1414
export const bcdsSurfaceOpacity80 = 0.8;
1515
export const bcdsSurfaceOpacity90 = 0.9;
1616
export const bcdsSurfaceOpacity100 = 1;
17-
export const bcdsSurfacePrimaryDefault = "#013366";
17+
export const bcdsSurfacePrimaryDefault = "#053662";
1818
export const bcdsSurfacePrimaryHover = "#1E5189";
1919
export const bcdsSurfacePrimaryDisabled = "#edebe9";
2020
export const bcdsSurfacePrimaryActive = "#2E5DD7";

0 commit comments

Comments
 (0)