From 05895da4d1436ed586472145a71ffc27ed16696f Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 13 Mar 2021 16:28:54 +0100 Subject: Use darker shade of gold The ratio between the original shade and a white background was below what the WCAG prescribes. Keep the original shade for the index, since the background is darker there. --- build.sh | 8 +++ en/template.html | 14 ++--- images/chevron-up.svg | 2 +- images/close.svg | 2 +- images/facebook-logo.svg | 98 ------------------------------ images/instagram-logo.svg | 125 --------------------------------------- images/logo-gold.svg | 75 +++++++++++++++++++++++ images/logo.svg | 4 +- images/menu.svg | 2 +- images/social/facebook-gold.svg | 98 ++++++++++++++++++++++++++++++ images/social/facebook.svg | 98 ++++++++++++++++++++++++++++++ images/social/instagram-gold.svg | 125 +++++++++++++++++++++++++++++++++++++++ images/social/instagram.svg | 125 +++++++++++++++++++++++++++++++++++++++ images/social/youtube-gold.svg | 123 ++++++++++++++++++++++++++++++++++++++ images/social/youtube.svg | 123 ++++++++++++++++++++++++++++++++++++++ images/youtube-logo.svg | 123 -------------------------------------- index.sh | 1 + stylesheets/commun.css | 2 +- stylesheets/dark.css | 12 ++-- template.html | 14 ++--- 20 files changed, 800 insertions(+), 374 deletions(-) delete mode 100644 images/facebook-logo.svg delete mode 100644 images/instagram-logo.svg create mode 100644 images/logo-gold.svg create mode 100644 images/social/facebook-gold.svg create mode 100644 images/social/facebook.svg create mode 100644 images/social/instagram-gold.svg create mode 100644 images/social/instagram.svg create mode 100644 images/social/youtube-gold.svg create mode 100644 images/social/youtube.svg delete mode 100644 images/youtube-logo.svg diff --git a/build.sh b/build.sh index 583bda0..3586801 100755 --- a/build.sh +++ b/build.sh @@ -25,6 +25,7 @@ transform-li-dropdown-current-a () transforms=() postprocess=true +iconcolor= . ${parameters} sed -i s/'{TITLE}'/"${title}"/ ${output} @@ -51,6 +52,13 @@ do sed -i "${transform}" ${output} done +if test "${iconcolor}" +then + sed -i s/'{ICONCOLOR}'/"-${iconcolor}"/ ${output} +else + sed -i s/'{ICONCOLOR}'// ${output} +fi + sed -i -e /'{MAIN}'/"r ${input}" -e /'{MAIN}'/'c\' ${output} ${postprocess} ${output} diff --git a/en/template.html b/en/template.html index 79abc66..398783a 100644 --- a/en/template.html +++ b/en/template.html @@ -51,19 +51,19 @@
  • - +
  • - +
  • - +
  • @@ -73,7 +73,7 @@