From 88d50016fe468afb94216f286d1be861f43d6479 Mon Sep 17 00:00:00 2001 From: steveninety Date: Fri, 15 Mar 2024 11:07:32 +0100 Subject: [PATCH] re-set manual version bump package.json; add repo details to package.json; minor readme modifications --- README.md | 6 +++--- package.json | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eab9e78..b72ef59 100755 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ const config: UserConfig = { export default config; ``` -Optional customizations: +Optional configurations: - Provide a Tailwind config; - Provide a custom path to your email folder. @@ -182,7 +182,7 @@ export const actions = { } ``` -Optional customization: +Optional configurations: - Provide a custom path to your email components; - Provide a custom function to send the email using a different provider. @@ -250,7 +250,7 @@ A set of standard components to help you build amazing emails without having to # HEADS UP! - Always include the `` component. -- For now, class attribute/prop interpolation/variable references will not work (this won't work: class={someTwClassName}, class={`${someTwClassName} w-full`}, this will work: class="w-full"). +- For now, class attribute/prop interpolation/variable references will not work (this won't work: `class={someTwClassName}`, `class={`${someTwClassName} w-full`}`, this will work: `class="w-full"`). - When using arbitrary Tailwind classes that use multiple values, separate them using underscores (example: p-[0_30px_12px_5px]). - In Svelte email components, stick to the designated components if you use Tailwind classes. If you need custom HTML, use the `` component and the "as" property to define the tag. This component defaults to a `
`. Tailwind classes on regular html nodes will not be processed. diff --git a/package.json b/package.json index be50b5d..9045462 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte-email-tailwind", - "version": "1.0.0", + "version": "0.0.8", "description": "Build emails with Svelte and Tailwind", "author": { "name": "Steven Polak" @@ -15,6 +15,11 @@ "sveltekit", "resend" ], + "repository": { + "type": "git", + "url": "https://github.com/steveninety/svelte-email-tailwind.git", + "homepage": "https://github.com/steveninety/svelte-email-tailwind#readme" + }, "scripts": { "dev": "vite dev", "package": "svelte-kit sync && svelte-package",