From 19caeca637ebebdb4bb23ecd9edc75ee2d503dca Mon Sep 17 00:00:00 2001 From: MichalC <103170279+wSBMichalee@users.noreply.github.com> Date: Tue, 1 Sep 2026 23:37:49 +0200 Subject: [PATCH] style: update dark theme to neutral anthracite and add technical monospace section labels --- src/app/globals.css | 8 +++---- src/blocks/Affiliation/Component.tsx | 18 +++++++-------- src/blocks/FAQTeaser/Component.tsx | 32 ++++++++++++--------------- src/blocks/FinalCTA/Component.tsx | 5 ++--- src/blocks/Process/Component.tsx | 3 +++ src/blocks/ServicesList/Component.tsx | 3 +++ src/blocks/Stats/Component.tsx | 3 +++ src/blocks/Testimonials/Component.tsx | 4 ++-- 8 files changed, 40 insertions(+), 36 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 589d715..1274132 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -25,11 +25,11 @@ } [data-theme="dark"] { - /* Ciemny motyw: głęboki, ciepły granat/antracyt */ - --bg-color: #0F172A; + /* Ciemny motyw: czysty, głęboki antracyt (bez niebieskiego odcienia) */ + --bg-color: #121212; --fg-color: #F8FAFC; - --card-color: #1E293B; - --border-color: #334155; + --card-color: #18181B; + --border-color: #27272A; /* Jasny złoty/ochra dla zachowania kontrastu na ciemnym tle */ --accent-color: #C5A880; diff --git a/src/blocks/Affiliation/Component.tsx b/src/blocks/Affiliation/Component.tsx index 66a538b..08e837f 100644 --- a/src/blocks/Affiliation/Component.tsx +++ b/src/blocks/Affiliation/Component.tsx @@ -10,15 +10,15 @@ export const AffiliationBlock: React.FC = ({ title, description, logo, li return (
- +
-

{title}

-

{description}

+
+ // Zaufanie +
+

+ {title} +

+

{description}

{linkText && ( {linkText} @@ -30,7 +30,7 @@ export const AffiliationBlock: React.FC = ({ title, description, logo, li {logo.alt
)} - +
) diff --git a/src/blocks/FAQTeaser/Component.tsx b/src/blocks/FAQTeaser/Component.tsx index cf0f208..ccf8364 100644 --- a/src/blocks/FAQTeaser/Component.tsx +++ b/src/blocks/FAQTeaser/Component.tsx @@ -9,29 +9,25 @@ type Props = Extract[0], { blockType: 'faqTeaser' }> export const FAQTeaserBlock: React.FC = ({ title, questions, linkText }) => { return (
-
- - {title} - +
+
+
+ // FAQ +
+

+ {title} +

+
{questions?.map((q: NonNullable[0], index: number) => ( - -

{q.question}

-

{q.answer}

-
+

{q.question}

+

{q.answer}

+
))}
diff --git a/src/blocks/FinalCTA/Component.tsx b/src/blocks/FinalCTA/Component.tsx index 867153e..517bc89 100644 --- a/src/blocks/FinalCTA/Component.tsx +++ b/src/blocks/FinalCTA/Component.tsx @@ -9,9 +9,8 @@ export const FinalCTABlock: React.FC = ({ title, subtitle, buttonText }) return (
-
- - Szybki i bezpośredni kontakt +
+ // Kontakt

diff --git a/src/blocks/Process/Component.tsx b/src/blocks/Process/Component.tsx index 67475dc..262045c 100644 --- a/src/blocks/Process/Component.tsx +++ b/src/blocks/Process/Component.tsx @@ -11,6 +11,9 @@ export const ProcessBlock: React.FC = ({ title, steps, ctaText }) => {
+
+ // Proces +

{title}

diff --git a/src/blocks/ServicesList/Component.tsx b/src/blocks/ServicesList/Component.tsx index 032cb62..a264674 100644 --- a/src/blocks/ServicesList/Component.tsx +++ b/src/blocks/ServicesList/Component.tsx @@ -11,6 +11,9 @@ export const ServicesListBlock: React.FC = ({ title, services }) => {
+
+ // Usługi +

{title}

diff --git a/src/blocks/Stats/Component.tsx b/src/blocks/Stats/Component.tsx index d4ffce8..3010d75 100644 --- a/src/blocks/Stats/Component.tsx +++ b/src/blocks/Stats/Component.tsx @@ -20,6 +20,9 @@ export const StatsBlock: React.FC = ({ title, subtitle, items }) =>
{(title || subtitle) && (
+
+ // Statystyki +
{title && (

{title} diff --git a/src/blocks/Testimonials/Component.tsx b/src/blocks/Testimonials/Component.tsx index 9adb79c..ac8377d 100644 --- a/src/blocks/Testimonials/Component.tsx +++ b/src/blocks/Testimonials/Component.tsx @@ -22,8 +22,8 @@ export const TestimonialsBlock: React.FC = ({ title, testimonials }) => { return (
-

- {title} +

+ // {title}