diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-13 16:28:54 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-13 16:31:27 +0100 |
| commit | 05895da4d1436ed586472145a71ffc27ed16696f (patch) | |
| tree | 971f75e7d23d03f9f47edcddb97a169bebbd4948 /build.sh | |
| parent | ee85f09babad0e4e31b9a3285412134182ac8719 (diff) | |
| download | quatuorbellefeuille.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-x | build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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} |
