Skip to content

Commit

Permalink
re-set manual version bump package.json; add repo details to package.…
Browse files Browse the repository at this point in the history
…json; minor readme modifications
  • Loading branch information
steveninety committed Mar 15, 2024
1 parent a2a2b87 commit 88d5001
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -250,7 +250,7 @@ A set of standard components to help you build amazing emails without having to
# HEADS UP!

- Always include the `<Head />` 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 `<Custom />` component and the "as" property to define the tag. This component defaults to a `<div/>`. Tailwind classes on regular html nodes will not be processed.

Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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",
Expand Down

0 comments on commit 88d5001

Please sign in to comment.