Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/dark mode session option #212

Merged
merged 5 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/planner/schedules/ResponsiveLessonBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const ResponsiveLessonBox = ({
<div className='flex w-full justify-between gap-2'>
<strong title="Sigla da Unidade Curricular" className='text-lg'>{courseInfo.acronym}</strong>
<span title={getLessonTypeLongName(lessonType)} className='text-lg'>{lessonType}</span>

</div>

<div className="flex flex-col">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ const CsvExport = () => {
return (
<button
onClick={exportCSV}
className="group flex w-full items-center gap-2 rounded-md p-1 text-sm text-gray-900 disabled:cursor-not-allowed disabled:opacity-50"
className="group flex w-full items-center gap-2n dark:text-white rounded-md p-1 text-gray text-sm disabled:cursor-not-allowed disabled:opacity-50"
>
<ArrowUpOnSquareIcon className="h-5 w-5 text-secondary" />
<span>Exportar Opções (CSV)</span>
</button>
<ArrowUpOnSquareIcon className="h-5 w-5 text-secondary black:hover:brightness-200" />
<span className="pl-1"> Exportar Opções (CSV)</span>
</button>
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ const NitSigExport = () => {
<TooltipTrigger asChild>
<button
onClick={() => {}}
className="group flex w-full items-center gap-2 rounded-md p-1 text-sm text-gray-900 disabled:cursor-not-allowed disabled:opacity-50"
className="group flex w-full items-center gap-2 rounded-md p-1 text-sm text-white-900 disabled:cursor-not-allowed disabled:opacity-50"
disabled
>
<NitSigIconSVG className="h-4 w-4" />
<span>Exportar para o Sigarra</span>
<NitSigIconSVG className="h-4 w-4 black:brightness-150 rounded" />
<span className=" dark:text-white">Exportar para o Sigarra</span>
</button>
</TooltipTrigger>
<TooltipContent side="bottom">Disponível em breve</TooltipContent>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const DropdownMenuContent = React.forwardRef<
ref={ref}
sideOffset={sideOffset}
className={cn(
'text-slate-950 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:bg-slate-950 z-50 min-w-[8rem] overflow-hidden rounded-md border border-slate-200 bg-white p-1 shadow-md dark:border-slate-800 dark:text-slate-50',
'text-slate-950 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:bg-slate-950 z-50 min-w-[8rem] overflow-hidden rounded-md border border-slate-200 bg-white p-1 shadow-md dark:bg-gray-900 dark:border-slate-800 dark:text-slate-50',
className
)}
{...props}
Expand Down