Skip to content

Commit 2c08815

Browse files
authored
Merge pull request #33 from NERC-EDS/dark-theme-fixes
updated dark theme style
2 parents 7cb5f46 + f049130 commit 2c08815

19 files changed

+112
-122
lines changed

src/components/AnnouncementBanner.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
and suggestions:
1111
</p>
1212
<span
13-
class="group-hover:underline group-focus:underline decoration-2 inline-flex justify-center items-center gap-x-2 font-semibold text-sm"
13+
class="group-hover:underline group-focus:underline decoration-2 inline-flex justify-center items-center gap-x-2 font-semibold text-sm text-gray-950"
1414
>
1515
1616
</span>

src/components/CaseStudiesPreview.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const { data, slug } = Astro.props.project;
3434

3535
<div class="mt-2">
3636
<h3
37-
class="text-xl font-semibold text-gray-800 group-hover:text-gray-600 dark:text-neutral-300 dark:group-hover:text-white"
37+
class="text-xl font-semibold dark:text-neutral-300 dark:group-hover:text-white"
3838
>
3939
{data.title}
4040
</h3>
@@ -48,7 +48,7 @@ const { data, slug } = Astro.props.project;
4848
}
4949
</div>
5050
</div>
51-
<p class="mt-3 text-gray-800 dark:text-neutral-200">
51+
<p class="mt-3 dark:white">
5252
{data.description}
5353
</p>
5454
<p

src/components/CoCreationMethodsList.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const groupedMethods = coCreationMethods.reduce<Record<string, CoCreationMethod[
117117
<h4 class="text-base sm:text-lg font-semibold text-gray-800 dark:text-neutral-200">
118118
{method.title}
119119
</h4>
120-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
120+
<p class="mt-1 dark:text-neutral-400">
121121
{method.description}
122122
</p>
123123
<p class="mt-3 inline-flex items-center gap-x-1 text-sm font-semibold text-gray-800 dark:text-neutral-200">

src/components/CoDesignDefinition.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<h3 class="text-lg font-semibold ">
2626
Shared Ownership
2727
</h3>
28-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
28+
<p class="mt-1 dark:text-neutral-400">
2929
Everyone involved in the project, including users, stakeholders, and designers, shares responsibility for the design process and its outcomes.
3030
</p>
3131
</div>
@@ -39,7 +39,7 @@
3939
<h3 class="text-lg font-semibold ">
4040
Active Participation
4141
</h3>
42-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
42+
<p class="mt-1 dark:text-neutral-400">
4343
Users and stakeholders actively contribute their knowledge, experiences, and perspectives throughout the entire design process.
4444
</p>
4545
</div>
@@ -53,7 +53,7 @@
5353
<h3 class="text-lg font-semibold ">
5454
Open Communication
5555
</h3>
56-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
56+
<p class="mt-1 dark:text-neutral-400">
5757
Open and honest communication is essential, fostering a safe space for sharing ideas, feedback, and concerns.
5858
</p>
5959
</div>
@@ -67,7 +67,7 @@
6767
<h3 class="text-lg font-semibold ">
6868
Iterative Process
6969
</h3>
70-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
70+
<p class="mt-1 dark:text-neutral-400">
7171
Co-design is not a linear process; it involves continuous cycles of prototyping, testing, and refining solutions based on user feedback.
7272
</p>
7373
</div>

src/components/CommunityComponent.astro

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
<div class="mt-5 lg:mt-16 grid lg:grid-cols-3 gap-8 lg:gap-12">
1313
<div class="lg:col-span-1">
1414
<h2
15-
class="font-bold text-2xl md:text-3xl text-gray-800 dark:text-neutral-200"
15+
class="font-bold text-2xl md:text-3xl dark:text-neutral-200"
1616
>
1717
Contribute to the Co-Creation Toolkit
1818
</h2>
19-
<p class="mt-2 md:mt-4 text-gray-500 dark:text-neutral-500">
19+
<p class="mt-2 md:mt-4 dark:text-neutral-500">
2020
This toolkit is a collaborative effort, and we welcome your
2121
contributions! Help us make environmental data tools and services better
2222
for everyone.
@@ -54,10 +54,10 @@
5454
d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg
5555
>
5656
<div class="grow">
57-
<h3 class="text-lg font-semibold text-gray-800 dark:text-white">
57+
<h3 class="text-lg font-semibold dark:text-white">
5858
Share Case Studies
5959
</h3>
60-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
60+
<p class="mt-1 dark:text-neutral-400">
6161
Share co-design applications in environmental data projects.
6262
Inspire others with your real-world examples.
6363
</p>
@@ -82,10 +82,10 @@
8282
d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg
8383
>
8484
<div class="grow">
85-
<h3 class="text-lg font-semibold text-gray-800 dark:text-white">
85+
<h3 class="text-lg font-semibold dark:text-white">
8686
Add Toolkit Resources
8787
</h3>
88-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
88+
<p class="mt-1 dark:text-neutral-400">
8989
Contribute templates, guides, or documents to help others use
9090
co-design and UX best practices.
9191
</p>
@@ -111,10 +111,10 @@
111111
></path></svg
112112
>
113113
<div class="grow">
114-
<h3 class="text-lg font-semibold text-gray-800 dark:text-white">
114+
<h3 class="text-lg font-semibold dark:text-white">
115115
Suggest Improvements / Provide Feedback
116116
</h3>
117-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
117+
<p class="mt-1 dark:text-neutral-400">
118118
Be part of the EDS Co-Creation Toolkit community! Discuss, ask
119119
questions, and suggest topics on our <a
120120
href="https://github.com/pautva/co-creation-toolkit/discussions"
@@ -149,10 +149,10 @@
149149
y2="16"></line><line x1="16" x2="16" y1="16" y2="16"></line></svg
150150
>
151151
<div class="grow">
152-
<h3 class="text-lg font-semibold text-gray-800 dark:text-white">
152+
<h3 class="text-lg font-semibold dark:text-white">
153153
Report Bugs
154154
</h3>
155-
<p class="mt-1 text-gray-600 dark:text-neutral-400">
155+
<p class="mt-1 dark:text-neutral-400">
156156
Found an issue? Let us know!
157157
</p>
158158
</div>

src/components/FAQ.astro

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="md:col-span-2">
66
<div class="max-w-xs">
77
<h2 class="text-2xl font-bold md:text-4xl md:leading-tight dark:text-white">Frequently<br>Asked Questions</h2>
8-
<p class="mt-1 hidden md:block text-gray-600 dark:text-neutral-400">Answers to the most frequently asked questions. If you have additional questions or want to learn more about how to contribute, please don't hesitate to reach out to us.</p>
8+
<p class="mt-1 hidden md:block dark:text-neutral-400">Answers to the most frequently asked questions. If you have additional questions or want to learn more about how to contribute, please don't hesitate to reach out to us.</p>
99
</div>
1010
</div>
1111
<!-- End Col -->
@@ -14,78 +14,78 @@
1414
<!-- Accordion -->
1515
<div class="hs-accordion-group divide-y divide-gray-200 dark:divide-neutral-700">
1616
<div class="hs-accordion pb-3 active" id="hs-basic-with-title-and-arrow-stretched-heading-one">
17-
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-one">
17+
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-one">
1818
Who is this toolkit for?
1919
<svg class="hs-accordion-active:hidden block flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>
2020
<svg class="hs-accordion-active:block hidden flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
2121
</button>
2222
<div id="hs-basic-with-title-and-arrow-stretched-collapse-one" class="hs-accordion-content w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-with-title-and-arrow-stretched-heading-one">
23-
<p class="text-gray-600 dark:text-neutral-400">
23+
<p class="dark:text-neutral-400">
2424
This toolkit is designed for anyone involved in creating environmental data services and products, including researchers, developers, designers, and project managers.
2525
</p>
2626
</div>
2727
</div>
2828

2929
<div class="hs-accordion pt-6 pb-3" id="hs-basic-with-title-and-arrow-stretched-heading-two">
30-
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-two">
30+
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-two">
3131
What kind of resources are included in the toolkit?
3232
<svg class="hs-accordion-active:hidden block flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>
3333
<svg class="hs-accordion-active:block hidden flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
3434
</button>
3535
<div id="hs-basic-with-title-and-arrow-stretched-collapse-two" class="hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-with-title-and-arrow-stretched-heading-two">
36-
<p class="text-gray-600 dark:text-neutral-400">
36+
<p class="dark:text-neutral-400">
3737
The toolkit includes a variety of resources, such as case studies showcasing successful UX in environmental data products, templates for UX deliverables, and links to external tools. We are actively seeking your input to understand your needs and ensure the toolkit is tailored to address them effectively.
3838
</p>
3939
</div>
4040
</div>
4141

4242
<div class="hs-accordion pt-6 pb-3" id="hs-basic-with-title-and-arrow-stretched-heading-three">
43-
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-three">
43+
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-three">
4444
How can this toolkit help me improve my environmental data products?
4545
<svg class="hs-accordion-active:hidden block flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>
4646
<svg class="hs-accordion-active:block hidden flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
4747
</button>
4848
<div id="hs-basic-with-title-and-arrow-stretched-collapse-three" class="hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-with-title-and-arrow-stretched-heading-three">
49-
<p class="text-gray-600 dark:text-neutral-400">
49+
<p class="dark:text-neutral-400">
5050
The toolkit provides you with practical guidance and tools for conducting user research, designing user-centric interfaces, and evaluating the usability of your products.
5151
</p>
5252
</div>
5353
</div>
5454

5555
<div class="hs-accordion pt-6 pb-3" id="hs-basic-with-title-and-arrow-stretched-heading-three">
56-
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-three">
56+
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-three">
5757
How does focusing on users help when creating environmental data products and services?
5858
<svg class="hs-accordion-active:hidden block flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>
5959
<svg class="hs-accordion-active:block hidden flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
6060
</button>
6161
<div id="hs-basic-with-title-and-arrow-stretched-collapse-three" class="hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-with-title-and-arrow-stretched-heading-three">
62-
<p class="text-gray-600 dark:text-neutral-400">
62+
<p class="dark:text-neutral-400">
6363
It helps to create data products and services that are relevant, easy to use, and tailored to specific needs. This leads to higher user engagement and better-informed decisions.
6464
</p>
6565
</div>
6666
</div>
6767

6868
<div class="hs-accordion pt-6 pb-3" id="hs-basic-with-title-and-arrow-stretched-heading-four">
69-
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-four">
69+
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-four">
7070
Is this toolkit only for experienced UX professionals?
7171
<svg class="hs-accordion-active:hidden block flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>
7272
<svg class="hs-accordion-active:block hidden flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
7373
</button>
7474
<div id="hs-basic-with-title-and-arrow-stretched-collapse-four" class="hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-with-title-and-arrow-stretched-heading-four">
75-
<p class="text-gray-600 dark:text-neutral-400">
75+
<p class="dark:text-neutral-400">
7676
No, the toolkit is designed to be accessible to users with varying levels of UX experience. It includes resources for both beginners and experienced practitioners.
7777
</p>
7878
</div>
7979
</div>
8080

8181
<div class="hs-accordion pt-6 pb-3" id="hs-basic-with-title-and-arrow-stretched-heading-five">
82-
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start text-gray-800 rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-five">
82+
<button class="hs-accordion-toggle group pb-3 inline-flex items-center justify-between gap-x-3 w-full md:text-lg font-semibold text-start rounded-lg transition hover:text-gray-500 dark:text-neutral-200 dark:hover:text-neutral-400" aria-controls="hs-basic-with-title-and-arrow-stretched-collapse-five">
8383
How can I contribute to this toolkit?
8484
<svg class="hs-accordion-active:hidden block flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>
8585
<svg class="hs-accordion-active:block hidden flex-shrink-0 size-5 text-gray-600 group-hover:text-gray-500 dark:text-neutral-400" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m18 15-6-6-6 6"/></svg>
8686
</button>
8787
<div id="hs-basic-with-title-and-arrow-stretched-collapse-five" class="hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300" aria-labelledby="hs-basic-with-title-and-arrow-stretched-heading-five">
88-
<p class="text-gray-600 dark:text-neutral-400">
88+
<p class="dark:text-neutral-400">
8989
We encourage community contributions! You can share your own resources, case studies, or suggest improvements via our <a href="https://github.com/pautva/co-creation-toolkit" class="text-blue-600">GitHub repository</a>. You can also get in touch with us at <a href="mailto:[email protected]" class="text-blue-600">[email protected]</a>
9090
</p>
9191
</div>

0 commit comments

Comments
 (0)