Uno.Dsp.Cli
1.2.8
See the version list below for details.
dotnet tool install --global Uno.Dsp.Cli --version 1.2.8
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Uno.Dsp.Cli --version 1.2.8
#tool dotnet:?package=Uno.Dsp.Cli&version=1.2.8
nuke :add-package Uno.Dsp.Cli --version 1.2.8
Uno DSP Tooling - Command Line Interface
This is the package that contains the command line interface for the Uno DSP Tooling.
Overview
This is used to generate Color Overrides file for project using Uno.Themes like documented on the official documentation.
How to get your DSP file
DSP Files are used to define the color palette of a theme and can be generated using the Material V3 Theme Builder web site. Simply export using the "Material Tokens (DSP)" format and download the generated zip file.
Installation
The Uno DSP Tooling CLI is available as a dotnet tool.
To install it, run the following command:
dotnet tool install -g Uno.Dsp.Cli
Usage
To generate the color overrides file, run the following command:
uno-dsp import-colors <path_to_source_theme_file> [<path_to_output_file_or_folder>]
MSBuild Task
If you want this generation to occur automatically when building your project, you may prefer to use the MSBuild task instead.
There is another package that contains a MSBuild task to generate the color overrides file: Uno.Dsp.Tasks.
Using the CLI instead of the MSBuild task is recommended if you want to generate the color overrides file from a DSP file that is not in your project or if you need more flexibility on the moment when it is generated.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.3.0-dev.2 | 44 | 11/15/2023 |
1.2.8 | 63 | 11/17/2023 |
1.2.7 | 138 | 11/1/2023 |
1.2.0-dev.34 | 52 | 9/29/2023 |
1.2.0-dev.32 | 56 | 9/26/2023 |
1.2.0-dev.30 | 45 | 9/26/2023 |
1.2.0-dev.28 | 34 | 9/26/2023 |
1.2.0-dev.20 | 57 | 9/13/2023 |
1.2.0-dev.18 | 62 | 8/30/2023 |
1.2.0-dev.12 | 67 | 8/15/2023 |
1.2.0-dev.8 | 77 | 7/21/2023 |
1.2.0-dev.6 | 69 | 7/21/2023 |
1.2.0-dev.3 | 67 | 7/21/2023 |
1.1.0 | 140 | 5/30/2023 |
1.1.0-dev.14 | 67 | 5/16/2023 |
1.1.0-dev.12 | 78 | 5/12/2023 |
1.1.0-dev.10 | 72 | 5/12/2023 |
1.1.0-dev.8 | 90 | 4/3/2023 |
1.1.0-dev.4 | 107 | 3/20/2023 |
1.1.0-dev.2 | 84 | 3/17/2023 |
1.0.1 | 198 | 3/17/2023 |
1.0.0 | 179 | 3/17/2023 |
0.1.0-dev.56 | 88 | 3/17/2023 |
0.1.0-dev.55 | 79 | 3/16/2023 |
0.1.0-dev.52 | 75 | 3/16/2023 |
0.1.0-dev.50 | 76 | 3/15/2023 |