Skip to content

Commit 823c2d6

Browse files
committed
Add all favicons plus fix script whee
1 parent 5610fb5 commit 823c2d6

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

devenv.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
packages = [
1212
pkgs.git
1313
pkgs.zola
14+
pkgs.imagemagick
15+
pkgs.inkscape
1416
];
1517

1618
processes = {

scripts/favicon.ronin.lisp

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
(clear)
2-
(resize 600 600)
3-
(fill (rect 10 10 300 600) "grey")
4-
(fill (circle 295 295 150) "black")
5-
(stroke (rect 1 1 599 599) "black" 100)
1+
(clear)
2+
(resize 600 600)
3+
(fill
4+
(rect 0 0 300 600)
5+
"#495057")
6+
(fill
7+
(circle 300 300 150) "black")
8+
(stroke
9+
(rect 0 0 600 600) "black" 100)

scripts/gen_favicon.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/usr/bin/env bash
22
cd "$(dirname "${BASH_SOURCE[0]}")/.."
3-
magick mogrify -format ico -density 600 -define icon:auto-resize=128,48,32,16 static/favicon.png
3+
inkscape --export-type=png --export-dpi=200 --export-background-opacity 0 -w 128 -h 128 static/favicon.svg && \
4+
magick -define icon:auto-resize=128,48,32,16 static/favicon.png static/favicon.ico

static/favicon.ico

0 Bytes
Binary file not shown.

static/favicon.png

-15.2 KB
Loading

static/favicon.svg

Lines changed: 5 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)