From 602f36d5581e3ced88fa61287ede24cc54716563 Mon Sep 17 00:00:00 2001 From: Justin Reiners Date: Thu, 26 Mar 2026 17:07:22 -0500 Subject: [PATCH] fix: replace non-standard color classes with theme system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace teal-brand→primary, teal-dark→primary-dark, teal-light→primary-light, gray-soft→gray-200, gray-brand→gray-900 across 53 files. Fixes theming not applying — colors now use CSS custom properties from org_config. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/routes/(public)/+page.svelte | 56 ++++++------ src/routes/(public)/about/+page.svelte | 68 +++++++------- .../(public)/adoption-process/+page.svelte | 56 ++++++------ .../(public)/become-a-foster/+page.svelte | 20 ++--- src/routes/(public)/contact/+page.svelte | 68 +++++++------- src/routes/(public)/donate/+page.svelte | 88 +++++++++---------- src/routes/(public)/events/+page.svelte | 44 +++++----- .../(public)/foster-resources/+page.svelte | 20 ++--- src/routes/(public)/happy-tails/+page.svelte | 34 +++---- .../(public)/happy-tails/submit/+page.svelte | 22 ++--- src/routes/(public)/how-to-help/+page.svelte | 50 +++++------ src/routes/(public)/pets/+page.svelte | 28 +++--- src/routes/(public)/pets/[slug]/+page.svelte | 50 +++++------ src/routes/(public)/sponsors/+page.svelte | 60 ++++++------- src/routes/(public)/volunteer/+page.svelte | 22 ++--- src/routes/(public)/why-adopt/+page.svelte | 16 ++-- src/routes/admin/analytics/+page.svelte | 20 ++--- src/routes/admin/applications/+page.svelte | 22 ++--- .../admin/applications/[id]/+page.svelte | 36 ++++---- src/routes/admin/content/+page.svelte | 16 ++-- src/routes/admin/donations/+page.svelte | 20 ++--- src/routes/admin/donations/[id]/+page.svelte | 10 +-- src/routes/admin/donations/new/+page.svelte | 10 +-- src/routes/admin/events/+page.svelte | 10 +-- src/routes/admin/events/[id]/+page.svelte | 10 +-- src/routes/admin/events/new/+page.svelte | 10 +-- src/routes/admin/expenses/+page.svelte | 20 ++--- src/routes/admin/expenses/[id]/+page.svelte | 10 +-- src/routes/admin/expenses/new/+page.svelte | 8 +- .../admin/foster-dashboard/+page.svelte | 20 ++--- src/routes/admin/fosters/+page.svelte | 14 +-- src/routes/admin/happy-tails/+page.svelte | 10 +-- .../admin/happy-tails/[id]/+page.svelte | 12 +-- src/routes/admin/happy-tails/new/+page.svelte | 12 +-- src/routes/admin/mentors/+page.svelte | 10 +-- src/routes/admin/mentors/[id]/+page.svelte | 14 +-- src/routes/admin/messages/+page.svelte | 12 +-- src/routes/admin/moderation/+page.svelte | 4 +- src/routes/admin/newsletter/+page.svelte | 16 ++-- src/routes/admin/reports/+page.svelte | 4 +- src/routes/admin/sponsors/+page.svelte | 10 +-- src/routes/admin/sponsors/[id]/+page.svelte | 10 +-- src/routes/admin/sponsors/new/+page.svelte | 10 +-- src/routes/admin/system/+page.svelte | 26 +++--- src/routes/admin/traffic/+page.svelte | 10 +-- src/routes/admin/users/+page.svelte | 16 ++-- src/routes/admin/users/[id]/+page.svelte | 12 +-- src/routes/admin/users/new/+page.svelte | 10 +-- src/routes/admin/vets/+page.svelte | 24 ++--- src/routes/admin/vets/[id]/+page.svelte | 8 +- src/routes/admin/vets/new/+page.svelte | 8 +- src/routes/admin/volunteers/+page.svelte | 14 +-- src/routes/admin/volunteers/[id]/+page.svelte | 16 ++-- 53 files changed, 603 insertions(+), 603 deletions(-) diff --git a/src/routes/(public)/+page.svelte b/src/routes/(public)/+page.svelte index 5f5837d..f0d7bd2 100644 --- a/src/routes/(public)/+page.svelte +++ b/src/routes/(public)/+page.svelte @@ -22,7 +22,7 @@ -
+
-
+
@@ -196,7 +196,7 @@
-

Upcoming Events

+

Upcoming Events

Join us at an upcoming event to meet our pets and support our mission.

@@ -211,14 +211,14 @@ {event.title}
{:else} -
- +
+
{/if}
-
+
@@ -229,7 +229,7 @@ year: 'numeric' })}
-

{event.title}

+

{event.title}

{#if event.location}
@@ -248,7 +248,7 @@
{:else}
- +

No upcoming events at this time.

@@ -273,7 +273,7 @@ {#if facebookUrl}
-

Follow Us

+

Follow Us

Stay up to date with our latest rescue stories, adoption news, and event announcements.

@@ -283,7 +283,7 @@ href={facebookUrl} target="_blank" rel="noopener noreferrer" - class="inline-flex items-center gap-2 text-teal-brand font-semibold hover:text-teal-dark transition-colors" + class="inline-flex items-center gap-2 text-primary font-semibold hover:text-primary-dark transition-colors" > diff --git a/src/routes/(public)/about/+page.svelte b/src/routes/(public)/about/+page.svelte index 85e7d46..55b9a75 100644 --- a/src/routes/(public)/about/+page.svelte +++ b/src/routes/(public)/about/+page.svelte @@ -12,10 +12,10 @@ -
+

{blocks?.intro?.heading ?? `About ${orgName}`}

-

+

{blocks?.intro?.text ?? 'Every pet deserves a second chance at a happy life.'}

@@ -25,8 +25,8 @@
-

{blocks?.mission?.heading ?? 'Our Mission'}

-
+

{blocks?.mission?.heading ?? 'Our Mission'}

+

{blocks?.mission?.text ?? `${orgName} is a foster-based rescue dedicated to saving animals in need and finding them loving forever homes. We believe every pet deserves safety, compassion, and a family to call their own.`}

@@ -37,41 +37,41 @@
-

{blocks?.how_we_work?.heading ?? 'How We Work'}

-
+

{blocks?.how_we_work?.heading ?? 'How We Work'}

+
-
-
- +
+
+
-

Foster-Based Model

+

Foster-Based Model

Every pet lives in a loving foster home where they receive personalized attention, socialization, and care while waiting for their forever family.

-
-
- +
+
+
-

Complete Vetting

+

Complete Vetting

Every pet in our care receives a full veterinary workup, vaccinations, spay/neuter surgery, microchipping, and any additional medical treatment they need.

-
-
- +
+
+
-

Thoughtful Matching

+

Thoughtful Matching

We carefully match each pet with the right family through our application and screening process — for a fit that lasts a lifetime.

@@ -84,8 +84,8 @@
-

Our Story

-
+

Our Story

+
{#if blocks?.story?.text}
{@html blocks.story.text}
{:else} @@ -108,36 +108,36 @@
-

Our Team & Volunteers

-
+

Our Team & Volunteers

+

{orgName} runs on the dedication of our volunteers — from foster families opening their homes to transport drivers, event coordinators, and behind-the-scenes helpers.

-
-

100%

-

Volunteer Run

+
+

100%

+

Volunteer Run

-
-

Foster

-

Based Network

+
+

Foster

+

Based Network

-
-

Hundreds

-

Of Pets Saved

+
+

Hundreds

+

Of Pets Saved

-
+

Want to Help?

-

+

See how you can make a difference in the lives of pets who need it most.

- + How to Help
diff --git a/src/routes/(public)/adoption-process/+page.svelte b/src/routes/(public)/adoption-process/+page.svelte index 6556945..b31cc2f 100644 --- a/src/routes/(public)/adoption-process/+page.svelte +++ b/src/routes/(public)/adoption-process/+page.svelte @@ -11,10 +11,10 @@ -
+

Adoption Process

-

Everything you need to know about adopting from us.

+

Everything you need to know about adopting from us.

@@ -25,7 +25,7 @@ Thank you for your interest in adopting a pet from {orgName}! {#if orgEmail} Please email us at - {orgEmail} +
{orgEmail} with any questions or concerns. {/if}

@@ -40,43 +40,43 @@
-

Frequently Asked Questions

-
+

Frequently Asked Questions

+
-
- +
+ What is the adoption process? - +

Submit an adoption application and complete each question thoroughly. Once submitted, the following steps will take place:

    -
  • Reference Check — We may contact your vet, landlord, and personal references.
  • -
  • Pre-Adoption Home Visit — We will schedule a visit to ensure the home is safe for the pet.
  • -
  • Meet & Greet — Once approved, we coordinate a time for you to meet the pet.
  • -
  • Adoption is Final — Adoption fees are non-refundable if the pet needs to be returned.
  • +
  • Reference Check — We may contact your vet, landlord, and personal references.
  • +
  • Pre-Adoption Home Visit — We will schedule a visit to ensure the home is safe for the pet.
  • +
  • Meet & Greet — Once approved, we coordinate a time for you to meet the pet.
  • +
  • Adoption is Final — Adoption fees are non-refundable if the pet needs to be returned.
-
- +
+ What are the adoption fees? - +
{#if adoptionFee} -

The standard adoption fee is ${adoptionFee}. Fees help cover veterinary care, vaccinations, spay/neuter, and microchipping.

+

The standard adoption fee is ${adoptionFee}. Fees help cover veterinary care, vaccinations, spay/neuter, and microchipping.

{:else}

Adoption fees vary. Contact us {#if orgEmail} - at {orgEmail} + at {orgEmail} {/if} for current fee information.

@@ -84,10 +84,10 @@
-
- +
+ What happens after my application is approved? - + @@ -96,10 +96,10 @@
-
- +
+ Have more questions? - + @@ -107,7 +107,7 @@

Contact us {#if orgEmail} - at {orgEmail} + at {orgEmail} {/if} and we will be happy to answer any questions.

@@ -119,17 +119,17 @@ {#if data.orgConfig.applications.adoptionEnabled} -
+

Ready to Apply?

-

+

Start the process today and take the first step toward welcoming a rescue pet into your family.

diff --git a/src/routes/(public)/become-a-foster/+page.svelte b/src/routes/(public)/become-a-foster/+page.svelte index c6b7ec9..065b274 100644 --- a/src/routes/(public)/become-a-foster/+page.svelte +++ b/src/routes/(public)/become-a-foster/+page.svelte @@ -11,10 +11,10 @@ -
+

Become a Foster

-

Open your heart and home to a pet in need.

+

Open your heart and home to a pet in need.

@@ -31,8 +31,8 @@
-

What Does Fostering Entail?

-
+

What Does Fostering Entail?

+

Fostering means taking in a pet and providing them with a safe, loving environment while they wait for their forever home. You are giving them the gift of a normal home life. @@ -52,8 +52,8 @@

-

What If I Want to Adopt My Foster Pet?

-
+

What If I Want to Adopt My Foster Pet?

+

We completely understand that you may fall in love with your foster pet — it happens more often than you might think! Foster families always get first consideration for adopting the animal in their care. @@ -67,20 +67,20 @@

-
+

Ready to Foster?

-

+

Fill out our foster application or reach out with any questions.

{#if fosterEnabled} - + Apply to Foster {/if} {#if orgEmail} - + Email Us {/if} diff --git a/src/routes/(public)/contact/+page.svelte b/src/routes/(public)/contact/+page.svelte index bedf8af..a0f469c 100644 --- a/src/routes/(public)/contact/+page.svelte +++ b/src/routes/(public)/contact/+page.svelte @@ -17,10 +17,10 @@ -
+

{blocks?.intro?.heading ?? 'Contact Us'}

-

+

{blocks?.intro?.text ?? 'We would love to hear from you.'}

@@ -35,28 +35,28 @@
{#if orgEmail} -
-
- + {/if} {#if blocks?.info?.address} -
-
- +
+
+
-

Mailing Address

+

Mailing Address

{blocks.info.address}

{/if} @@ -65,23 +65,23 @@ {#if facebookUrl || instagramUrl}
-

Follow Us

-
+

Follow Us

+
@@ -93,8 +93,8 @@
-

Send Us a Message

-
+

Send Us a Message

+
{#if form?.success}
@@ -112,7 +112,7 @@
-
-
- +
-