Granite.Tokens
3.0.2
dotnet add package Granite.Tokens --version 3.0.2
NuGet\Install-Package Granite.Tokens -Version 3.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Granite.Tokens" Version="3.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Granite.Tokens --version 3.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Granite.Tokens, 3.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Granite.Tokens as a Cake Addin
#addin nuget:?package=Granite.Tokens&version=3.0.2
// Install Granite.Tokens as a Cake Tool
#tool nuget:?package=Granite.Tokens&version=3.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Granite Tokens for Aurena Native
Design Tokens are a way of storing design decisions. To ensure consistency. The entities are in the shape of key-value pairs.
Usage example
using Ifs.Granite.Tokens;
namespace HelloWorld
{
class Program
{
static async Task Main(string[] args)
{
Dictionary<string, string> lightTokens = await TokenUtils.GetColorTokens(Theme.Light);
Dictionary<string, string> darkTokens = await TokenUtils.GetColorTokens(Theme.Dark);
}
}
}
A list of available color tokens: https://design.ifs.com/15d09a779/p/39244f-color/t/3739fb/
Read more about IFS Design System: https://design.ifs.com/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- MSTest.TestFramework (>= 2.2.10)
- System.Text.Json (>= 6.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.2 | 92 | 2/13/2024 |
3.0.1 | 107 | 1/16/2024 |
3.0.0 | 213 | 11/6/2023 |
2.2.0 | 126 | 9/27/2023 |
2.1.0 | 1,949 | 8/9/2023 |
1.1.0-beta.5 | 86 | 8/4/2023 |
1.1.0-beta.4 | 89 | 7/7/2023 |
1.0.1-beta.2 | 77 | 3/30/2023 |
1.0.1-beta.1 | 82 | 3/28/2023 |
1.0.0 | 262 | 2/9/2023 |
1.0.0-beta.1 | 131 | 10/19/2022 |
1.0.0-alpha.5 | 90 | 10/14/2022 |
1.0.0-alpha.4 | 100 | 8/15/2022 |
1.0.0-alpha.2 | 110 | 8/15/2022 |
1.0.0-alpha.1 | 106 | 8/15/2022 |
0.0.4-beta6 | 128 | 9/7/2022 |
0.0.4-beta5 | 127 | 8/10/2022 |
0.0.4-beta4 | 131 | 8/10/2022 |
0.0.4-beta3 | 138 | 8/10/2022 |
0.0.4-beta2 | 142 | 8/10/2022 |
0.0.2-beta | 121 | 8/8/2022 |
0.0.1-beta | 124 | 8/2/2022 |