ADD fonts
This commit is contained in:
parent
6f811ebdbe
commit
5526987a87
30
DEVELOPER.md
30
DEVELOPER.md
@ -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
|
||||
|
||||
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user