Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanszogyenyi committed Jul 4, 2023
2 parents a2cfdf8 + d0c9f5b commit 24d0339
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions content/getting-started/svelte.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Now, we can install Flowbite with Svelte and their dependencies. [Flowbite Svelt
Install the Flowbite packages and dependencies using `pnpm`:

```bash
pnpm i flowbite flowbite-svelte classnames @popperjs/core
pnpm i flowbite flowbite-svelte tailwind-merge @popperjs/core
```

We also need to update the `tailwind.config.js` file with the following details:
Expand All @@ -81,14 +81,20 @@ const config = {
"./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}",
],

theme: {
extend: {},
},

plugins: [
require('flowbite/plugin')
],

darkMode: 'class',

theme: {
extend: {
colors: {
// flowbite-svelte
primary: { 50: '#FFF5F2', 100: '#FFF1EE', 200: '#FFE4DE', 300: '#FFD5CC', 400: '#FFBCAD', 500: '#FE795D', 600: '#EF562F', 700: '#EB4F27', 800: '#CC4522', 900: '#A5371B'},
}
}
}
};

module.exports = config;
Expand Down Expand Up @@ -212,4 +218,4 @@ You can save time and effort by not having to build these components from scratc

The [Flowbite Svelte](https://github.com/themesberg/flowbite-svelte) library on GitHub is an open-source project and many developers contribute to the project by adding new components and improving the current codebase.

Contributing is a great way by saying thank you or building up your developer portfolio.
Contributing is a great way by saying thank you or building up your developer portfolio.

0 comments on commit 24d0339

Please sign in to comment.