Files
My-KOPKB/be/config/letter.php
T

86 lines
2.4 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Page
|--------------------------------------------------------------------------
|
| Single source of truth for letter page size and margins.
| Margins are in millimetres — used by Browsershot PDF and the Blade layout.
|
*/
'page' => [
'format' => 'A4',
'width_mm' => 210,
'height_mm' => 297,
'margin_top_mm' => 20,
'margin_right_mm' => 10,
'margin_bottom_mm' => 1,
'margin_left_mm' => 10,
],
/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/
'content' => [
'padding_x_mm' => 10,
],
/*
|--------------------------------------------------------------------------
| Typography
|--------------------------------------------------------------------------
*/
'typography' => [
'font_family' => 'Arial, Helvetica, sans-serif',
'font_size' => '11pt',
'line_height' => 1.5,
'body_color' => '#1a1a1a',
'signatory_title_size' => '10pt',
'signatory_title_color' => '#333333',
'footer_font_size' => '10pt',
'footer_line_height' => 1.45,
'letterhead_registration_size' => '9pt',
],
/*
|--------------------------------------------------------------------------
| Spacing (pixels in CSS)
|--------------------------------------------------------------------------
*/
'spacing' => [
'letterhead_margin_bottom' => 20,
'meta_margin_bottom' => 20,
'recipient_margin_bottom' => 16,
'subject_margin_bottom' => 16,
'body_margin_bottom' => 20,
'body_paragraph_margin_bottom' => 10,
'signature_block_margin_bottom' => 20,
'signature_company_margin_bottom' => 16,
'signature_space_height' => 48,
'logo_height' => 80,
],
/*
|--------------------------------------------------------------------------
| Brand colours
|--------------------------------------------------------------------------
*/
'colors' => [
'blue' => '#0e579b',
'orange' => '#d35400',
'white' => '#ffffff',
'black' => '#000000',
],
];