TimeWarpEngineering / timewarp-simple-icons

All the simple-icons wrapped as Blazor components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotnet Stars Discord nuget nuget Issues Open Forks License Twitter

Twitter Twitter

timewarp-simple-icons

TimeWarp Logo

All simple-icons wrapped as Blazor components. See and search all at https://simpleicons.org/

Give a Star! ⭐

If you like or are using this project please give it a star. Thank you!

Usage

<GithubIcon class="w-6 h-6"/>
<BlazorIcon class="w-6 h-6 fill-[#512BD4]" />
<TwitterIcon class="w-6 h-6 fill-blue-400" />

Outputs

Installation

You can see the latest NuGet packages from the official TimeWarp NuGet page.

dotnet add package timewarp-simple-icons

License

License

Contributing

Time is of the essence. Before developing a Pull Request I recommend opening a discussion.

Please feel free to make suggestions and help out with the documentation. Please refer to Markdown for how to write markdown files.

Steps to publish NuGet package

  • Clone the simple-icons repo.
  • Set the PowerShell variable $simple_icons to the path where you cloned the simple-icons repo in the above step. (Add $simple_icons = "<PATH where you stored the repp>" to your profile)
  • Ensure your copy of the simple-icons repo is up to date by running (update.ps1).
  • Set the Version in timewarp-simple-icons/source/timewarp-simple-icons/timewarp-simple-icons.csproj to the same version that is in simple-icons/package.json.
  • Transform the cloned simple-icons into razor files by running transform.ps1.
  • Run the test app to make sure the icons render properly.
  • Update releases.md.
  • Commit and push the changes to GitHub.
  • Set the PowerShell variable $Nuget_Key value.
  • Publish to NuGet by running publish.ps1.
  • Tweet to let people know.

Contact

Sometimes the GitHub notifications get lost in the shuffle. If you file an issue and don't get a response in a timely manner feel free to contact us on our Discord server.

Discord

References

https://github.com/simple-icons/simple-icons

Commands used

dotnet new sln
dotnet new razorclasslib -n timewarp-simple-icons
dotnet sln add .\Source\timewarp-simple-icons\timewarp-simple-icons.csproj
dotnet new tool-manifest
dotnet tool install dotnet-cleanup
dotnet cleanup -y

About

All the simple-icons wrapped as Blazor components.

License:Creative Commons Zero v1.0 Universal


Languages

Language:HTML 99.8%Language:CSS 0.1%Language:C# 0.1%Language:PowerShell 0.0%