Skip to content

Commit

Permalink
Fix font issues on Windows; manifest version parameterize
Browse files Browse the repository at this point in the history
  • Loading branch information
nxmad committed Aug 20, 2021
1 parent 24ba1bb commit b12ebb8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Liberton",
"description": "Liberton is free and safe non-custodial Free TON wallet.",
"author": "Alex Balatsky",
"version": "1.1.2",
"version": "%version%",
"icons": {
"16": "favicon/favicon-16x16.png",
"32": "favicon/favicon-32x32.png",
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": "liberton",
"version": "1.1.2",
"version": "1.1.3",
"description": "Liberton is free and safe non-custodial Free TON wallet.",
"scripts": {
"serve": "vite preview",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Liberton",
"description": "Liberton is free and safe non-custodial Free TON wallet.",
"author": "Alex Balatsky",
"version": "1.1.2",
"version": "1.1.3",
"icons": {
"16": "favicon/favicon-16x16.png",
"32": "favicon/favicon-32x32.png",
Expand Down
4 changes: 3 additions & 1 deletion src/assets/scss/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
}

html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
}

body {
Expand Down Expand Up @@ -46,8 +46,10 @@ main {

#app {
display: flex;
font-size: 1rem;
min-height: 100vh;
flex-direction: column;
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
}

.container {
Expand Down
4 changes: 3 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import path from 'path'
import process from 'process'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import copy from 'rollup-plugin-copy'
import { version } from './package.json'
import { base64 } from 'rollup-plugin-base64'

export default defineConfig({
Expand Down Expand Up @@ -31,6 +31,8 @@ export default defineConfig({
dest: 'public',
rename: 'manifest.json',
src: `manifest/base.json`,
transform: (content) =>
content.toString().replace('%version%', version),
},
],
hook: 'buildStart',
Expand Down

0 comments on commit b12ebb8

Please sign in to comment.