Comments (2)
I changed this inside the sonner (locally)
<script lang="ts">
import { Toaster as Sonner, type ToasterProps as SonnerProps } from "svelte-sonner";
- import { mode } from "mode-watcher";
type $$Props = SonnerProps;
</script>
<Sonner
- theme={$mode}
class="toaster group"
toastOptions={{
classes: {
toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
description: "group-[.toast]:text-muted-foreground",
actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
},
}}
{...$$restProps}
/>
from shadcn-svelte.
I just re-read docs, closing this again.
from shadcn-svelte.
Related Issues (20)
- Vaul Svelte Link Broken
- Broken links due to directory renaming from apps/www/** to sites/docs/** HOT 2
- Add Time-line (Vertical, Horizontal) HOT 2
- Wrong line highlighted in Data Table Documentations HOT 2
- Specify @internationalized/date version when installing Calendar components
- Data Table - a combination of Pagination and Sort removes the sort property from the props object HOT 1
- #1203 Breaks paths to component source HOT 5
- Wrong Home and Line Chart icons in Blocks Dashboards
- Drawer Overlay receives an unexpected slot HOT 4
- When using TypeScript, path generated still use JavaScript HOT 2
- Checkbox: peer-checked doesn't work HOT 3
- Dialog and dropdown-menu: dialog replaces dropdown-menu on pressing esc button
- Cannot programmatically change values for things like tabs or dialogs HOT 2
- <Input type="file"> does not support bind:files HOT 1
- Tabs Like in the showcase website HOT 4
- Radiogroup item unselectable after removing from dynamic list HOT 2
- resizable component export typo HOT 1
- make tsconfig.json configurable
- Using DaisyUI causes Misaligned Sonner Layout HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadcn-svelte.