Yoyo.ThemePicker 2.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Yoyo.ThemePicker --version 2.0.4                
NuGet\Install-Package Yoyo.ThemePicker -Version 2.0.4                
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="Yoyo.ThemePicker" Version="2.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Yoyo.ThemePicker --version 2.0.4                
#r "nuget: Yoyo.ThemePicker, 2.0.4"                
#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 Yoyo.ThemePicker as a Cake Addin
#addin nuget:?package=Yoyo.ThemePicker&version=2.0.4

// Install Yoyo.ThemePicker as a Cake Tool
#tool nuget:?package=Yoyo.ThemePicker&version=2.0.4                

Yoyo.ThemePicker

An Umbraco package that creates the theme picker property editor. Compatible with Umbraco v9

Usage

When configuring the data type, you can select an image from the file system, and assign it a name. The name of the selected theme will be returned as a string value. It will be an empty string is no theme is selected.

This package come with a built in property value converter, so will work with Models Builder.

Contribution Guidelines

If you'd like to contribute to this package, you'll first want to get in install locally. The following steps will help you get set up.

  1. Clone the repo
  2. Create a new branch off of develop
  3. Build the solution. It should contain two project, one for the package called "Yoyo.ThemePicker" and another called "Yoyo.ThemePicker.TestSite" which is used to check the package it working as expected. When you build the solution it will deploy the package to the test website automatically.
  4. Once you have finished you changes executing the 'dotnet pack' command in the package directory will take care of building the project and outputting the generated NuGet package in the bin folder (the output on the CLI shows the full path to the .nupkg file).

More information on creating and deploying the package to nuget can be found at our.umbraco.com/documentation/Extending/Packages/

You can test with either your own images, or by using the image found in the example-media folder. In order to test all you need to do is add them somewhere inside Yoyo.ThemePicker.TestSite/wwwroot folder. Once that's done you'll be able to select them via the Theme picker when configuring it.

Test site login credentials

Username: test@test.com Password: testtesttest

Committing

Before you make your first commit, make sure you install the npm modules for this package by running npm i. This will configure some rules around commit messages that will help to keep things consistent.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.0 2,406 7/19/2022
2.0.5 530 7/26/2022
2.0.4 483 7/25/2022
2.0.3 525 7/25/2022 2.0.3 is deprecated.
2.0.2 520 7/25/2022 2.0.2 is deprecated.
2.0.1 534 7/19/2022 2.0.1 is deprecated.
2.0.0 523 7/19/2022 2.0.0 is deprecated.
1.0.1 2,125 1/23/2021
1.0.0 357 1/22/2021