Skip to content

Commit

Permalink
Merge pull request #2484 from LiskHQ/2471-update-fonts
Browse files Browse the repository at this point in the history
Update the fonts - Closes #2471
  • Loading branch information
slaweet committed Sep 26, 2019
2 parents 3b67833 + 2538f6c commit f310fe0
Show file tree
Hide file tree
Showing 22 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -18,3 +18,7 @@ reports
test/cypress/screenshots/
test/cypress/videos/
.history

## Commercial fonts
src/assets/fonts/basier-circle/*
src/assets/fonts/gilroy/*
6 changes: 6 additions & 0 deletions Jenkinsfile
Expand Up @@ -31,6 +31,12 @@ pipeline {
withCredentials([string(credentialsId: 'github-lisk-token', variable: 'GH_TOKEN')]) {
nvm(getNodejsVersion()) {
sh '''
if stat /home/lisk/fonts/basier-circle/* > /dev/null ; then
cp /home/lisk/fonts/basier-circle/* src/assets/fonts/basier-circle/
fi
if stat /home/lisk/fonts/gilroy/* > /dev/null ; then
cp /home/lisk/fonts/gilroy/* src/assets/fonts/gilroy/
fi
npm run --silent build
npm run --silent build:testnet
npm run --silent bundlesize
Expand Down
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -44,6 +44,11 @@ localStorage.setItem('hwWalletAutoLogin', true);
npm run build
```

#### Using Commercial Fonts
Since some of the fonts used in the production version are commercial, this repository only contains open source fonts and uses `Open Sans` as a replacement for the commercial ones.

If you have licensed copies of `Basier Circle` and `Gilroy`, you can add them to [fonts folder](./src/assets/fonts) to replace the empty files that are there so that webpack build doesn't fail if the fonts are not present.

## Electron

#### Start
Expand Down
Binary file modified src/assets/fonts/basier-circle/basiercircle-medium.otf
Binary file not shown.
Binary file modified src/assets/fonts/basier-circle/basiercircle-medium.woff
Binary file not shown.
Binary file modified src/assets/fonts/basier-circle/basiercircle-medium.woff2
Binary file not shown.
Binary file modified src/assets/fonts/basier-circle/basiercircle-regular.otf
Binary file not shown.
Binary file modified src/assets/fonts/basier-circle/basiercircle-regular.woff
Binary file not shown.
Binary file modified src/assets/fonts/basier-circle/basiercircle-regular.woff2
Binary file not shown.
Binary file modified src/assets/fonts/basier-circle/basiercircle-semibold.otf
Binary file not shown.
Binary file modified src/assets/fonts/basier-circle/basiercircle-semibold.woff
Binary file not shown.
Binary file modified src/assets/fonts/basier-circle/basiercircle-semibold.woff2
Binary file not shown.
Binary file removed src/assets/fonts/gilroy/gilroy-Medium.otf
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-bold.eot
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-bold.ttf
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-bold.woff
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-bold.woff2
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-extra-bold.eot
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-extra-bold.ttf
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-extra-bold.woff
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-extra-bold.woff2
Binary file not shown.
Binary file modified src/assets/fonts/gilroy/gilroy-medium.otf
Binary file not shown.

0 comments on commit f310fe0

Please sign in to comment.