Gluon

Gluon is a Razor component library with styles, themes, and components.

Getting Started

To get started import the Gluon NuGet packages.

Import-Package Gluon.Components

Include the style contents into your _Layout.cshtml or index.html inside of your <head></head> tags.

<head>
    <link href="_content/Gluon.Components/css/gluon-light.min.css" rel="stylesheet" />
</head>

Include the following target in your .csproj file to workaround an issue with intellisense:

<Target Name="CollectGluonAssets" DependsOnTargets="ResolveStaticWebAssetsInputs" AfterTargets="Build" Condition=" '$(Configuration)' == 'Debug' ">
    <Copy SourceFiles="%(StaticWebAsset.Identity)" DestinationFolder="wwwroot/temp" Condition="$([System.String]::Copy(%(StaticWebAsset.Identity)).Contains('gluon'))" />
</Target>