Skip to content

Commit 1cdec4c

Browse files
committed
Update dist variables and pakcage.json version
1 parent 0017186 commit 1cdec4c

File tree

6 files changed

+50
-22
lines changed

6 files changed

+50
-22
lines changed

packages/design-tokens/dist/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This package is being used to test publishing design tokens from Figma to npm.
44

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

7-
See main repository: https://github.com/bcgov/design-tokens
7+
See main repository: https://github.com/bcgov/design-system
88

99
To use, install this package (`npm i @bcgov/design-tokens`) and import the design tokens for your platform. Reference the design tokens according to your platform's needs.
1010

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

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Thu, 02 Nov 2023 21:18:42 GMT
3+
* Generated on Wed, 22 Nov 2023 20:31:26 GMT
44
*/
55

66
:root {
@@ -30,6 +30,7 @@
3030
--bcds-surface-danger-default: #ce3e39;
3131
--bcds-surface-danger-hover: #a2312d;
3232
--bcds-surface-danger-active: #2E5DD7;
33+
--bcds-surface-danger-disabled: #edebe9;
3334
--bcds-surface-background-white: #ffffff;
3435
--bcds-surface-background-light: #faf9f8;
3536
--bcds-surface-border-light: #d8d8d8;
@@ -88,6 +89,16 @@
8889
--bcds-surface-shadow-small: 0 0.6000000238418579px 1.7999999523162842px 0 #0000001a, 0 3.200000047683716px 7.199999809265137px 0 #00000021; /* Primarily used as a hover effect for cards */
8990
--bcds-surface-shadow-medium: 0 1.2000000476837158px 3.5999999046325684px 0 #0000001a, 0 6.400000095367432px 14.399999618530273px 0 #00000021; /* Primarily used for dropdown menus and tooltips */
9091
--bcds-surface-shadow-large: 0 4.800000190734863px 14.399999618530273px 0 #0000002e, 0 25.600000381469727px 57.599998474121094px 0 #00000038; /* Primarily used for dialogs */
92+
--bcds-surface-border-radius-none: 0;
93+
--bcds-surface-border-radius-small: 2px;
94+
--bcds-surface-border-radius-medium: 4px;
95+
--bcds-surface-border-radius-large: 6px;
96+
--bcds-surface-border-width-none: 0;
97+
--bcds-surface-border-width-small: 1px;
98+
--bcds-surface-border-width-medium: 2px;
99+
--bcds-surface-border-width-large: 4px;
100+
--bcds-surface-size-small: 0px 8px;
101+
--bcds-surface-size-medium: 6px 16px;
91102
--bcds-support-support-surface-color-info: #f7f9fc;
92103
--bcds-support-support-surface-color-danger: #f4e1e2;
93104
--bcds-support-support-surface-color-success: #f6fff8;
@@ -130,10 +141,6 @@
130141
--bcds-layout-margin-xxlarge: 40px;
131142
--bcds-layout-margin-xxxlarge: 48px;
132143
--bcds-layout-margin-huge: 56px;
133-
--bcds-layout-border-radius-none: 0;
134-
--bcds-layout-border-radius-small: 2px;
135-
--bcds-layout-border-radius-medium: 4px;
136-
--bcds-layout-border-radius-large: 6px;
137144
--bcds-typography-font-families-bc-sans: 'BC Sans';
138145
--bcds-typography-line-heights-xxdense: 1.313rem;
139146
--bcds-typography-line-heights-xdense: 1.688rem;

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

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Thu, 02 Nov 2023 21:18:42 GMT
3+
* Generated on Wed, 22 Nov 2023 20:31:25 GMT
44
*/
55

66
:root {
@@ -30,6 +30,7 @@
3030
--surface-danger-default: #ce3e39;
3131
--surface-danger-hover: #a2312d;
3232
--surface-danger-active: #2E5DD7;
33+
--surface-danger-disabled: #edebe9;
3334
--surface-background-white: #ffffff;
3435
--surface-background-light: #faf9f8;
3536
--surface-border-light: #d8d8d8;
@@ -88,6 +89,16 @@
8889
--surface-shadow-small: 0 0.6000000238418579px 1.7999999523162842px 0 #0000001a, 0 3.200000047683716px 7.199999809265137px 0 #00000021; /* Primarily used as a hover effect for cards */
8990
--surface-shadow-medium: 0 1.2000000476837158px 3.5999999046325684px 0 #0000001a, 0 6.400000095367432px 14.399999618530273px 0 #00000021; /* Primarily used for dropdown menus and tooltips */
9091
--surface-shadow-large: 0 4.800000190734863px 14.399999618530273px 0 #0000002e, 0 25.600000381469727px 57.599998474121094px 0 #00000038; /* Primarily used for dialogs */
92+
--surface-border-radius-none: 0;
93+
--surface-border-radius-small: 2px;
94+
--surface-border-radius-medium: 4px;
95+
--surface-border-radius-large: 6px;
96+
--surface-border-width-none: 0;
97+
--surface-border-width-small: 1px;
98+
--surface-border-width-medium: 2px;
99+
--surface-border-width-large: 4px;
100+
--surface-size-small: 0px 8px;
101+
--surface-size-medium: 6px 16px;
91102
--support-support-surface-color-info: #f7f9fc;
92103
--support-support-surface-color-danger: #f4e1e2;
93104
--support-support-surface-color-success: #f6fff8;
@@ -130,10 +141,6 @@
130141
--layout-margin-xxlarge: 40px;
131142
--layout-margin-xxxlarge: 48px;
132143
--layout-margin-huge: 56px;
133-
--layout-border-radius-none: 0;
134-
--layout-border-radius-small: 2px;
135-
--layout-border-radius-medium: 4px;
136-
--layout-border-radius-large: 6px;
137144
--typography-font-families-bc-sans: 'BC Sans';
138145
--typography-line-heights-xxdense: 1.313rem;
139146
--typography-line-heights-xdense: 1.688rem;

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

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Thu, 02 Nov 2023 21:18:42 GMT
3+
* Generated on Wed, 22 Nov 2023 20:31:26 GMT
44
*/
55

66
export const bcdsSurfaceOpacity0 = 0;
@@ -29,6 +29,7 @@ export const bcdsSurfaceTertiaryActive = "#2E5DD7";
2929
export const bcdsSurfaceDangerDefault = "#ce3e39";
3030
export const bcdsSurfaceDangerHover = "#a2312d";
3131
export const bcdsSurfaceDangerActive = "#2E5DD7";
32+
export const bcdsSurfaceDangerDisabled = "#edebe9";
3233
export const bcdsSurfaceBackgroundWhite = "#ffffff";
3334
export const bcdsSurfaceBackgroundLight = "#faf9f8";
3435
export const bcdsSurfaceBorderLight = "#d8d8d8";
@@ -87,6 +88,16 @@ export const bcdsSurfaceShadowNone = "0 0.30000001192092896px 0.8999999761581421
8788
export const bcdsSurfaceShadowSmall = "0 0.6000000238418579px 1.7999999523162842px 0 #0000001a, 0 3.200000047683716px 7.199999809265137px 0 #00000021"; // Primarily used as a hover effect for cards
8889
export const bcdsSurfaceShadowMedium = "0 1.2000000476837158px 3.5999999046325684px 0 #0000001a, 0 6.400000095367432px 14.399999618530273px 0 #00000021"; // Primarily used for dropdown menus and tooltips
8990
export const bcdsSurfaceShadowLarge = "0 4.800000190734863px 14.399999618530273px 0 #0000002e, 0 25.600000381469727px 57.599998474121094px 0 #00000038"; // Primarily used for dialogs
91+
export const bcdsSurfaceBorderRadiusNone = "0";
92+
export const bcdsSurfaceBorderRadiusSmall = "2px";
93+
export const bcdsSurfaceBorderRadiusMedium = "4px";
94+
export const bcdsSurfaceBorderRadiusLarge = "6px";
95+
export const bcdsSurfaceBorderWidthNone = "0";
96+
export const bcdsSurfaceBorderWidthSmall = "1px";
97+
export const bcdsSurfaceBorderWidthMedium = "2px";
98+
export const bcdsSurfaceBorderWidthLarge = "4px";
99+
export const bcdsSurfaceSizeSmall = "0px 8px";
100+
export const bcdsSurfaceSizeMedium = "6px 16px";
90101
export const bcdsSupportSupportSurfaceColorInfo = "#f7f9fc";
91102
export const bcdsSupportSupportSurfaceColorDanger = "#f4e1e2";
92103
export const bcdsSupportSupportSurfaceColorSuccess = "#f6fff8";
@@ -129,10 +140,6 @@ export const bcdsLayoutMarginXlarge = "32px";
129140
export const bcdsLayoutMarginXxlarge = "40px";
130141
export const bcdsLayoutMarginXxxlarge = "48px";
131142
export const bcdsLayoutMarginHuge = "56px";
132-
export const bcdsLayoutBorderRadiusNone = "0";
133-
export const bcdsLayoutBorderRadiusSmall = "2px";
134-
export const bcdsLayoutBorderRadiusMedium = "4px";
135-
export const bcdsLayoutBorderRadiusLarge = "6px";
136143
export const bcdsTypographyFontFamiliesBcSans = "'BC Sans'";
137144
export const bcdsTypographyLineHeightsXxdense = "1.313rem";
138145
export const bcdsTypographyLineHeightsXdense = "1.688rem";

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

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Do not edit directly
3-
* Generated on Thu, 02 Nov 2023 21:18:42 GMT
3+
* Generated on Wed, 22 Nov 2023 20:31:26 GMT
44
*/
55

66
export const surfaceOpacity0 = 0;
@@ -29,6 +29,7 @@ export const surfaceTertiaryActive = "#2E5DD7";
2929
export const surfaceDangerDefault = "#ce3e39";
3030
export const surfaceDangerHover = "#a2312d";
3131
export const surfaceDangerActive = "#2E5DD7";
32+
export const surfaceDangerDisabled = "#edebe9";
3233
export const surfaceBackgroundWhite = "#ffffff";
3334
export const surfaceBackgroundLight = "#faf9f8";
3435
export const surfaceBorderLight = "#d8d8d8";
@@ -87,6 +88,16 @@ export const surfaceShadowNone = "0 0.30000001192092896px 0.8999999761581421px 0
8788
export const surfaceShadowSmall = "0 0.6000000238418579px 1.7999999523162842px 0 #0000001a, 0 3.200000047683716px 7.199999809265137px 0 #00000021"; // Primarily used as a hover effect for cards
8889
export const surfaceShadowMedium = "0 1.2000000476837158px 3.5999999046325684px 0 #0000001a, 0 6.400000095367432px 14.399999618530273px 0 #00000021"; // Primarily used for dropdown menus and tooltips
8990
export const surfaceShadowLarge = "0 4.800000190734863px 14.399999618530273px 0 #0000002e, 0 25.600000381469727px 57.599998474121094px 0 #00000038"; // Primarily used for dialogs
91+
export const surfaceBorderRadiusNone = "0";
92+
export const surfaceBorderRadiusSmall = "2px";
93+
export const surfaceBorderRadiusMedium = "4px";
94+
export const surfaceBorderRadiusLarge = "6px";
95+
export const surfaceBorderWidthNone = "0";
96+
export const surfaceBorderWidthSmall = "1px";
97+
export const surfaceBorderWidthMedium = "2px";
98+
export const surfaceBorderWidthLarge = "4px";
99+
export const surfaceSizeSmall = "0px 8px";
100+
export const surfaceSizeMedium = "6px 16px";
90101
export const supportSupportSurfaceColorInfo = "#f7f9fc";
91102
export const supportSupportSurfaceColorDanger = "#f4e1e2";
92103
export const supportSupportSurfaceColorSuccess = "#f6fff8";
@@ -129,10 +140,6 @@ export const layoutMarginXlarge = "32px";
129140
export const layoutMarginXxlarge = "40px";
130141
export const layoutMarginXxxlarge = "48px";
131142
export const layoutMarginHuge = "56px";
132-
export const layoutBorderRadiusNone = "0";
133-
export const layoutBorderRadiusSmall = "2px";
134-
export const layoutBorderRadiusMedium = "4px";
135-
export const layoutBorderRadiusLarge = "6px";
136143
export const typographyFontFamiliesBcSans = "'BC Sans'";
137144
export const typographyLineHeightsXxdense = "1.313rem";
138145
export const typographyLineHeightsXdense = "1.688rem";

packages/design-tokens/dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bcgov/design-tokens",
3-
"version": "1.0.0",
3+
"version": "2.0.0",
44
"description": "Design tokens for BC Design System",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)