Update background patterns
Before Width: | Height: | Size: 315 B After Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 325 B After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 402 B After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 491 B After Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 396 B |
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
BIN
res/static/img/background_patterns/checker19_transparent.png
Normal file
After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 303 B After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 307 B After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 374 B |
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 360 B After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 379 B After Width: | Height: | Size: 379 B |
Before Width: | Height: | Size: 443 B After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 995 B |
@@ -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
|
||||
|
@@ -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")
|
||||
|