Skip to content

Commit

Permalink
update secondary text color in dark mode for index
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrtsky committed Jun 16, 2021
1 parent 98e0aa0 commit 4e50a7e
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 12 deletions.
4 changes: 2 additions & 2 deletions nuxtjs.org/components/HomeCommunity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
justify-between
space-y-4
border-2 border-gray-200
dark:border-secondary-light
dark:border-secondary-dark
rounded-lg
p-4
"
Expand All @@ -64,7 +64,7 @@
class="flex flex-1 pl-4 text-left flex-col"
>
<ALabel tag="span" class="font-bold text-base">{{ testimonial.author }}</ALabel>
<ALabel tag="span" class="text-sm">{{ testimonial.job }}</ALabel>
<ALabel tag="span" class="text-sm dark:text-cloud-lighter">{{ testimonial.job }}</ALabel>
</a>
<a :href="testimonial.jobUrl" target="_blank" rel="noopener sponsored" class="hidden xl:block">
<img
Expand Down
17 changes: 15 additions & 2 deletions nuxtjs.org/components/HomeHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,28 @@
<h1 class="font-normal font-serif text-display-5 xs:text-display-4 md:text-display-3 2xl:text-display-2 mb-4">
<Markdown slot="title" unwrap="p" />
</h1>
<h2 class="font-normal text-body-base xs:text-body-lg md:text-body-xl 2xl:text-body-2xl mb-8 px-8 sm:px-0">
<h2
class="
font-normal
text-body-base
xs:text-body-lg
md:text-body-xl
2xl:text-body-2xl
mb-8
px-8
sm:px-0
text-secondary-dark
dark:text-cloud-lighter
"
>
<Markdown slot="description" unwrap="p" />
</h2>
<div class="flex flex-wrap justify-center space-x-3 xl:space-x-4">
<SectionButton
:to="primary.url"
:aria-label="primary.text"
size="md"
class="bg-primary-green text-gray-800 hover:bg-green-300 focus:bg-green-300"
class="bg-primary text-gray-800 hover:bg-green-300 focus:bg-green-300"
:icon-left="primary.icon"
>{{ primary.text }}</SectionButton
>
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/MFooterFoot.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<MFooterSocialLinks />
<p class="mt-8 text-base light:text-gray-400 dark:text-secondary-lightest md:mt-0 md:order-1">
<p class="mt-8 text-base light:text-gray-400 dark:text-cloud-light md:mt-0 md:order-1">
&copy; 2020 Workflow, Inc. All rights reserved.
</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/MFooterLanguage.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<h3 class="text-lg font-semibold light:text-gray-400 dark:text-secondary-light">Language</h3>
<h3 class="text-lg font-semibold light:text-gray-400 dark:text-cloud-light">Language</h3>
<form class="mt-4 sm:max-w-xs">
<fieldset class="w-full">
<MFooterLocaleSelector />
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/MFooterLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div>
<div v-for="(link, index) in links" :key="link.title">
<h3
class="font-semibold light:text-gray-400 dark:text-secondary-light text-lg"
class="font-semibold light:text-gray-400 dark:text-cloud-light text-lg"
:class="{ 'mt-16 md:mt-0': index !== 0 }"
>
{{ link.title }}
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/MFooterLocaleSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ASelectNative
v-model="locale"
:options="locales"
select-class="appearance-none block w-full bg-none dark:bg-transparent light:bg-white border light:border-gray-200 dark:border-secondary-dark rounded-md py-2 pl-3 pr-10 text-base light:text-gray-500 dark:text-secondary-surface focus:outline-none light:focus:ring-black dark:focus:ring-white light:focus:border-white dark:focus:border-secondary-light sm:text-sm"
select-class="appearance-none block w-full bg-none dark:bg-transparent light:bg-white border light:border-gray-200 dark:border-secondary-dark rounded-md py-2 pl-3 pr-10 text-base light:text-gray-500 dark:text-secondary-surface focus:outline-none light:focus:ring-black dark:focus:ring-white light:focus:border-gray-400 dark:focus:border-secondary-light sm:text-sm"
/>
</template>

Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/MFooterNewsLetter.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<div>
<h3 class="font-semibold light:text-gray-400 dark:text-secondary-light text-lg">Subscribe to our newsletter</h3>
<h3 class="font-semibold light:text-gray-400 dark:text-cloud-light text-lg">Subscribe to our newsletter</h3>
<p class="mt-2 text-base text-gray-500 dark:text-secondary-surface">
The latest news, articles, and resources, sent to your inbox weekly.
</p>
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/MFooterSocialLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ul class="flex items-center space-x-4 xl:space-x-5">
<li v-for="(social, key) in socials" :key="key">
<ALink :href="social.href">
<Component :is="social.icon" class="h-6 w-6 text-gray-400 dark:text-secondary-surface hover:text-primary" />
<Component :is="social.icon" class="h-6 w-6 text-gray-400 dark:text-cloud-lighter hover:text-primary" />
</ALink>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/MInputGroupButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
focus:outline-none
light:focus:ring-black
dark:focus:ring-white
light:focus:border-white
light:focus:border-gray-400
dark:focus:border-secondary-light
sm:text-sm
"
Expand Down
2 changes: 1 addition & 1 deletion nuxtjs.org/components/SectionContentItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<img class="mb-4" :src="image" :alt="`A ${title} image`" />
</slot>
<h3 class="mb-1 text-center text-body-lg lg:text-body-xl font-bold">{{ title }}</h3>
<p class="text-center text-sm lg:text-base dark:text-secondary-lightest">{{ description }}</p>
<p class="text-center text-sm lg:text-base dark:text-cloud-light">{{ description }}</p>
</div>
</li>
</template>
Expand Down

0 comments on commit 4e50a7e

Please sign in to comment.