diff --git a/res/static/img/background_patterns/checker0_transparent.png b/res/static/img/background_patterns/checker0_transparent.png index 90a0caa..30b9c02 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 bc305bc..912ea59 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 06aa2f4..3a1ac53 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 9b26725..ff61d24 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 fad1e69..eb3dec3 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 7da29ce..1cbe924 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 1567368..80eef04 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 f8130cb..d832e89 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 8388b43..27b6683 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.png b/res/static/img/background_patterns/checker18.png new file mode 100644 index 0000000..76719eb Binary files /dev/null and b/res/static/img/background_patterns/checker18.png differ diff --git a/res/static/img/background_patterns/checker18_transparent.png b/res/static/img/background_patterns/checker18_transparent.png new file mode 100644 index 0000000..b6a59e5 Binary files /dev/null and b/res/static/img/background_patterns/checker18_transparent.png differ diff --git a/res/static/img/background_patterns/checker1_transparent.png b/res/static/img/background_patterns/checker1_transparent.png index 1a62c14..f3116bd 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 3ef87a8..13db330 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 b8ce1d5..31a6e48 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 ce7e031..103c669 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 e42e87f..e7c5766 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 c920e0d..0569508 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 2eebabc..f0ea192 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 3e31440..57f2aad 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 9d2ca64..77ec81c 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 49dbd54..4cf0b0f 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 1983d25..127753d 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 79f6501..c9b2aa2 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 954cd97..2e3838e 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 index 1302e97..5dfde3e 100644 Binary files a/res/static/img/background_patterns/checker_ukraine_transparent.png and b/res/static/img/background_patterns/checker_ukraine_transparent.png differ diff --git a/res/static/img/background_patterns/checker_wednesday_transparent.png b/res/static/img/background_patterns/checker_wednesday_transparent.png index 1245977..45f74d0 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 7cc3c7f..1cf4e3a 100755 --- a/res/static/img/background_patterns/create_transparent.sh +++ b/res/static/img/background_patterns/create_transparent.sh @@ -4,7 +4,7 @@ transparent () { convert $1.png -alpha set -channel a -evaluate set $2 $1_transparent.png } -for i in {0..17}; do transparent "checker${i}" 5%; done +for i in {0..18}; do transparent "checker${i}" 5%; done transparent "checker_wednesday" 8% transparent "checker_dwarf" 8% transparent "checker_developers" 8% diff --git a/svelte/package.json b/svelte/package.json index cfb947b..5a9581c 100644 --- a/svelte/package.json +++ b/svelte/package.json @@ -4,8 +4,7 @@ "type": "module", "scripts": { "build": "rollup -c", - "dev": "rollup -c -w", - "start": "sirv public" + "dev": "rollup -c -w" }, "devDependencies": { "@babel/core": "^7.22.20", diff --git a/webcontroller/style.go b/webcontroller/style.go index 0df4c01..242e8e2 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()%18) + file = fmt.Sprintf("checker%d", now.UnixNano()%19) } return template.URL("/res/img/background_patterns/" + file + "_transparent.png")