Skip to content

Commit

Permalink
fix: finetune font theming usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kulmann committed Aug 18, 2022
1 parent 6a20e94 commit e78841f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ services:
- ./dist/js:/mnt/data/apps/web/js
- ./dist/themes:/mnt/data/apps/web/themes
- ./dist/icons:/mnt/data/apps/web/icons
- ./dist/fonts:/mnt/data/apps/web/fonts
- ./dist/index.html:/mnt/data/apps/web/index.html
- ./dist/manifest.json:/mnt/data/apps/web/manifest.json
- ./dist/oidc-callback.html:/mnt/data/apps/web/oidc-callback.html
Expand Down
5 changes: 0 additions & 5 deletions packages/web-runtime/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,8 @@ export default defineComponent({
})
</script>
<style lang="scss">
@font-face {
font-family: Nunito Sans;
src: url('/fonts/nunito.ttf');
}
body {
margin: 0;
font-size: var(--oc-font-size-small);
}
#web {
Expand Down
8 changes: 4 additions & 4 deletions packages/web-runtime/themes/owncloud/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@
"icon-pdf": "rgb(225, 5, 14)"
},
"fontSizes": {
"default": "0.88rem",
"large": "1.3rem",
"medium": "0.88rem"
"default": "",
"large": "",
"medium": ""
},
"sizes": {
"form-check-default": "",
Expand All @@ -159,4 +159,4 @@
}
}
}
}
}

0 comments on commit e78841f

Please sign in to comment.