Mise à jour des couleurs principales

This commit is contained in:
2026-02-03 20:00:38 +01:00
parent 56db6fac8c
commit d18fb129e3
3 changed files with 17 additions and 9 deletions

View File

@@ -1,9 +1,3 @@
:root {
--color-primary: #2563eb;
--color-secondary: #0f172a;
--color-accent: #3b82f6;
}
* { * {
font-family: 'Inter', sans-serif; font-family: 'Inter', sans-serif;
} }

View File

@@ -2,9 +2,8 @@
const config = { const config = {
// Couleurs principales du site // Couleurs principales du site
colors: { colors: {
primary: '#2563eb', // Bleu moderne primary: '#008455',
secondary: '#0f172a', // Bleu foncé accent: '#85B120'
accent: '#3b82f6' // Bleu clair
}, },
// Informations de l'entreprise // Informations de l'entreprise

View File

@@ -43,6 +43,21 @@
</path> </path>
</symbol> </symbol>
</svg> </svg>
<script>
(function () {
try {
var primary = (typeof config !== 'undefined' && config.colors && config.colors.primary) ? config.colors.primary : '#008455';
var svg = document.querySelector('svg[aria-hidden="true"]');
if (!svg) return;
svg.querySelectorAll('symbol > path').forEach(function (p) {
p.setAttribute('fill', primary);
});
} catch (e) {
// silent
}
})();
</script>
</head> </head>
<body class="smooth-scroll bg-gray-50"> <body class="smooth-scroll bg-gray-50">