Closed KevinJump closed 7 years ago
Thanks for the PR @KevinJump .. it looks like you also have included the colors as in #3, so I will take a look at these changes as soon as possible.
@KevinJump I have manually added some of the changes in your PR. For now I think I just stick with the round toggle button.
Then developers can always inject custom css via package.manifest to overwrite the rounded corners and add more colours if they want.
Maybe I will add a option to choose between a circle and square (with rounded corners) later.
I just need to modify the package build a bit for Umbraco package and NuGet package. Furthermore I think Umbraco package now has a iconUrl for the local package, which are used in the new packager.
Do you mind testing it on the current state? I will also like to test if the int (0 / 1) is handled as boolean by ModelsBuilder.
I have manually added some in the changes and tweaked the styles a bit further for Umbraco 7.6 and published a new release. https://our.umbraco.org/projects/backoffice-extensions/switcher/
Hi,
Not sure if you will want this PR ;)
Updates to the styles so the switcher fits more into later releases of umbraco, including additional colours as seen in 7.6 beta.
The update also squares of the switch which i know will be contentious for some - but i think it is close to umbraco's own styles .