0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 11:32:39 +00:00

fonts as snippets

This commit is contained in:
Víctor Losada Hernández
2023-12-23 12:40:56 +01:00
parent 985a9843f2
commit e2ac6c9b6b
3 changed files with 290 additions and 111 deletions

View File

@@ -304,6 +304,104 @@ module.exports = [
}
]
},
/**************** FONTS *************/
{
groupName : 'Fonts',
icon : 'fas fa-keyboard',
view : 'text',
snippets : [
{
name : 'Open Sans',
icon : 'OpenSans',
gen : dedent`{{OpenSans Dummy Text}}`
},
{
name : 'Code Bold',
icon : 'CodeBold',
gen : dedent`{{CodeBold Dummy Text}}`
},
{
name : 'Code Light',
icon : 'CodeLight',
gen : dedent`{{CodeLight Dummy Text}}`
},
{
name : 'Scaly Sans Remake',
icon : 'ScalySansRemake',
gen : dedent`{{ScalySansRemake Dummy Text}}`
},
{
name : 'Book Insanity Remake',
icon : 'BookInsanityRemake',
gen : dedent`{{BookInsanityRemake Dummy Text}}`
},
{
name : 'Mr Eaves Remake',
icon : 'MrEavesRemake',
gen : dedent`{{MrEavesRemake Dummy Text}}`
},
{
name : 'Mr Eaves Remake',
icon : 'MrEavesRemake',
gen : dedent`{{MrEavesRemake Dummy Text}}`
},
{
name: 'Solbera Imitation Remake',
icon: 'SolberaImitationRemake',
gen: dedent`{{SolberaImitationRemake Dummy Text}}`
},
{
name: 'Scaly Sans Small Caps Remake',
icon: 'ScalySansSmallCapsRemake',
gen: dedent`{{ScalySansSmallCapsRemake Dummy Text}}`
},
{
name: 'Walter Turncoat',
icon: 'WalterTurncoat',
gen: dedent`{{WalterTurncoat Dummy Text}}`
},
{
name: 'Lato',
icon: 'Lato',
gen: dedent`{{Lato Dummy Text}}`
},
{
name: 'Courier',
icon: 'Courier',
gen: dedent`{{Courier Dummy Text}}`
},
{
name: 'Nodesto Caps Condensed',
icon: 'NodestoCapsCondensed',
gen: dedent`{{NodestoCapsCondensed Dummy Text}}`
},
{
name: 'Overpass',
icon: 'Overpass',
gen: dedent`{{Overpass Dummy Text}}`
},
{
name: 'Davek',
icon: 'Davek',
gen: dedent`{{Davek Dummy Text}}`
},
{
name: 'Iokharic',
icon: 'Iokharic',
gen: dedent`{{Iokharic Dummy Text}}`
},
{
name: 'Rellanic',
icon: 'Rellanic',
gen: dedent`{{Rellanic Dummy Text}}`
},
{
name: 'Times New Roman',
icon: 'TimesNewRoman',
gen: dedent`{{TimesNewRoman Dummy Text}}`
}
]
},
/**************** PAGE *************/

View File

@@ -152,6 +152,27 @@ body { counter-reset : phb-page-numbers; }
break-inside : avoid;
}
/* Fonts */
.OpenSans { font-family: 'OpenSans'; }
.CodeBold { font-family: 'CodeBold';}
.CodeLight { font-family: 'CodeLight';}
.ScalySansRemake { font-family: 'ScalySansRemake';}
.BookInsanityRemake { font-family: 'BookInsanityRemake';}
.MrEavesRemake { font-family: 'MrEavesRemake';}
.SolberaImitationRemake { font-family: 'SolberaImitationRemake';}
.ScalySansSmallCapsRemake { font-family: 'ScalySansSmallCapsRemake';}
.WalterTurncoat { font-family: 'WalterTurncoat';}
.Lato { font-family: 'Lato';}
.Courier { font-family: 'Courier';}
.NodestoCapsCondensed { font-family: 'NodestoCapsCondensed';}
.Overpass { font-family: 'Overpass';}
.Davek { font-family: 'Davek';}
.Iokharic { font-family: 'Iokharic';}
.Rellanic { font-family: 'Rellanic';}
.TimesNewRoman { font-family: 'Times New Roman';}
/* Watermark */
.watermark {
position : absolute;