diff --git a/Makefile b/Makefile index 2444887..670efd0 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,4 @@ check: lint go test -cover ./... go mod tidy -docs/images/genqlient.png: docs/images/genqlient.svg - convert -density 600 -background transparent "$<" "$@" - .PHONY: example diff --git a/README.md b/README.md index b5392ea..68f43a6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![generated graphql client ⇒ genqlient](docs/images/genqlient.png) +generated graphql client ⇒ genqlient # genqlient: a truly type-safe Go GraphQL client diff --git a/docs/images/README.md b/docs/images/README.md new file mode 100644 index 0000000..9944cdc --- /dev/null +++ b/docs/images/README.md @@ -0,0 +1,5 @@ +# genqlient logo + +`genqlient-orig.svg` is the original logo. To create `genqlient.svg`, I: +- converted all text to paths +- added media queries to make the paths white if the user is in dark mode (see issue #17) diff --git a/docs/images/genqlient-orig.svg b/docs/images/genqlient-orig.svg new file mode 100644 index 0000000..4b3f0c6 --- /dev/null +++ b/docs/images/genqlient-orig.svg @@ -0,0 +1,99 @@ + + + + + + + image/svg+xml + + + + + + + GEN + ERATED + GRAPH + QL + CL + IENT + + diff --git a/docs/images/genqlient.png b/docs/images/genqlient.png deleted file mode 100644 index cd9960e..0000000 Binary files a/docs/images/genqlient.png and /dev/null differ diff --git a/docs/images/genqlient.svg b/docs/images/genqlient.svg index 4b3f0c6..6597741 100644 --- a/docs/images/genqlient.svg +++ b/docs/images/genqlient.svg @@ -5,11 +5,11 @@ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" - id="svg8" - version="1.1" - viewBox="0 0 67.524338 27.714683" + width="67.524338mm" height="27.714684mm" - width="67.524338mm"> + viewBox="0 0 67.524338 27.714683" + version="1.1" + id="svg8"> + - + + GEN - + + + + + ERATED - + + + + + + + + GRAPH - + + + + + + + QL - + + + + CL - + + + + IENT + d="m 85.519763,77.74422 h 4.733561 v 1.178222 h -1.607137 v 4.614706 h 1.607137 V 84.71537 H 85.519763 V 83.537148 H 87.1269 v -4.614706 h -1.607137 z" /> + + + +