mudanca do background global para

This commit is contained in:
2026-11-24 11:53:20 +02:00
parent 8caf3e41cd
commit 89cae9c8ee
11 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -215,7 +215,7 @@
} }
:root { :root {
--background: oklch(1 0 0); --background: #d8e2db;
--foreground: oklch(0.145 0 0); --foreground: oklch(0.145 0 0);
--card: oklch(1 0 0); --card: oklch(1 0 0);
--card-foreground: oklch(0.145 0 0); --card-foreground: oklch(0.145 0 0);
@@ -251,7 +251,7 @@
} }
.dark { .dark {
--background: oklch(0.145 0 0); --background: #0d302a;
--foreground: oklch(0.985 0 0); --foreground: oklch(0.985 0 0);
--card: oklch(0.145 0 0); --card: oklch(0.145 0 0);
--card-foreground: oklch(0.985 0 0); --card-foreground: oklch(0.985 0 0);
+1 -1
View File
@@ -1058,7 +1058,7 @@ export default function PortalInvestidorApp({
return ( return (
<SectorContext.Provider value={sectors}> <SectorContext.Provider value={sectors}>
<div className="min-h-screen bg-slate-50 font-sans text-slate-900"> <div className="min-h-screen bg-background font-sans text-slate-900">
{view !== 'home' && ( {view !== 'home' && (
<TopBar <TopBar
onNavigate={navigate} onNavigate={navigate}
+1 -1
View File
@@ -114,7 +114,7 @@ export function Frame({
flash?: { success?: string; warning?: string }; flash?: { success?: string; warning?: string };
}>().props; }>().props;
return ( return (
<div className="min-h-screen bg-slate-50 text-slate-900"> <div className="min-h-screen bg-background text-slate-900">
<Head title={title} /> <Head title={title} />
<PortalMenu /> <PortalMenu />
<main <main
+1 -1
View File
@@ -14,7 +14,7 @@ export default function ManagementAccess({
const action = const action =
'inline-flex rounded-lg bg-slate-900 px-5 py-3 font-medium text-white'; 'inline-flex rounded-lg bg-slate-900 px-5 py-3 font-medium text-white';
return ( return (
<main className="min-h-screen bg-slate-50 px-5 py-12 text-slate-900"> <main className="min-h-screen bg-background px-5 py-12 text-slate-900">
<Head title="Acesso à gestão" /> <Head title="Acesso à gestão" />
<div className="mx-auto max-w-2xl space-y-6"> <div className="mx-auto max-w-2xl space-y-6">
<Link href="/" className="text-emerald-700 underline"> <Link href="/" className="text-emerald-700 underline">
+1 -1
View File
@@ -16,7 +16,7 @@ export default function DocumentPage({
articleUrl?: string | null; articleUrl?: string | null;
}) { }) {
return ( return (
<div className="min-h-screen bg-slate-50 text-slate-900"> <div className="min-h-screen bg-background text-slate-900">
<Head title={resource.title} /> <Head title={resource.title} />
<PortalMenu /> <PortalMenu />
<main className="mx-auto max-w-4xl space-y-6 px-5 py-10"> <main className="mx-auto max-w-4xl space-y-6 px-5 py-10">
+1 -1
View File
@@ -78,7 +78,7 @@ export default function FiscalForms({
// Other tax preparation may still contain unsaved edits. // Other tax preparation may still contain unsaved edits.
} }
return ( return (
<div className="min-h-screen bg-slate-50 text-slate-900"> <div className="min-h-screen bg-background text-slate-900">
<Head title="Preencher formulário fiscal" /> <Head title="Preencher formulário fiscal" />
<div className="print:hidden"> <div className="print:hidden">
<PortalMenu /> <PortalMenu />
@@ -4,7 +4,7 @@ import { Head } from '@inertiajs/react';
export default function InvestmentContexts() { export default function InvestmentContexts() {
return ( return (
<div className="min-h-screen bg-slate-50 text-slate-900"> <div className="min-h-screen bg-background text-slate-900">
<Head title="Contextos de investimento" /> <Head title="Contextos de investimento" />
<main className="mx-auto max-w-6xl min-w-0 space-y-6 px-5 py-10"> <main className="mx-auto max-w-6xl min-w-0 space-y-6 px-5 py-10">
<h1 className="text-3xl font-bold text-[#ed1c24]"> <h1 className="text-3xl font-bold text-[#ed1c24]">
+1 -1
View File
@@ -335,7 +335,7 @@ export default function Search({
const highlight = useMemo(() => buildHighlightRegex(query), [query]); const highlight = useMemo(() => buildHighlightRegex(query), [query]);
return ( return (
<main className="min-h-[65vh] bg-slate-50 text-[#101820]"> <main className="min-h-[65vh] bg-background text-[#101820]">
<Head title="Pesquisa" /> <Head title="Pesquisa" />
<section className="relative overflow-hidden bg-[#101820] text-white"> <section className="relative overflow-hidden bg-[#101820] text-white">
<div <div
+1 -1
View File
@@ -591,7 +591,7 @@ export default function Services(p: Props) {
formTypes.includes(resource.document_type), formTypes.includes(resource.document_type),
) ?? -1; ) ?? -1;
return ( return (
<div className="min-h-screen bg-slate-50 text-slate-900"> <div className="min-h-screen bg-background text-slate-900">
<Head title={title} /> <Head title={title} />
<PortalMenu /> <PortalMenu />
<main className="mx-auto max-w-6xl min-w-0 space-y-8 overflow-x-clip px-5 py-10"> <main className="mx-auto max-w-6xl min-w-0 space-y-8 overflow-x-clip px-5 py-10">
+1 -1
View File
@@ -10,7 +10,7 @@ export default function Welcome() {
return ( return (
<> <>
<Head title="Welcome" /> <Head title="Welcome" />
<div className="flex min-h-screen flex-col items-center bg-[#FDFDFC] p-6 text-[#1b1b18] lg:justify-center lg:p-8 dark:bg-[#0a0a0a]"> <div className="flex min-h-screen flex-col items-center bg-background p-6 text-[#1b1b18] lg:justify-center lg:p-8">
<header className="mb-6 w-full max-w-[335px] text-sm not-has-[nav]:hidden lg:max-w-4xl"> <header className="mb-6 w-full max-w-[335px] text-sm not-has-[nav]:hidden lg:max-w-4xl">
<nav className="flex items-center justify-end gap-4"> <nav className="flex items-center justify-end gap-4">
{auth.user ? ( {auth.user ? (
+3 -3
View File
@@ -19,14 +19,14 @@
})(); })();
</script> </script>
{{-- Inline style to set the HTML background color based on our theme in app.css --}} {{-- Cor de fundo geral definida para o portal --}}
<style> <style>
html { html {
background-color: oklch(1 0 0); background-color: #d8e2db;
} }
html.dark { html.dark {
background-color: oklch(0.145 0 0); background-color: #0d302a;
} }
</style> </style>