1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-07-02 23:40:06 +01:00
Go to file
devlinjd d7edce4838 Add "main" entry to package.json.
Give "main" a valid default value so methods like require.resolve() can
return a proper file location. Since fluent-themes doesn't have a single
"master" file, and since "main" can't refer to a folder here, point it
at a stub README file in the themes folder.
2015-11-24 10:47:11 -05:00
themes Add "main" entry to package.json. 2015-11-24 10:47:11 -05:00
.gitattributes Initial commit. 2015-10-06 14:20:47 -04:00
.gitignore Reorganize themes. 2015-10-26 04:57:06 -04:00
LICENSE.md Initial commit. 2015-10-06 14:20:47 -04:00
package.json Add "main" entry to package.json. 2015-11-24 10:47:11 -05:00
README.md Update description. 2015-10-27 23:46:36 -04:00

fluent-themes

Resume themes for FluentCV and FluentCV command line.

  • minimist: A no-frills theme.
  • modern: A middle of the road theme with a modern look 'n feel.
  • hello-world: A simple-as-possible example theme.
  • compact: A compact theme.
  • New themes forthcoming.

How It Works

Each theme lives in a folder, e.g., themes/informatic or themes/modern. The folder contains individual template files assembled by the theme author. Each template can be used to generate a single type of output file such as HTML, Word, or PDF. Template files are named according to this scheme...

[ OuputFormat ].[ InputFormat ]

...where [OuputFormat] and [InputFormat] are both one of html, pdf, md, txt, doc, or xml. For example:

  • html.html = An HTML template used to generate an HTML document.
  • doc.xml = An XML template used to generate an MS Word document.
  • pdf.html = An HTML template used to generate a PDF document.
  • md.txt = A text template used to generate a Markdown document.

This scheme ensures that theme template files have the "correct" file extension when the theme author is working with them in an editor—if your source data is XML then the template file will have an .xml extension regardless of whether you're ultimately generating an HTML page or a PDF document from that XML. It also provides a declarative mapping between a given input format (say, XML) and a given output file type (say, a Word doc or spreadsheet).

License

MIT. See LICENSE.md for details.