RELEASE V0.0.1

This commit is contained in:
mathis committed 2026-08-26 14:56:49 +02:00
commit 3eed2b9cd4
56 files changed
+10379

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
const fs = require('fs');
const regions = {
"bretagne": "#008272", "grand-est": "#0047BA", "normandie": "#E02B20",
"occitanie": "#D6002A", "ile-de-france": "#00A3E0", "hauts-de-france": "#45293A",
"pays-de-la-loire": "#00B5E2", "nouvelle-aquitaine": "#D01F3E", "centre-val-de-loire": "#009AA6",
"auvergne-rhone-alpes": "#005DAA", "bourgogne-franche-comte": "#00743f", "provence-alpes-cote-azur": "#00B5E2"
};
for (const [region, color] of Object.entries(regions)) {
const css = ":root { --wcs-primary: " + color + " !important; --wcs-base: " + color + " !important; }";
fs.writeFileSync("public/css/regions/" + region + ".css", css);
}
console.log("CSS files generated.");