feat: implements next-themes
Adds `next-themes` to allow users to switch between light and dark themes.
This commit is contained in:
parent
b81210d2ea
commit
a56b6829a2
6 changed files with 34 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
import { clsx, type ClassValue } from "clsx"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
import { clsx, type ClassValue } from 'clsx';
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue