style: remove text-gradient, use global colors

This commit is contained in:
DanielS
2026-08-11 22:08:30 +02:00
parent 7346b42ff3
commit 5b9a0c609d
8 changed files with 9 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ export default async function AdminCategoriesPage() {
<div className="flex-1 space-y-8 p-8 pt-6"> <div className="flex-1 space-y-8 p-8 pt-6">
<div className="flex items-center justify-between space-y-2"> <div className="flex items-center justify-between space-y-2">
<div> <div>
<h2 className="text-3xl font-bold tracking-tight text-gradient flex items-center gap-3"> <h2 className="text-3xl font-bold tracking-tight text-white flex items-center gap-3">
<LayoutGrid className="w-8 h-8 text-primary" /> <LayoutGrid className="w-8 h-8 text-primary" />
Kategorien Kategorien
</h2> </h2>

View File

@@ -7,7 +7,7 @@ export default async function AdminOrdersPage() {
<div className="p-8 space-y-6"> <div className="p-8 space-y-6">
<div className="flex justify-between items-center"> <div className="flex justify-between items-center">
<div> <div>
<h1 className="text-3xl font-bold tracking-tight text-gradient">Bestellungen</h1> <h1 className="text-3xl font-bold tracking-tight text-white">Bestellungen</h1>
<p className="text-slate-400">Verwalten Sie alle Kundenbestellungen und greifen Sie auf generierte Annfragesbestätigungen zu.</p> <p className="text-slate-400">Verwalten Sie alle Kundenbestellungen und greifen Sie auf generierte Annfragesbestätigungen zu.</p>
</div> </div>
</div> </div>

View File

@@ -41,7 +41,7 @@ export default async function AdminDashboard() {
return ( return (
<div className="p-8 space-y-8"> <div className="p-8 space-y-8">
<h2 className="text-3xl font-bold tracking-tight text-gradient">Dashboard</h2> <h2 className="text-3xl font-bold tracking-tight text-white">Dashboard</h2>
{/* KPI Cards echte DB-Daten */} {/* KPI Cards echte DB-Daten */}
<div className="grid gap-4 md:grid-cols-2 lg:grid-cols-4"> <div className="grid gap-4 md:grid-cols-2 lg:grid-cols-4">

View File

@@ -10,7 +10,7 @@ export default async function AdminProductsPage() {
<div className="flex-1 space-y-8 p-8 pt-6"> <div className="flex-1 space-y-8 p-8 pt-6">
<div className="flex items-center justify-between space-y-2"> <div className="flex items-center justify-between space-y-2">
<div> <div>
<h2 className="text-3xl font-bold tracking-tight text-gradient flex items-center gap-3"> <h2 className="text-3xl font-bold tracking-tight text-white flex items-center gap-3">
<Package className="w-8 h-8 text-primary" /> <Package className="w-8 h-8 text-primary" />
Produkte & Module Produkte & Module
</h2> </h2>

View File

@@ -14,7 +14,7 @@ export default async function AdminUsersPage() {
<div className="flex-1 space-y-8 p-8 pt-6"> <div className="flex-1 space-y-8 p-8 pt-6">
<div className="flex items-center justify-between space-y-2"> <div className="flex items-center justify-between space-y-2">
<div> <div>
<h2 className="text-3xl font-bold tracking-tight text-gradient flex items-center gap-3"> <h2 className="text-3xl font-bold tracking-tight text-white flex items-center gap-3">
<Users className="w-8 h-8 text-primary" /> <Users className="w-8 h-8 text-primary" />
Benutzerverwaltung Benutzerverwaltung
</h2> </h2>

View File

@@ -10,7 +10,7 @@ export default async function WysiwygAdminPage() {
<div className="flex-1 space-y-8 p-8 pt-6"> <div className="flex-1 space-y-8 p-8 pt-6">
<div className="flex items-center justify-between space-y-2"> <div className="flex items-center justify-between space-y-2">
<div> <div>
<h2 className="text-3xl font-bold tracking-tight text-gradient flex items-center gap-3"> <h2 className="text-3xl font-bold tracking-tight text-white flex items-center gap-3">
<Edit className="w-8 h-8 text-primary" /> <Edit className="w-8 h-8 text-primary" />
WYSIWYG Live-Editor WYSIWYG Live-Editor
</h2> </h2>

View File

@@ -2,6 +2,7 @@
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
html { html {
color-scheme: dark; color-scheme: dark;
} }

View File

@@ -159,7 +159,7 @@ export default async function OrderSuccessPage({
</div> </div>
<div className="flex justify-between text-base font-bold text-white"> <div className="flex justify-between text-base font-bold text-white">
<span>Brutto Gesamtbetrag:</span> <span>Brutto Gesamtbetrag:</span>
<span className={monthlyNet > 0 ? "text-white" : "text-gradient"}> <span className={monthlyNet > 0 ? "text-white" : "text-primary"}>
{new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(oneTimeGross)} {new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(oneTimeGross)}
</span> </span>
</div> </div>
@@ -183,7 +183,7 @@ export default async function OrderSuccessPage({
</div> </div>
<div className="flex justify-between text-base font-bold text-white"> <div className="flex justify-between text-base font-bold text-white">
<span>Brutto Gesamtbetrag:</span> <span>Brutto Gesamtbetrag:</span>
<span className="text-gradient"> <span className="text-primary">
{new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(monthlyGross)} / Monat {new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(monthlyGross)} / Monat
</span> </span>
</div> </div>