Skip to content

Commit

Permalink
[patch] add 600 weight lexend definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Jan 27, 2024
1 parent 59ac705 commit 3e0aed1
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 10 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toniq-labs/design-system-root",
"version": "16.1.0",
"version": "16.1.1",
"private": true,
"description": "Root design system mono-repo package.",
"homepage": "https://github.com/Toniq-Labs/toniq-labs-design-system",
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toniq-labs/design-system",
"version": "16.1.0",
"version": "16.1.1",
"private": false,
"description": "Design system elements for Toniq Labs",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/src/styles/fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const fontStylesFallbacks = {
'font-weight': css`400`,
},
boldFont: {
'font-weight': css`700`,
'font-weight': css`600`,
},
extraBoldFont: {
'font-weight': css`900`,
Expand Down
37 changes: 37 additions & 0 deletions packages/design-system/www-static/fonts/lexend-definitions.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,43 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
Bold
*/

/* vietnamese */
@font-face {
font-family: 'Lexend';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(./lexend-vietnamese.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0,
U+1EA0-1EF9, U+20AB;
}

/* latin-extended */
@font-face {
font-family: 'Lexend';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(./lexend-latin-extended.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113,
U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
font-family: 'Lexend';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(./lexend-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
Bold
*/

/* vietnamese */
@font-face {
font-family: 'Lexend';
Expand Down
2 changes: 1 addition & 1 deletion packages/native-elements-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toniq-labs/design-system-native-elements-test",
"version": "16.1.0",
"version": "16.1.1",
"private": true,
"scripts": {
"compile": "virmator compile",
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@toniq-labs/design-system-scripts",
"version": "16.1.0",
"version": "16.1.1",
"private": true,
"scripts": {
"compile": "virmator compile",
Expand Down

0 comments on commit 3e0aed1

Please sign in to comment.