From e3f7c23636cd59300f40225a46a4b14588c31cc8 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 24 May 2024 17:40:46 +0200 Subject: [PATCH] feat: couleur d'accent Fixes #3 --- _data/config.json | 1 + _includes/layouts/parent.njk | 10 ++++++++-- public/css/index.css | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/_data/config.json b/_data/config.json index e733672..77a6327 100644 --- a/_data/config.json +++ b/_data/config.json @@ -1,4 +1,5 @@ { + "accentColor":"#c2255c", "featuredSites":[ {"nom":"Kobold Cafe", "url":"https://kobold.cafe/", "emoji":"☕"}, {"nom":"Site 2", "url":"#", "emoji":"🔗"}, diff --git a/_includes/layouts/parent.njk b/_includes/layouts/parent.njk index 2aebca5..6a0b3ca 100644 --- a/_includes/layouts/parent.njk +++ b/_includes/layouts/parent.njk @@ -13,6 +13,12 @@ {%- css %}{% include "public/css/index.css" %}{% endcss %} + +
@@ -23,7 +29,7 @@ @@ -33,7 +39,7 @@

{{ siteBlock.nom }}

diff --git a/public/css/index.css b/public/css/index.css index 7be5238..1ac4631 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -1,7 +1,7 @@ :root { - --color-background: rgba(255,255,255,0.8); + --color-background: rgba(255,255,255,0.9); --color-hover: rgba(0,0,0,0.1); - --color-accent: rgb(216, 0, 180); + --color-accent: blue; --color-heading: #FFF; --color-text: #333;