Skip to content

Commit

Permalink
docs: update links (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Jan 10, 2024
1 parent 92ce738 commit 92e465d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/www/src/content/components/sonner.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The Sonner component is provided by [svelte-sonner](https://svelte-sonner.vercel
Setup theme support
</Step>

By default, Sonner will use the user's system preferences to determine whether to show the light or dark theme. To get around this, you can either pass in a custom `theme` prop to the component, or simply use `mode-watcher` which you can hardcode to `dark` or `light` mode should you wish.
By default, Sonner will use the user's system preferences to determine whether to show the light or dark theme. To get around this, you can either pass in a custom `theme` prop to the component, or simply use [mode-watcher](https://github.com/svecosystem/mode-watcher) which you can hardcode to `dark` or `light` mode should you wish.

You can learn more about setting up Dark Mode support [here](/docs/dark-mode).

Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/content/dark-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: Adding dark mode to your site.

We use the `class` strategy from Tailwind CSS to support dark mode toggling. See the [Tailwind CSS documentation](https://tailwindcss.com/docs/dark-mode#toggling-dark-mode-manually) for more information.

How you add the ` dark` class to the `html` element is up to you. In this guide, we will take a look at enabling dark mode toggling with [mode-watcher](https://github.com/huntabyte/mode-watcher).
How you add the ` dark` class to the `html` element is up to you. In this guide, we will take a look at enabling dark mode toggling with [mode-watcher](https://github.com/svecosystem/mode-watcher).

## Usage

Expand Down

1 comment on commit 92e465d

@vercel
Copy link

@vercel vercel bot commented on 92e465d Jan 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.