Skip to content

Commit 37da0a7

Browse files
authored
Merge pull request #86 from sanjayc208/website/tailwind-example-update
chore: updated rft version and changed tailwind example css
2 parents 1c800f8 + 3a8145d commit 37da0a7

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"next": "15.0.3",
3333
"react": "19.0.0",
3434
"react-dom": "19.0.0",
35-
"react-fox-toast": "^1.10.7",
35+
"react-fox-toast": "^1.10.11",
3636
"react-syntax-highlighter": "^15.6.1",
3737
"tailwind-merge": "^2.5.5",
3838
"zustand": "^5.0.3"

website/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/src/app/documentation/components/sections/doc-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export function DocSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {
126126
</div>
127127
<div className="flex flex-col gap-0.5 leading-none">
128128
<span className="font-semibold">react-fox-toast</span>
129-
<span className="">v1.10.2</span>
129+
<span className="">v1.10.11</span>
130130
</div>
131131
</a>
132132
</SidebarMenuButton>

website/src/components/sections/toast-example.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,11 @@ toast.promise(fetchData(), {
245245
const showTailwindCSS = () => {
246246
toast.success('Success data with Tailwind Css', {
247247
position: selectedPosition ? selectedPosition : undefined,
248-
className: 'bg-orange-100 text-orange-900',
248+
className: 'bg-[#282c34] text-[#e5e5e5] rounded-3xl',
249249
})
250250
setCodeSyntax(`
251251
toast.success('Success data with Tailwind Css',{
252-
className: 'bg-orange-100 text-orange-900',${selectedPosition ? `
252+
className: 'bg-[#282c34] text-[#e5e5e5] rounded-3xl',${selectedPosition ? `
253253
position: '${selectedPosition}'` : ''}
254254
})
255255
`)
@@ -291,7 +291,6 @@ toast.success('Success data with Tailwind Css',{
291291
</div>
292292
</div>
293293

294-
295294
{/* Example List */}
296295
<div className="flex flex-col lg:flex-row gap-8 p-6 xs:px-4 lg:px-20 md:lg:px-12 sm:lg:px-12 ">
297296
<div className="grid grid-cols-2 gap-4 flex-none lg:w-[45%] lg:max-h-[200px]">

0 commit comments

Comments
 (0)