datocms-plugin-theme-selector
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "datocms-plugin-theme-selector", | ||
"description": "A plugin for DatoCMS that allows you select a color from a predefined list.", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"license": "MIT", | ||
@@ -18,2 +18,3 @@ "homepage": "https://github.com/thebuilder/datocms-plugin-theme-selector#readme", | ||
], | ||
"main": "dist/index.html", | ||
"repository": { | ||
@@ -34,3 +35,3 @@ "type": "git", | ||
"title": "Theme selector", | ||
"previewImage": "docs/example.png", | ||
"previewImage": "docs/preview.gif", | ||
"entryPoint": "dist/index.html", | ||
@@ -37,0 +38,0 @@ "fieldTypes": [ |
@@ -16,5 +16,17 @@ # DatoCMS Theme Selector | ||
A valid list of colors could look like this: | ||
``` | ||
#feb2b2, #fc8181, #f56565, #e53e3e, #c53030 | ||
``` | ||
### Development | ||
When testing the plugin locally, you should configure a new plugin in a DatoCMS | ||
The plugin is built using [Vite.js](https://vitejs.dev/). This enables a fast development workflow, where | ||
you see the changes as soon as you save a file. For it to work, it needs to | ||
be rendered inside the DatoCMS interface. | ||
So when testing the plugin locally, you should [create a new plugin](https://www.datocms.com/docs/building-plugins/creating-a-new-plugin) in a DatoCMS | ||
project, and point it to `http://localhost:3000`. | ||
![Example](docs/development.png) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
558751
10
32