summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-13 16:28:54 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-13 16:31:27 +0100
commit05895da4d1436ed586472145a71ffc27ed16696f (patch)
tree971f75e7d23d03f9f47edcddb97a169bebbd4948 /build.sh
parentee85f09babad0e4e31b9a3285412134182ac8719 (diff)
downloadquatuorbellefeuille.com-05895da4d1436ed586472145a71ffc27ed16696f.tar.xz
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.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 8 insertions, 0 deletions
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}