fix: calendar-colors

This commit is contained in:
João Gustavo 2025-11-27 17:52:01 -03:00
parent 19260f7e27
commit 73eb35b21b
2 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ export default function AgendamentoPage() {
// Mapa de classes para cores conhecidas
const colorClassMap: Record<string, string> = {
blue: "bg-blue-500 ring-blue-500/20",
green: "bg-green-500 ring-green-500/20",
green: "bg-[#10B981] ring-[#10B981]/20",
orange: "bg-orange-500 ring-orange-500/20",
red: "bg-red-500 ring-red-500/20",
purple: "bg-purple-500 ring-purple-500/20",
@ -242,7 +242,7 @@ export default function AgendamentoPage() {
<span className="text-foreground text-xs sm:text-sm font-medium">Solicitado</span>
</div>
<div className="flex items-center gap-2">
<span aria-hidden className="h-2 w-2 sm:h-3 sm:w-3 rounded-full bg-green-500 ring-1 ring-white/6" />
<span aria-hidden className="h-2 w-2 sm:h-3 sm:w-3 rounded-full ring-1 ring-white/6" style={{ backgroundColor: '#10B981' }} />
<span className="text-foreground text-xs sm:text-sm font-medium">Confirmado</span>
</div>
<div className="flex items-center gap-2">

View File

@ -55,7 +55,7 @@ export interface EventManagerProps {
const defaultColors = [
{ name: "Blue", value: "blue", bg: "bg-blue-500", text: "text-blue-700" },
{ name: "Green", value: "green", bg: "bg-green-500", text: "text-green-700" },
{ name: "Green", value: "green", bg: "bg-[#10B981]", text: "text-green-700" },
{ name: "Purple", value: "purple", bg: "bg-purple-500", text: "text-purple-700" },
{ name: "Orange", value: "orange", bg: "bg-orange-500", text: "text-orange-700" },
{ name: "Pink", value: "pink", bg: "bg-pink-500", text: "text-pink-700" },