commentaire et polices par défaut

This commit is contained in:
fredtempez 2022-03-08 15:22:22 +01:00
parent 3d243e3463
commit 66faa596dd
3 changed files with 15 additions and 17 deletions

View File

@ -2332,9 +2332,8 @@ class core extends common {
} }
/** /**
* Chargement des polices en ligne dans un fichier séparé * Chargement des polices en ligne dans un fichier fonts.html inclus dans main.php
*/ */
// Lire le fichier des fontes locales
$localFonts = $this->getData(['fonts', 'files']); $localFonts = $this->getData(['fonts', 'files']);
$fontFile = ''; $fontFile = '';
foreach ($fonts as $fontId) { foreach ($fonts as $fontId) {
@ -2348,7 +2347,6 @@ class core extends common {
/** /**
* Fontes installées localement * Fontes installées localement
*/ */
// Validité du format
if ( !empty($localFonts) if ( !empty($localFonts)
) { ) {
foreach ($localFonts as $fontId => $fontName) { foreach ($localFonts as $fontId => $fontName) {

View File

@ -153,7 +153,7 @@ class init extends common {
], ],
'footer' => [ 'footer' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)', 'backgroundColor' => 'rgba(255, 255, 255, 1)',
'font' => 'open-sans', 'font' => 'georgia',
'fontSize' => '.8em', 'fontSize' => '.8em',
'fontWeight' => 'normal', 'fontWeight' => 'normal',
'height' => '5px', 'height' => '5px',
@ -180,7 +180,7 @@ class init extends common {
], ],
'header' => [ 'header' => [
'backgroundColor' => 'rgba(32, 59, 82, 1)', 'backgroundColor' => 'rgba(32, 59, 82, 1)',
'font' => 'oswald-4', 'font' => 'arial',
'fontSize' => '2em', 'fontSize' => '2em',
'fontWeight' => 'normal', 'fontWeight' => 'normal',
'height' => '150px', 'height' => '150px',
@ -203,7 +203,7 @@ class init extends common {
'menu' => [ 'menu' => [
'backgroundColor' => 'rgba(32, 59, 82, 1)', 'backgroundColor' => 'rgba(32, 59, 82, 1)',
'backgroundColorSub' => 'rgba(32, 59, 82, 1)', 'backgroundColorSub' => 'rgba(32, 59, 82, 1)',
'font' => 'open-sans', 'font' => 'georgia',
'fontSize' => '1em', 'fontSize' => '1em',
'fontWeight' => 'normal', 'fontWeight' => 'normal',
'height' => '15px 10px', 'height' => '15px 10px',
@ -234,13 +234,13 @@ class init extends common {
'borderColor' => 'rgba(236, 239, 241, 1)' 'borderColor' => 'rgba(236, 239, 241, 1)'
], ],
'text' => [ 'text' => [
'font' => 'open-sans', 'font' => 'georgia',
'fontSize' => '13px', 'fontSize' => '13px',
'textColor' => 'rgba(33, 34, 35, 1)', 'textColor' => 'rgba(33, 34, 35, 1)',
'linkColor' => 'rgba(74, 105, 189, 1)' 'linkColor' => 'rgba(74, 105, 189, 1)'
], ],
'title' => [ 'title' => [
'font' => 'oswald-4', 'font' => 'arial',
'fontWeight' => 'normal', 'fontWeight' => 'normal',
'textColor' => 'rgba(74, 105, 189, 1)', 'textColor' => 'rgba(74, 105, 189, 1)',
'textTransform' => 'none' 'textTransform' => 'none'
@ -252,9 +252,9 @@ class init extends common {
], ],
'admin' => [ 'admin' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)', 'backgroundColor' => 'rgba(255, 255, 255, 1)',
'fontText' => 'open-sans', 'fontText' => 'georgia',
'fontSize' => '13px', 'fontSize' => '13px',
'fontTitle' => 'oswald-4', 'fontTitle' => 'arial',
'colorText' => 'rgba(33, 34, 35, 1)', 'colorText' => 'rgba(33, 34, 35, 1)',
'colorTitle' => 'rgba(74, 105, 189, 1)', 'colorTitle' => 'rgba(74, 105, 189, 1)',
'backgroundColorButton' => 'rgba(74, 105, 189, 1)', 'backgroundColorButton' => 'rgba(74, 105, 189, 1)',