Skip to content

Commit

Permalink
remove: Remove search component tokens (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanWallace authored Jan 30, 2025
1 parent 5e624d1 commit 8c3d4d1
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 95 deletions.
30 changes: 0 additions & 30 deletions build/figma/figma.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -4177,10 +4177,6 @@
"value": "#D6D9DD",
"type": "color"
},
"radius": {
"value": "0.375rem 0 0 0.375rem",
"type": "borderRadius"
},
"width": {
"value": "0.0625rem",
"type": "borderWidth"
Expand All @@ -4204,10 +4200,6 @@
},
"focus": {
"border": {
"radius": {
"value": "0.125rem",
"type": "borderRadius"
},
"color": {
"value": "#0535d2",
"type": "color"
Expand All @@ -4227,24 +4219,6 @@
},
"type": "typography"
},
"fontDesktop": {
"value": {
"fontFamily": "'Noto Sans', sans-serif",
"fontWeight": "400",
"lineHeight": "160%",
"fontSize": "1.25rem"
},
"type": "typography"
},
"fontMobile": {
"value": {
"fontFamily": "'Noto Sans', sans-serif",
"fontWeight": "400",
"lineHeight": "160%",
"fontSize": "1.125rem"
},
"type": "typography"
},
"margin": {
"value": "0 0 0.125rem",
"type": "spacing"
Expand All @@ -4253,10 +4227,6 @@
"value": "2.75rem",
"type": "sizing"
},
"minWidthAndHeight": {
"value": "3rem",
"type": "sizing"
},
"outline": {
"width": {
"value": "0.25rem",
Expand Down
5 changes: 0 additions & 5 deletions build/web/css/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -626,20 +626,15 @@
--gcds-radio-max-width: 46.5rem;
--gcds-radio-padding: 0.5rem;
--gcds-search-border-color: #d6d9dd;
--gcds-search-border-radius: 0.375rem 0 0 0.375rem; /* Will be removed in separate pull request */
--gcds-search-border-width: 0.0625rem;
--gcds-search-button-padding: 0.125rem;
--gcds-search-default-background: #ffffff;
--gcds-search-default-text: #333333;
--gcds-search-focus-border-radius: 0.125rem; /* Will be removed in separate pull request */
--gcds-search-focus-border-color: #0535d2;
--gcds-search-focus-box-shadow: 0 0 0 0.125rem #ffffff;
--gcds-search-font: 400 1rem/150% 'Noto Sans', sans-serif; /* Mandatory elements alignment: sub-components of header use 16px font */
--gcds-search-font-desktop: 400 1.25rem/160% 'Noto Sans', sans-serif; /* Will be removed in separate pull request */
--gcds-search-font-mobile: 400 1.125rem/160% 'Noto Sans', sans-serif; /* Will be removed in separate pull request */
--gcds-search-margin: 0 0 0.125rem;
--gcds-search-max-height: 2.75rem;
--gcds-search-min-width-and-height: 3rem; /* Will be removed in separate pull request */
--gcds-search-outline-width: 0.25rem;
--gcds-search-padding: 0.375rem 0 0.375rem 0.75rem;
--gcds-select-arrow-position-x: calc(100% - 0.75rem);
Expand Down
5 changes: 0 additions & 5 deletions build/web/css/components/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,15 @@

:root {
--gcds-search-border-color: #d6d9dd;
--gcds-search-border-radius: 0.375rem 0 0 0.375rem; /* Will be removed in separate pull request */
--gcds-search-border-width: 0.0625rem;
--gcds-search-button-padding: 0.125rem;
--gcds-search-default-background: #ffffff;
--gcds-search-default-text: #333333;
--gcds-search-focus-border-radius: 0.125rem; /* Will be removed in separate pull request */
--gcds-search-focus-border-color: #0535d2;
--gcds-search-focus-box-shadow: 0 0 0 0.125rem #ffffff;
--gcds-search-font: 400 1rem/150% 'Noto Sans', sans-serif; /* Mandatory elements alignment: sub-components of header use 16px font */
--gcds-search-font-desktop: 400 1.25rem/160% 'Noto Sans', sans-serif; /* Will be removed in separate pull request */
--gcds-search-font-mobile: 400 1.125rem/160% 'Noto Sans', sans-serif; /* Will be removed in separate pull request */
--gcds-search-margin: 0 0 0.125rem;
--gcds-search-max-height: 2.75rem;
--gcds-search-min-width-and-height: 3rem; /* Will be removed in separate pull request */
--gcds-search-outline-width: 0.25rem;
--gcds-search-padding: 0.375rem 0 0.375rem 0.75rem;
}
5 changes: 0 additions & 5 deletions build/web/css/tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -786,20 +786,15 @@
--gcds-radio-max-width: 46.5rem;
--gcds-radio-padding: 0.5rem;
--gcds-search-border-color: #d6d9dd;
--gcds-search-border-radius: 0.375rem 0 0 0.375rem; /* Will be removed in separate pull request */
--gcds-search-border-width: 0.0625rem;
--gcds-search-button-padding: 0.125rem;
--gcds-search-default-background: #ffffff;
--gcds-search-default-text: #333333;
--gcds-search-focus-border-radius: 0.125rem; /* Will be removed in separate pull request */
--gcds-search-focus-border-color: #0535d2;
--gcds-search-focus-box-shadow: 0 0 0 0.125rem #ffffff;
--gcds-search-font: 400 1rem/150% 'Noto Sans', sans-serif; /* Mandatory elements alignment: sub-components of header use 16px font */
--gcds-search-font-desktop: 400 1.25rem/160% 'Noto Sans', sans-serif; /* Will be removed in separate pull request */
--gcds-search-font-mobile: 400 1.125rem/160% 'Noto Sans', sans-serif; /* Will be removed in separate pull request */
--gcds-search-margin: 0 0 0.125rem;
--gcds-search-max-height: 2.75rem;
--gcds-search-min-width-and-height: 3rem; /* Will be removed in separate pull request */
--gcds-search-outline-width: 0.25rem;
--gcds-search-padding: 0.375rem 0 0.375rem 0.75rem;
--gcds-select-arrow-position-x: calc(100% - 0.75rem);
Expand Down
5 changes: 0 additions & 5 deletions build/web/scss/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -624,20 +624,15 @@ $gcds-radio-margin: 0 0 1.125rem;
$gcds-radio-max-width: 46.5rem;
$gcds-radio-padding: 0.5rem;
$gcds-search-border-color: #d6d9dd;
$gcds-search-border-radius: 0.375rem 0 0 0.375rem; // Will be removed in separate pull request
$gcds-search-border-width: 0.0625rem;
$gcds-search-button-padding: 0.125rem;
$gcds-search-default-background: #ffffff;
$gcds-search-default-text: #333333;
$gcds-search-focus-border-radius: 0.125rem; // Will be removed in separate pull request
$gcds-search-focus-border-color: #0535d2;
$gcds-search-focus-box-shadow: 0 0 0 0.125rem #ffffff;
$gcds-search-font: 400 1rem/150% 'Noto Sans', sans-serif; // Mandatory elements alignment: sub-components of header use 16px font
$gcds-search-font-desktop: 400 1.25rem/160% 'Noto Sans', sans-serif; // Will be removed in separate pull request
$gcds-search-font-mobile: 400 1.125rem/160% 'Noto Sans', sans-serif; // Will be removed in separate pull request
$gcds-search-margin: 0 0 0.125rem;
$gcds-search-max-height: 2.75rem;
$gcds-search-min-width-and-height: 3rem; // Will be removed in separate pull request
$gcds-search-outline-width: 0.25rem;
$gcds-search-padding: 0.375rem 0 0.375rem 0.75rem;
$gcds-select-arrow-position-x: calc(100% - 0.75rem);
Expand Down
5 changes: 0 additions & 5 deletions build/web/scss/components/search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,14 @@
// Do not edit directly, this file was auto-generated.

$gcds-search-border-color: #d6d9dd;
$gcds-search-border-radius: 0.375rem 0 0 0.375rem; // Will be removed in separate pull request
$gcds-search-border-width: 0.0625rem;
$gcds-search-button-padding: 0.125rem;
$gcds-search-default-background: #ffffff;
$gcds-search-default-text: #333333;
$gcds-search-focus-border-radius: 0.125rem; // Will be removed in separate pull request
$gcds-search-focus-border-color: #0535d2;
$gcds-search-focus-box-shadow: 0 0 0 0.125rem #ffffff;
$gcds-search-font: 400 1rem/150% 'Noto Sans', sans-serif; // Mandatory elements alignment: sub-components of header use 16px font
$gcds-search-font-desktop: 400 1.25rem/160% 'Noto Sans', sans-serif; // Will be removed in separate pull request
$gcds-search-font-mobile: 400 1.125rem/160% 'Noto Sans', sans-serif; // Will be removed in separate pull request
$gcds-search-margin: 0 0 0.125rem;
$gcds-search-max-height: 2.75rem;
$gcds-search-min-width-and-height: 3rem; // Will be removed in separate pull request
$gcds-search-outline-width: 0.25rem;
$gcds-search-padding: 0.375rem 0 0.375rem 0.75rem;
5 changes: 0 additions & 5 deletions build/web/scss/tokens.scss
Original file line number Diff line number Diff line change
Expand Up @@ -784,20 +784,15 @@ $gcds-radio-margin: 0 0 1.125rem;
$gcds-radio-max-width: 46.5rem;
$gcds-radio-padding: 0.5rem;
$gcds-search-border-color: #d6d9dd;
$gcds-search-border-radius: 0.375rem 0 0 0.375rem; // Will be removed in separate pull request
$gcds-search-border-width: 0.0625rem;
$gcds-search-button-padding: 0.125rem;
$gcds-search-default-background: #ffffff;
$gcds-search-default-text: #333333;
$gcds-search-focus-border-radius: 0.125rem; // Will be removed in separate pull request
$gcds-search-focus-border-color: #0535d2;
$gcds-search-focus-box-shadow: 0 0 0 0.125rem #ffffff;
$gcds-search-font: 400 1rem/150% 'Noto Sans', sans-serif; // Mandatory elements alignment: sub-components of header use 16px font
$gcds-search-font-desktop: 400 1.25rem/160% 'Noto Sans', sans-serif; // Will be removed in separate pull request
$gcds-search-font-mobile: 400 1.125rem/160% 'Noto Sans', sans-serif; // Will be removed in separate pull request
$gcds-search-margin: 0 0 0.125rem;
$gcds-search-max-height: 2.75rem;
$gcds-search-min-width-and-height: 3rem; // Will be removed in separate pull request
$gcds-search-outline-width: 0.25rem;
$gcds-search-padding: 0.375rem 0 0.375rem 0.75rem;
$gcds-select-arrow-position-x: calc(100% - 0.75rem);
Expand Down
35 changes: 0 additions & 35 deletions tokens/components/search/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
"value": "{color.grayscale.100.value}",
"type": "color"
},
"radius": {
"value": "{border.radius.md.value} 0 0 {border.radius.md.value}",
"type": "borderRadius",
"comment": "Will be removed in separate pull request"
},
"width": {
"value": "{border.width.sm.value}",
"type": "borderWidth"
Expand All @@ -33,11 +28,6 @@
},
"focus": {
"border": {
"radius": {
"value": "{border.radius.sm.value}",
"type": "borderRadius",
"comment": "Will be removed in separate pull request"
},
"color": {
"value": "{focus.border.value}",
"type": "color"
Expand All @@ -58,26 +48,6 @@
"type": "typography",
"comment": "Mandatory elements alignment: sub-components of header use 16px font"
},
"fontDesktop": {
"value": {
"fontFamily": "{fontFamilies.body}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.text}",
"fontSize": "{fontSizes.text}"
},
"type": "typography",
"comment": "Will be removed in separate pull request"
},
"fontMobile": {
"value": {
"fontFamily": "{fontFamilies.body}",
"fontWeight": "{fontWeights.regular}",
"lineHeight": "{lineHeights.text}",
"fontSize": "{fontSizes.textMobile}"
},
"type": "typography",
"comment": "Will be removed in separate pull request"
},
"margin": {
"value": "0 0 {spacing.25.value}",
"type": "spacing"
Expand All @@ -86,11 +56,6 @@
"value": "{spacing.550.value}",
"type": "sizing"
},
"minWidthAndHeight": {
"value": "{spacing.600.value}",
"type": "sizing",
"comment": "Will be removed in separate pull request"
},
"outline": {
"width": {
"value": "{outline.width.value}",
Expand Down

0 comments on commit 8c3d4d1

Please sign in to comment.