Skip to content

Commit

Permalink
Merge pull request #1513 from unoplatform/docs/fix.material.link
Browse files Browse the repository at this point in the history
docs: fix material getting started link
  • Loading branch information
ajpinedam authored Jan 9, 2025
2 parents f0dd9a6 + 9e3d406 commit ada1e82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/material-dsp.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Is it possible to automate the creation of the Material Design color palette? Ye
> ColorOverrideSource="ms-appx:///PROJECT_NAME/Styles/Application/MaterialColorsOverride.xaml" />
> ```
>
> More details [In the _Manual Color Overrides_ section of the Getting Started page](xref:uno.themes.material.getstarted)
> More details [In the _Manual Color Overrides_ section of the Getting Started page](xref:Uno.Themes.Material.GetStarted)
## The Uno.Dsp.Tasks NuGet package
Expand Down Expand Up @@ -65,9 +65,9 @@ It is possible to configure the import process. The _UnoDspImportColors_ item fo

## More flexibility

This will generate the file at each build, potentially overriding any changes you made to the file. If you want to keep it that way, you can simply remove the `ColorPaletteOverride.json` file from the `Styles` folder, the file won't get overwritten anymore.
Using `Uno.Dsp.Tasks` will generate the file at each build, potentially overriding any changes you made to it. If you want to keep it that way, you can remove the `ColorPaletteOverride.json` file from the `Styles` folder so it won't get overwritten.

Alternatively, you can also use the [Uno.Dsp.Cli](https://nuget.org/packages/Uno.Dsp.Cli) package to generate the file from the command line. This will allow you to generate the file only when you want to, and not at each build.
Alternatively, you can use the [Uno.Dsp.Cli](https://nuget.org/packages/Uno.Dsp.Cli) package to generate the file from the command line. This tool allows you to generate the file only when desired rather than during every build.

> [!NOTE]
> Although the **Material Theme Builder Tool** doesn't export **Material Tokens (DSP)** packages anymore, to import DSP packages just follow the same steps described previously and save the downloaded DSP zip file as `ColorPaletteOverride.zip` in the `Styles` folder of your application project.
Expand Down

0 comments on commit ada1e82

Please sign in to comment.