Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make README logo work in dark mode #87

Merged
merged 1 commit into from
Sep 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![generated graphql client ⇒ genqlient](docs/images/genqlient.png)
<img width="100%" alt="generated graphql client ⇒ genqlient" src="docs/images/genqlient.svg">

# genqlient: a truly type-safe Go GraphQL client

Expand Down
5 changes: 5 additions & 0 deletions docs/images/README.md
Original file line number Diff line number Diff line change
@@ -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)
99 changes: 99 additions & 0 deletions docs/images/genqlient-orig.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/genqlient.png
Binary file not shown.
Loading