Skip to content

Commit

Permalink
chore: #263 v5 Fix token file for font-weight variable values
Browse files Browse the repository at this point in the history
  • Loading branch information
ksolanki7 committed Jan 9, 2025
1 parent 5e0a20e commit 92a9cd7
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion src/components/avatar/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const ElAvatar = styled.span`
text-align: center;
font-family: var(--font-family);
font-style: normal;
font-weight: 600;
font-weight: var(--font-weight-semibold);
${baseColourDefaultStyle}
${baseCircleStyle}
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialog/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const ElDialogTitle = styled.h2`
font-family: var(--font-family, Inter);
font-size: var(--font-size-lg, 18px);
font-style: normal;
font-weight: 600;
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-lg, 24px);
letter-spacing: var(--letter-spacing-lg, -0.18px);
`
Expand Down
4 changes: 2 additions & 2 deletions src/components/menu/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const baseMenuItemStyles = `
gap: var(--spacing-4);
font-family: var(--font-family);
font-size: var(--font-size-sm);
font-weight: 400;
font-weight: var(--font-weight-regular);
line-height: var(--line-height-sm);
letter-spacing: var(--letter-spacing-sm);
color: var(--text-primary);
Expand Down Expand Up @@ -72,7 +72,7 @@ export const ElMenuItemGroupTitle = styled.div`
font-family: var(--font-family);
font-size: var(--font-size-2xs);
font-style: normal;
font-weight: 600;
font-weight: var(--font-weight-semibold);
line-height: var(--line-height-2xs);
letter-spacing: var(--letter-spacing-2xs);
color: var(--text-placeholder);
Expand Down
2 changes: 1 addition & 1 deletion src/components/nav-dropdown-button/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const ElNavDropdownButton = styled.button`
align-items: center;
font-family: var(--font-family);
font-size: var(--font-size-sm);
font-weight: 500;
font-weight: var(--font-weight-medium);
line-height: var(--line-height-sm);
letter-spacing: var(--letter-spacing-sm);
Expand Down
2 changes: 1 addition & 1 deletion src/components/nav-item/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const ElNavItemLabelContainer = styled.span`
font-family: var(--font-family);
font-size: var(--font-size-sm);
font-style: normal;
font-weight: 500;
font-weight: var(--font-weight-medium);
line-height: var(--line-height-sm);
letter-spacing: var(--letter-spacing-sm);
`
Expand Down
4 changes: 2 additions & 2 deletions src/components/nav-search-button/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const basePlaceholderStyle = `
export const ElNavSearchButtonPlaceholder = styled.span`
${basePlaceholderStyle}
font-size: var(--font-size-xs);
font-weight: 400;
font-weight: var(--font-weight-regular);
line-height: var(--line-height-xs);
letter-spacing: var(--letter-spacing-xs);
Expand All @@ -70,7 +70,7 @@ export const ElNavSearchButtonPlaceholder = styled.span`
export const ElNavSearchButtonShortcutText = styled.span`
${basePlaceholderStyle}
font-size: var(--font-size-2xs);
font-weight: 500;
font-weight: var(--font-weight-medium);
line-height: var(--line-height-2xs);
letter-spacing: var(--letter-spacing-2xs);
`
2 changes: 1 addition & 1 deletion src/components/table/table-toolbar/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const ElTableToolbar = styled.div`
export const ElTableToolbarDescription = styled.div`
font-family: var(--font-family);
font-size: var(--font-size-sm);
font-weight: 400;
font-weight: var(--font-weight-regular);
color: var(--text-colour-text-primary);
line-height: var(--line-height-sm);
letter-spacing: var(--letter-spacing-sm);
Expand Down
8 changes: 4 additions & 4 deletions src/tokens/payprop/tokens.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 16 Dec 2024 06:57:57 GMT
* Generated on Thu, 09 Jan 2025 07:23:22 GMT
*/

:root {
Expand Down Expand Up @@ -103,9 +103,9 @@
--plum-200: #d0a0da;
--plum-100: #e6d2f0;
--plum-050: #faf4ff;
--font-weight-regular: Regular;
--font-weight-medium: Medium;
--font-weight-semibold: Semi Bold;
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-family: Inter;
--unit-0: 0rem;
--unit-px: 0.0625rem;
Expand Down
8 changes: 4 additions & 4 deletions src/tokens/payprop/tokens.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 16 Dec 2024 06:57:57 GMT
* Generated on Thu, 09 Jan 2025 07:23:22 GMT
*/

export const neutral900 = '#222b33'
Expand Down Expand Up @@ -102,9 +102,9 @@ export const plum300 = '#bd78cc'
export const plum200 = '#d0a0da'
export const plum100 = '#e6d2f0'
export const plum050 = '#faf4ff'
export const fontWeightRegular = 'Regular'
export const fontWeightMedium = 'Medium'
export const fontWeightSemibold = 'Semi Bold'
export const fontWeightRegular = '400'
export const fontWeightMedium = '500'
export const fontWeightSemibold = '600'
export const fontFamily = 'Inter'
export const unit0 = '0rem'
export const unitPx = '0.0625rem'
Expand Down
8 changes: 4 additions & 4 deletions src/tokens/reapit/tokens.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 16 Dec 2024 06:57:57 GMT
* Generated on Thu, 09 Jan 2025 07:23:22 GMT
*/

:root {
Expand Down Expand Up @@ -103,9 +103,9 @@
--plum-200: #d0a0da;
--plum-100: #e6d2f0;
--plum-050: #faf4ff;
--font-weight-regular: Regular;
--font-weight-medium: Medium;
--font-weight-semibold: Semi Bold;
--font-weight-regular: 400;
--font-weight-medium: 500;
--font-weight-semibold: 600;
--font-family: Inter;
--unit-0: 0rem;
--unit-px: 0.0625rem;
Expand Down
8 changes: 4 additions & 4 deletions src/tokens/reapit/tokens.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Mon, 16 Dec 2024 06:57:57 GMT
* Generated on Thu, 09 Jan 2025 07:23:22 GMT
*/

export const neutral900 = '#222b33'
Expand Down Expand Up @@ -102,9 +102,9 @@ export const plum300 = '#bd78cc'
export const plum200 = '#d0a0da'
export const plum100 = '#e6d2f0'
export const plum050 = '#faf4ff'
export const fontWeightRegular = 'Regular'
export const fontWeightMedium = 'Medium'
export const fontWeightSemibold = 'Semi Bold'
export const fontWeightRegular = '400'
export const fontWeightMedium = '500'
export const fontWeightSemibold = '600'
export const fontFamily = 'Inter'
export const unit0 = '0rem'
export const unitPx = '0.0625rem'
Expand Down
6 changes: 3 additions & 3 deletions src/tokens/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1366,19 +1366,19 @@
"description": ""
},
"font-weight-regular": {
"value": "Regular",
"value": "400",
"type": "text",
"parent": "_Primitives/Value",
"description": ""
},
"font-weight-medium": {
"value": "Medium",
"value": "500",
"type": "text",
"parent": "_Primitives/Value",
"description": ""
},
"font-weight-semibold": {
"value": "Semi Bold",
"value": "600",
"type": "text",
"parent": "_Primitives/Value",
"description": ""
Expand Down

0 comments on commit 92a9cd7

Please sign in to comment.