diff --git a/res/static/img/background_patterns/checker0_transparent.png b/res/static/img/background_patterns/checker0_transparent.png index 30b9c02..b5b5e31 100644 Binary files a/res/static/img/background_patterns/checker0_transparent.png and b/res/static/img/background_patterns/checker0_transparent.png differ diff --git a/res/static/img/background_patterns/checker10_transparent.png b/res/static/img/background_patterns/checker10_transparent.png index 912ea59..1f7d6b9 100644 Binary files a/res/static/img/background_patterns/checker10_transparent.png and b/res/static/img/background_patterns/checker10_transparent.png differ diff --git a/res/static/img/background_patterns/checker11_transparent.png b/res/static/img/background_patterns/checker11_transparent.png index 3a1ac53..96c98a6 100644 Binary files a/res/static/img/background_patterns/checker11_transparent.png and b/res/static/img/background_patterns/checker11_transparent.png differ diff --git a/res/static/img/background_patterns/checker12_transparent.png b/res/static/img/background_patterns/checker12_transparent.png index ff61d24..2ecb6a7 100644 Binary files a/res/static/img/background_patterns/checker12_transparent.png and b/res/static/img/background_patterns/checker12_transparent.png differ diff --git a/res/static/img/background_patterns/checker13_transparent.png b/res/static/img/background_patterns/checker13_transparent.png index eb3dec3..db7644a 100644 Binary files a/res/static/img/background_patterns/checker13_transparent.png and b/res/static/img/background_patterns/checker13_transparent.png differ diff --git a/res/static/img/background_patterns/checker14_transparent.png b/res/static/img/background_patterns/checker14_transparent.png index 1cbe924..6c2575b 100644 Binary files a/res/static/img/background_patterns/checker14_transparent.png and b/res/static/img/background_patterns/checker14_transparent.png differ diff --git a/res/static/img/background_patterns/checker15_transparent.png b/res/static/img/background_patterns/checker15_transparent.png index 80eef04..11c6ea7 100644 Binary files a/res/static/img/background_patterns/checker15_transparent.png and b/res/static/img/background_patterns/checker15_transparent.png differ diff --git a/res/static/img/background_patterns/checker16_transparent.png b/res/static/img/background_patterns/checker16_transparent.png index d832e89..e157c40 100644 Binary files a/res/static/img/background_patterns/checker16_transparent.png and b/res/static/img/background_patterns/checker16_transparent.png differ diff --git a/res/static/img/background_patterns/checker17_transparent.png b/res/static/img/background_patterns/checker17_transparent.png index 27b6683..68d85a1 100644 Binary files a/res/static/img/background_patterns/checker17_transparent.png and b/res/static/img/background_patterns/checker17_transparent.png differ diff --git a/res/static/img/background_patterns/checker18_transparent.png b/res/static/img/background_patterns/checker18_transparent.png index b6a59e5..f4732a5 100644 Binary files a/res/static/img/background_patterns/checker18_transparent.png and b/res/static/img/background_patterns/checker18_transparent.png differ diff --git a/res/static/img/background_patterns/checker_ukraine.png b/res/static/img/background_patterns/checker19.png similarity index 100% rename from res/static/img/background_patterns/checker_ukraine.png rename to res/static/img/background_patterns/checker19.png diff --git a/res/static/img/background_patterns/checker19_transparent.png b/res/static/img/background_patterns/checker19_transparent.png new file mode 100644 index 0000000..7f245b9 Binary files /dev/null and b/res/static/img/background_patterns/checker19_transparent.png differ diff --git a/res/static/img/background_patterns/checker1_transparent.png b/res/static/img/background_patterns/checker1_transparent.png index f3116bd..2a34567 100644 Binary files a/res/static/img/background_patterns/checker1_transparent.png and b/res/static/img/background_patterns/checker1_transparent.png differ diff --git a/res/static/img/background_patterns/checker2_transparent.png b/res/static/img/background_patterns/checker2_transparent.png index 13db330..98a6f05 100644 Binary files a/res/static/img/background_patterns/checker2_transparent.png and b/res/static/img/background_patterns/checker2_transparent.png differ diff --git a/res/static/img/background_patterns/checker3_transparent.png b/res/static/img/background_patterns/checker3_transparent.png index 31a6e48..eecb0b9 100644 Binary files a/res/static/img/background_patterns/checker3_transparent.png and b/res/static/img/background_patterns/checker3_transparent.png differ diff --git a/res/static/img/background_patterns/checker4_transparent.png b/res/static/img/background_patterns/checker4_transparent.png index 103c669..4643e02 100644 Binary files a/res/static/img/background_patterns/checker4_transparent.png and b/res/static/img/background_patterns/checker4_transparent.png differ diff --git a/res/static/img/background_patterns/checker5_transparent.png b/res/static/img/background_patterns/checker5_transparent.png index e7c5766..6354612 100644 Binary files a/res/static/img/background_patterns/checker5_transparent.png and b/res/static/img/background_patterns/checker5_transparent.png differ diff --git a/res/static/img/background_patterns/checker6_transparent.png b/res/static/img/background_patterns/checker6_transparent.png index 0569508..780e268 100644 Binary files a/res/static/img/background_patterns/checker6_transparent.png and b/res/static/img/background_patterns/checker6_transparent.png differ diff --git a/res/static/img/background_patterns/checker7_transparent.png b/res/static/img/background_patterns/checker7_transparent.png index f0ea192..5541560 100644 Binary files a/res/static/img/background_patterns/checker7_transparent.png and b/res/static/img/background_patterns/checker7_transparent.png differ diff --git a/res/static/img/background_patterns/checker8_transparent.png b/res/static/img/background_patterns/checker8_transparent.png index 57f2aad..adeeebc 100644 Binary files a/res/static/img/background_patterns/checker8_transparent.png and b/res/static/img/background_patterns/checker8_transparent.png differ diff --git a/res/static/img/background_patterns/checker9_transparent.png b/res/static/img/background_patterns/checker9_transparent.png index 77ec81c..e1cea2e 100644 Binary files a/res/static/img/background_patterns/checker9_transparent.png and b/res/static/img/background_patterns/checker9_transparent.png differ diff --git a/res/static/img/background_patterns/checker_christmas_transparent.png b/res/static/img/background_patterns/checker_christmas_transparent.png index 4cf0b0f..d021173 100644 Binary files a/res/static/img/background_patterns/checker_christmas_transparent.png and b/res/static/img/background_patterns/checker_christmas_transparent.png differ diff --git a/res/static/img/background_patterns/checker_developers_transparent.png b/res/static/img/background_patterns/checker_developers_transparent.png index 127753d..5f76b50 100644 Binary files a/res/static/img/background_patterns/checker_developers_transparent.png and b/res/static/img/background_patterns/checker_developers_transparent.png differ diff --git a/res/static/img/background_patterns/checker_dwarf_transparent.png b/res/static/img/background_patterns/checker_dwarf_transparent.png index c9b2aa2..6b3802d 100644 Binary files a/res/static/img/background_patterns/checker_dwarf_transparent.png and b/res/static/img/background_patterns/checker_dwarf_transparent.png differ diff --git a/res/static/img/background_patterns/checker_halloween_transparent.png b/res/static/img/background_patterns/checker_halloween_transparent.png index 2e3838e..f0cada7 100644 Binary files a/res/static/img/background_patterns/checker_halloween_transparent.png and b/res/static/img/background_patterns/checker_halloween_transparent.png differ diff --git a/res/static/img/background_patterns/checker_ukraine_transparent.png b/res/static/img/background_patterns/checker_ukraine_transparent.png deleted file mode 100644 index 5dfde3e..0000000 Binary files a/res/static/img/background_patterns/checker_ukraine_transparent.png and /dev/null differ diff --git a/res/static/img/background_patterns/checker_wednesday_transparent.png b/res/static/img/background_patterns/checker_wednesday_transparent.png index 45f74d0..ec23c94 100644 Binary files a/res/static/img/background_patterns/checker_wednesday_transparent.png and b/res/static/img/background_patterns/checker_wednesday_transparent.png differ diff --git a/res/static/img/background_patterns/create_transparent.sh b/res/static/img/background_patterns/create_transparent.sh index 1cf4e3a..799691f 100755 --- a/res/static/img/background_patterns/create_transparent.sh +++ b/res/static/img/background_patterns/create_transparent.sh @@ -4,12 +4,11 @@ transparent () { convert $1.png -alpha set -channel a -evaluate set $2 $1_transparent.png } -for i in {0..18}; do transparent "checker${i}" 5%; done +for i in {0..20}; do transparent "checker${i}" 6%; done transparent "checker_wednesday" 8% transparent "checker_dwarf" 8% transparent "checker_developers" 8% transparent "checker_halloween" 8% transparent "checker_christmas" 8% -transparent "checker_ukraine" 8% optipng *.png diff --git a/webcontroller/style.go b/webcontroller/style.go index 242e8e2..1983daf 100644 --- a/webcontroller/style.go +++ b/webcontroller/style.go @@ -300,7 +300,7 @@ func BackgroundTiles() template.URL { } else if month == time.December && (day == 25 || day == 26 || day == 27) { file = "checker_christmas" } else { - file = fmt.Sprintf("checker%d", now.UnixNano()%19) + file = fmt.Sprintf("checker%d", now.UnixNano()%20) } return template.URL("/res/img/background_patterns/" + file + "_transparent.png")