diff --git a/README.md b/README.md index f0782351..ab3fcb34 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# IntelliJ plugin for Haskell +# ![logo](logo/icon_intellij_haskell_32.png) IntelliJ plugin for Haskell [![Join the chat at https://gitter.im/intellij-haskell/Lobby](https://badges.gitter.im/intellij-haskell/Lobby.svg)](https://gitter.im/intellij-haskell/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) diff --git a/logo/build.sh b/logo/build.sh new file mode 100755 index 00000000..7df1beae --- /dev/null +++ b/logo/build.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +# The MIT License (MIT) + +# Copyright (c) 2015 Aleksey Kladov, Evgeny Kurbatsky, Alexey Kudinkin and contributors + +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: + +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. + +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + +# Copied from intellij-rust, many thanks for their greate work. +# Batch rasterize SVG icon file to PNG. +# Requires rsvg-convert command. +# Please re-run this script after each source file change. + +INPUT_FILE='icon_intellij_haskell.svg' +FILE_NAME=$(basename "$INPUT_FILE" .svg) + +for SIZE in 16 24 32 48 64 128 256 512; do + OUTPUT_FILE="${FILE_NAME}_${SIZE}.png" + rsvg-convert $INPUT_FILE -o $OUTPUT_FILE -w $SIZE -h $SIZE +done + diff --git a/logo/icon_intellij_haskell.svg b/logo/icon_intellij_haskell.svg new file mode 100644 index 00000000..63ef8079 --- /dev/null +++ b/logo/icon_intellij_haskell.svg @@ -0,0 +1,239 @@ + + + + + + image/svg+xml + + icon_intellij_haskell + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + icon_intellij_haskell + + + + + + + + + + + + + + + + + diff --git a/logo/icon_intellij_haskell_128.png b/logo/icon_intellij_haskell_128.png new file mode 100644 index 00000000..ab288ee8 Binary files /dev/null and b/logo/icon_intellij_haskell_128.png differ diff --git a/logo/icon_intellij_haskell_16.png b/logo/icon_intellij_haskell_16.png new file mode 100644 index 00000000..a7265f4e Binary files /dev/null and b/logo/icon_intellij_haskell_16.png differ diff --git a/logo/icon_intellij_haskell_24.png b/logo/icon_intellij_haskell_24.png new file mode 100644 index 00000000..0f487a45 Binary files /dev/null and b/logo/icon_intellij_haskell_24.png differ diff --git a/logo/icon_intellij_haskell_256.png b/logo/icon_intellij_haskell_256.png new file mode 100644 index 00000000..cd3db787 Binary files /dev/null and b/logo/icon_intellij_haskell_256.png differ diff --git a/logo/icon_intellij_haskell_32.png b/logo/icon_intellij_haskell_32.png new file mode 100644 index 00000000..7b78dcad Binary files /dev/null and b/logo/icon_intellij_haskell_32.png differ diff --git a/logo/icon_intellij_haskell_48.png b/logo/icon_intellij_haskell_48.png new file mode 100644 index 00000000..15b87a99 Binary files /dev/null and b/logo/icon_intellij_haskell_48.png differ diff --git a/logo/icon_intellij_haskell_512.png b/logo/icon_intellij_haskell_512.png new file mode 100644 index 00000000..830fe2d0 Binary files /dev/null and b/logo/icon_intellij_haskell_512.png differ diff --git a/logo/icon_intellij_haskell_64.png b/logo/icon_intellij_haskell_64.png new file mode 100644 index 00000000..f6d5ed76 Binary files /dev/null and b/logo/icon_intellij_haskell_64.png differ