From abfaa1d84e2455a4b85bec1169346fa1af320361 Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Thu, 26 Aug 2021 00:35:12 -0400 Subject: [PATCH] Updated readme and sample.json --- .../react-fluentui-theme-variant/README.md | 8 +-- .../assets/sample.json | 51 +++++++++++++++++++ 2 files changed, 55 insertions(+), 4 deletions(-) create mode 100644 samples/react-fluentui-theme-variant/assets/sample.json diff --git a/samples/react-fluentui-theme-variant/README.md b/samples/react-fluentui-theme-variant/README.md index 4ca276f9e..f667bc039 100644 --- a/samples/react-fluentui-theme-variant/README.md +++ b/samples/react-fluentui-theme-variant/README.md @@ -59,10 +59,10 @@ In all these cases, the component variation works automatically as much as the F We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues. -If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=react-htm-templating&authors=@fabiofranzini&title=react-htm-templating%20-%20). +If you encounter any issues while using this sample, [create a new issue](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=react-fluentui-theme-variant&authors=@fabiofranzini&title=react-fluentui-theme-variant%20-%20). -For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=react-htm-templating&authors=@fabiofranzini&title=react-htm-templating%20-%20). +For questions regarding this sample, [create a new question](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=react-fluentui-theme-variant&authors=@fabiofranzini&title=react-fluentui-theme-variant%20-%20). -Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=react-htm-templating&authors=@fabiofranzini&title=react-htm-templating%20-%20). +Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/sp-dev-fx-webparts/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=react-fluentui-theme-variant&authors=@fabiofranzini&title=react-fluentui-theme-variant%20-%20). - \ No newline at end of file + \ No newline at end of file diff --git a/samples/react-fluentui-theme-variant/assets/sample.json b/samples/react-fluentui-theme-variant/assets/sample.json new file mode 100644 index 000000000..de4237d0b --- /dev/null +++ b/samples/react-fluentui-theme-variant/assets/sample.json @@ -0,0 +1,51 @@ +[ + { + "name": "pnp-sp-dev-spfx-web-parts-react-fluentui-theme-variant", + "source": "pnp", + "title": "Fluent UI Theme Variant", + "shortDescription": "An example of how to apply a custom theme or a variation of the current SharePoint theme directly to the web part", + "url": "https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-fluentui-theme-variant", + "longDescription": [ + "This web part provides an example of how to apply a custom theme or a variation of the current SharePoint theme directly to the web part.", + "In this way it is possible to implement the same mechanism that is currently implemented by default by the SharePoint page sections" + ], + "creationDateTime": "2021-08-09", + "updateDateTime": "2021-08-09", + "products": [ + "SharePoint", + "Office" + ], + "metadata": [ + { + "key": "CLIENT-SIDE-DEV", + "value": "React" + }, + { + "key": "SPFX-VERSION", + "value": "1.12.1" + } + ], + "thumbnails": [ + { + "type": "image", + "order": 100, + "url": "https://github.com/pnp/sp-dev-fx-webparts/raw/main/samples/react-fluentui-theme-variant/assets/preview.gif", + "alt": "Preview" + } + ], + "authors": [ + { + "gitHubAccount": "fabiofranzini", + "pictureUrl": "https://github.com/fabiofranzini.png", + "name": "Fabio Franzini" + } + ], + "references": [ + { + "name": "Build your first SharePoint client-side web part", + "description": "Client-side web parts are client-side components that run in the context of a SharePoint page. Client-side web parts can be deployed to SharePoint environments that support the SharePoint Framework. You can also use modern JavaScript web frameworks, tools, and libraries to build them.", + "url": "https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part" + } + ] + } +]