develop #83

Merged
M-Gabrielly merged 426 commits from develop into main 2025-12-04 04:13:15 +00:00
2 changed files with 16 additions and 1 deletions
Showing only changes of commit f4abd44efe - Show all commits

View File

@ -1,7 +1,7 @@
@import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
/* Removed unsupported @custom-variant dark (&:is(.dark *)); */
:root {
--background: #ffffff;

View File

@ -0,0 +1,15 @@
'use client'
import { useEffect } from 'react'
import { useTheme } from 'next-themes'
export function useForceDefaultTheme() {
const { setTheme } = useTheme()
useEffect(() => {
// Força tema claro sempre que o componente montar
document.documentElement.classList.remove('dark')
localStorage.setItem('theme', 'light')
setTheme('light')
}, [setTheme])
}