Skip to content

Commit

Permalink
Add missing card description token (#130)
Browse files Browse the repository at this point in the history
* Add missing description token for card

* Up package version
  • Loading branch information
ethanWallace authored Jun 27, 2023
1 parent cbae78a commit 7c62730
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 9 deletions.
6 changes: 6 additions & 0 deletions build/figma/figma.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,12 @@
"value": "#333333",
"type": "color"
},
"description": {
"maxWidth": {
"value": "65ch",
"type": "sizing"
}
},
"focus": {
"background": {
"value": "#0535d2",
Expand Down
3 changes: 2 additions & 1 deletion build/web/css/.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 12:36:45 GMT
* Generated on Tue, 27 Jun 2023 18:11:06 GMT
*/

:root {
Expand Down Expand Up @@ -204,6 +204,7 @@
--gcds-card-background-color: #ffffff;
--gcds-card-border: 0.0625rem solid #7d828b;
--gcds-card-color: #333333;
--gcds-card-description-max-width: 65ch;
--gcds-card-focus-background: #0535d2;
--gcds-card-focus-color: #ffffff;
--gcds-card-focus-border-radius: 0.1875rem;
Expand Down
3 changes: 2 additions & 1 deletion build/web/css/components.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 12:36:45 GMT
* Generated on Tue, 27 Jun 2023 18:11:06 GMT
*/

:root {
Expand Down Expand Up @@ -93,6 +93,7 @@
--gcds-card-background-color: #ffffff;
--gcds-card-border: 0.0625rem solid #7d828b;
--gcds-card-color: #333333;
--gcds-card-description-max-width: 65ch;
--gcds-card-focus-background: #0535d2;
--gcds-card-focus-color: #ffffff;
--gcds-card-focus-border-radius: 0.1875rem;
Expand Down
3 changes: 2 additions & 1 deletion build/web/css/components/card.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 12:36:45 GMT
* Generated on Tue, 27 Jun 2023 18:11:06 GMT
*/

:root {
--gcds-card-background-color: #ffffff;
--gcds-card-border: 0.0625rem solid #7d828b;
--gcds-card-color: #333333;
--gcds-card-description-max-width: 65ch;
--gcds-card-focus-background: #0535d2;
--gcds-card-focus-color: #ffffff;
--gcds-card-focus-border-radius: 0.1875rem;
Expand Down
3 changes: 2 additions & 1 deletion build/web/css/tokens.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 12:36:45 GMT
* Generated on Tue, 27 Jun 2023 18:11:06 GMT
*/

:root {
Expand Down Expand Up @@ -204,6 +204,7 @@
--gcds-card-background-color: #ffffff;
--gcds-card-border: 0.0625rem solid #7d828b;
--gcds-card-color: #333333;
--gcds-card-description-max-width: 65ch;
--gcds-card-focus-background: #0535d2;
--gcds-card-focus-color: #ffffff;
--gcds-card-focus-border-radius: 0.1875rem;
Expand Down
3 changes: 2 additions & 1 deletion build/web/scss/.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 23 Jun 2023 12:36:45 GMT
// Generated on Tue, 27 Jun 2023 18:11:06 GMT

$gcds-color-blue-100: #d7e5f5;
$gcds-color-blue-500: #6584a6; // Must contrast 3:1 with white
Expand Down Expand Up @@ -202,6 +202,7 @@ $gcds-button-width: fit-content;
$gcds-card-background-color: #ffffff;
$gcds-card-border: 0.0625rem solid #7d828b;
$gcds-card-color: #333333;
$gcds-card-description-max-width: 65ch;
$gcds-card-focus-background: #0535d2;
$gcds-card-focus-color: #ffffff;
$gcds-card-focus-border-radius: 0.1875rem;
Expand Down
3 changes: 2 additions & 1 deletion build/web/scss/components.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 23 Jun 2023 12:36:45 GMT
// Generated on Tue, 27 Jun 2023 18:11:06 GMT

$gcds-alert-border-width: 0.375rem;
$gcds-alert-button-border-radius: 0.375rem;
Expand Down Expand Up @@ -91,6 +91,7 @@ $gcds-button-width: fit-content;
$gcds-card-background-color: #ffffff;
$gcds-card-border: 0.0625rem solid #7d828b;
$gcds-card-color: #333333;
$gcds-card-description-max-width: 65ch;
$gcds-card-focus-background: #0535d2;
$gcds-card-focus-color: #ffffff;
$gcds-card-focus-border-radius: 0.1875rem;
Expand Down
3 changes: 2 additions & 1 deletion build/web/scss/components/card.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

// Do not edit directly
// Generated on Fri, 23 Jun 2023 12:36:45 GMT
// Generated on Tue, 27 Jun 2023 18:11:06 GMT

$gcds-card-background-color: #ffffff;
$gcds-card-border: 0.0625rem solid #7d828b;
$gcds-card-color: #333333;
$gcds-card-description-max-width: 65ch;
$gcds-card-focus-background: #0535d2;
$gcds-card-focus-color: #ffffff;
$gcds-card-focus-border-radius: 0.1875rem;
Expand Down
3 changes: 2 additions & 1 deletion build/web/scss/tokens.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Fri, 23 Jun 2023 12:36:45 GMT
// Generated on Tue, 27 Jun 2023 18:11:06 GMT

$gcds-color-blue-100: #d7e5f5;
$gcds-color-blue-500: #6584a6; // Must contrast 3:1 with white
Expand Down Expand Up @@ -202,6 +202,7 @@ $gcds-button-width: fit-content;
$gcds-card-background-color: #ffffff;
$gcds-card-border: 0.0625rem solid #7d828b;
$gcds-card-color: #333333;
$gcds-card-description-max-width: 65ch;
$gcds-card-focus-background: #0535d2;
$gcds-card-focus-color: #ffffff;
$gcds-card-focus-border-radius: 0.1875rem;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cdssnc/gcds-tokens",
"version": "1.3.0",
"version": "1.3.1",
"author": "Government of Canada | Gouvernement du Canada",
"description": "GC Design System Tokens",
"homepage": "https://design-system.alpha.canada.ca/",
Expand Down
6 changes: 6 additions & 0 deletions tokens/components/card/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"value": "{text.primary.value}",
"type": "color"
},
"description": {
"maxWidth": {
"value": "65ch",
"type": "sizing"
}
},
"focus": {
"background": {
"value": "{focus.background.value}",
Expand Down

0 comments on commit 7c62730

Please sign in to comment.