From a6e1093c0eed8c775eefb07d974a30bd9fe47e8e Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 19 Feb 2024 16:05:52 -0600 Subject: [PATCH] refactor to use argparsing and add animation --- Makefile | 6 ++- assets/logo.svg | 22 ++++++-- src/css/animation.css | 11 ++++ src/css/base.css | 2 +- src/css/dark.css | 4 +- src/css/light.css | 2 +- src/logo.nim | 123 +++++++++++++++++++++++++++++++----------- 7 files changed, 128 insertions(+), 42 deletions(-) create mode 100644 src/css/animation.css diff --git a/Makefile b/Makefile index f534d80..dab246e 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,8 @@ all: @$(MAKE) pngs svgs: ## generate all svgs - nimble run + nimble run -- --background none,square,circle --style light,dark --border --output docs/svg + nimble run -- --background none,square,circle --style light,dark --output docs/svg pngs: ## generate all of the logo pngs nimble pngs @@ -25,6 +26,9 @@ docs/png/index.html: docs/index.html sed s'/My Logos/My Logos but PNG/g' \ > docs/png/index.html +assets/logo.svg: + nimble run -- --background circle --style dark --animate --border --output assets/logo.svg + clean: ## remove old files rm -f *.svg *.png rm -f docs/*.svg diff --git a/assets/logo.svg b/assets/logo.svg index e8de7f6..b690021 100644 --- a/assets/logo.svg +++ b/assets/logo.svg @@ -1,6 +1,6 @@ - + @@ -36,7 +47,7 @@