Mise à jour des couleurs principales
This commit is contained in:
@@ -1,9 +1,3 @@
|
|||||||
:root {
|
|
||||||
--color-primary: #2563eb;
|
|
||||||
--color-secondary: #0f172a;
|
|
||||||
--color-accent: #3b82f6;
|
|
||||||
}
|
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: 'Inter', sans-serif;
|
font-family: 'Inter', sans-serif;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
15
index.html
15
index.html
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user