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 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build.sh') 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} -- cgit v1.2.3