ADD fonts

This commit is contained in:
salomonelli 2017-06-12 19:36:47 +02:00
parent 6f811ebdbe
commit 5526987a87
2 changed files with 28 additions and 3 deletions

View File

@ -5,7 +5,7 @@
In the directory `src/resumes` you will find all existing templates.
### Creating templates
### Creating new templates
1. Create a copy of `src/resumes/template.vue`.
@ -20,14 +20,38 @@ export default Vue.component('TEMPLATE-NAME', {
3. Import the newly added template in `src/resumes/resumes.js`.
<br>
Your new resume will be now reachable at `localhost:8080/#/resume/TEMPLATE-NAME`.
Your new resume will be now reachable at [localhost:8080/#/resume/TEMPLATE-NAME](localhost:8080/#/resume/TEMPLATE-NAME).
<br>
## Adding a new font
## Fonts
### Icons
This project contains the [Material Design](https://github.com/google/material-design-icons) and [Font Awesome](https://github.com/FortAwesome/Font-Awesome) icon sets.
### Included fonts
These fonts are included:
- Open Sans, Open Sans Condensed
- Raleway
- Roboto
- Source Sans Pro
### Adding a new fonts
All fonts are installed via npm. To add a new font, search for the associated npm-module. Add the module to the package.json and install it. Import the css file in `src/App.vue`.
## Box shadows
## text fitting
## pdf export
## Page settings

View File

@ -11,6 +11,7 @@ export default {
</script>
<style>
/* Add new fonts here */
@import '../node_modules/roboto-fontface/css/roboto/roboto-fontface.css';
@import '../node_modules/font-awesome/css/font-awesome.css';
@import '../node_modules/material-design-icons/iconfont/material-icons.css';