Add 18th background pattern
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 402 B |
Before Width: | Height: | Size: 507 B After Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 423 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 316 B After Width: | Height: | Size: 300 B |
BIN
res/static/img/background_patterns/checker18.png
Normal file
After Width: | Height: | Size: 156 B |
BIN
res/static/img/background_patterns/checker18_transparent.png
Normal file
After Width: | Height: | Size: 396 B |
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 303 B |
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 307 B |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 374 B |
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 378 B After Width: | Height: | Size: 362 B |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 374 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 395 B After Width: | Height: | Size: 379 B |
Before Width: | Height: | Size: 459 B After Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 698 B After Width: | Height: | Size: 682 B |
Before Width: | Height: | Size: 431 B After Width: | Height: | Size: 415 B |
Before Width: | Height: | Size: 451 B After Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 448 B After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 1011 B After Width: | Height: | Size: 995 B |
@@ -4,7 +4,7 @@ transparent () {
|
|||||||
convert $1.png -alpha set -channel a -evaluate set $2 $1_transparent.png
|
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_wednesday" 8%
|
||||||
transparent "checker_dwarf" 8%
|
transparent "checker_dwarf" 8%
|
||||||
transparent "checker_developers" 8%
|
transparent "checker_developers" 8%
|
||||||
|
@@ -4,8 +4,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
"dev": "rollup -c -w",
|
"dev": "rollup -c -w"
|
||||||
"start": "sirv public"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.22.20",
|
"@babel/core": "^7.22.20",
|
||||||
|
@@ -300,7 +300,7 @@ func BackgroundTiles() template.URL {
|
|||||||
} else if month == time.December && (day == 25 || day == 26 || day == 27) {
|
} else if month == time.December && (day == 25 || day == 26 || day == 27) {
|
||||||
file = "checker_christmas"
|
file = "checker_christmas"
|
||||||
} else {
|
} 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")
|
return template.URL("/res/img/background_patterns/" + file + "_transparent.png")
|
||||||
|