Styling
This commit is contained in:
parent
81e05a1ecd
commit
95f0b9edc3
@ -51,9 +51,9 @@ module.exports = {
|
|||||||
// Create the output text
|
// Create the output text
|
||||||
const infoArray = [
|
const infoArray = [
|
||||||
'We have changed your password to a temporary password, shown below. Next time you log into Microsoft you will be prompted to change your password.\n',
|
'We have changed your password to a temporary password, shown below. Next time you log into Microsoft you will be prompted to change your password.\n',
|
||||||
'Password requirements:\n8+ characters\n1+ Uppercase\n1+ Lowercase\n1+ Special (!/_=.,?)\n',
|
|
||||||
'Temporary Password:',
|
'Temporary Password:',
|
||||||
`${password}\n`,
|
`${password}\n`,
|
||||||
|
'Password requirements:\n8+ characters\n1+ Uppercase\n1+ Lowercase\n1+ Special (!/_=.,?)\n',
|
||||||
receiptFooter
|
receiptFooter
|
||||||
];
|
];
|
||||||
return infoArray.join('\n');
|
return infoArray.join('\n');
|
||||||
@ -91,7 +91,8 @@ module.exports = {
|
|||||||
doc.moveDown();
|
doc.moveDown();
|
||||||
|
|
||||||
// Write the text from infoString
|
// Write the text from infoString
|
||||||
doc.fontSize(12).text(infoString, {
|
doc.fontSize(12)
|
||||||
|
doc.font('public/Outfit-Regular.ttf').text(infoString, {
|
||||||
align: 'left',
|
align: 'left',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
BIN
mccs-it/thermal/public/Outfit-Regular.ttf
Normal file
BIN
mccs-it/thermal/public/Outfit-Regular.ttf
Normal file
Binary file not shown.
8
mccs-it/thermal/public/main.css
Normal file
8
mccs-it/thermal/public/main.css
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: Outfit;
|
||||||
|
src: url('Outfit-Regular.ttf');
|
||||||
|
}
|
||||||
|
|
||||||
|
body{
|
||||||
|
font-family: 'Outfit';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user