Fixing colors (#6429)

This commit is contained in:
sean-brydon authored and GitHub committed 2023-01-12 16:57:43 +00:00
1 parent 3f71a41d7e
commit f21c4eb11e
66 files changed
+119 -138

No files matched your search

@@ -83,7 +83,7 @@ export default function ApiKeyDialogForm({
}}
type="button"
className="rounded-l-none py-[19px] text-base ">
<Icon.ClipboardCopyIcon className="h-5 w-5 text-neutral-100 ltr:mr-2 rtl:ml-2" />
<Icon.ClipboardCopyIcon className="h-5 w-5 text-gray-100 ltr:mr-2 rtl:ml-2" />
{t("copy")}
</Button>
</Tooltip>
@@ -84,12 +84,12 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
<div className="mt-3 text-center sm:mt-5">
<h3
className="text-2xl font-semibold leading-6 text-neutral-900 dark:text-white"
className="text-2xl font-semibold leading-6 text-gray-900 dark:text-white"
id="modal-headline">
{t("payment")}
</h3>
<div className="mt-3">
<p className="text-sm text-neutral-600 dark:text-gray-300">
<p className="text-sm text-gray-600 dark:text-gray-300">
{t("pay_later_instructions")}
</p>
</div>
@@ -122,7 +122,7 @@ export default function SAMLConfiguration({ teamId }: { teamId: number | null })
}}
type="button"
className="px-4 text-base">
<Icon.ClipboardCopyIcon className="h-5 w-5 text-neutral-100" />
<Icon.ClipboardCopyIcon className="h-5 w-5 text-gray-100" />
{t("copy")}
</Button>
</div>
@@ -142,7 +142,7 @@ export default function SAMLConfiguration({ teamId }: { teamId: number | null })
}}
type="button"
className="px-4 text-base">
<Icon.ClipboardCopyIcon className="h-5 w-5 text-neutral-100" />
<Icon.ClipboardCopyIcon className="h-5 w-5 text-gray-100" />
{t("copy")}
</Button>
</div>
@@ -40,7 +40,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
return (
<div className="w-full rounded-md border-gray-300 bg-white">
<div className="w-full py-5">
<p className="mb-1 px-5 text-neutral-500">{t("resources").toUpperCase()}</p>
<p className="mb-1 px-5 text-gray-500">{t("resources").toUpperCase()}</p>
<a
onClick={() => onHelpItemSelect()}
href="https://docs.cal.com/"
@@ -50,7 +50,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
{t("support_documentation")}
<Icon.FiExternalLink
className={classNames(
"text-neutral-400 group-hover:text-neutral-500",
"text-gray-400 group-hover:text-gray-500",
"ml-1 mt-px h-4 w-4 flex-shrink-0 ltr:mr-3"
)}
/>
@@ -64,7 +64,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
{t("developer_documentation")}
<Icon.FiExternalLink
className={classNames(
"text-neutral-400 group-hover:text-neutral-500",
"text-gray-400 group-hover:text-gray-500",
"ml-1 mt-px h-4 w-4 flex-shrink-0 ltr:mr-3"
)}
/>
@@ -76,7 +76,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
<hr className=" bg-gray-200" />
<div className="w-full p-5">
<p className="mb-1 text-neutral-500">{t("feedback").toUpperCase()}</p>
<p className="mb-1 text-gray-500">{t("feedback").toUpperCase()}</p>
<p className="flex w-full py-2 text-sm font-medium text-gray-700">{t("comments")}</p>
<textarea
id="comment"
@@ -195,10 +195,10 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
</div>
)}
</div>
<div className="w-full bg-neutral-50 p-5 text-neutral-500">
<div className="w-full bg-neutral-50 p-5 text-gray-500">
<p className="">{t("specific_issue")}</p>
<button
className="font-medium underline hover:text-neutral-700"
className="font-medium underline hover:text-gray-700"
onClick={() => {
setActive(true);
loadChat({ open: true });
@@ -209,7 +209,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
<span> {t("or").toLowerCase()} </span>
<a
onClick={() => onHelpItemSelect()}
className="font-medium underline hover:text-neutral-700"
className="font-medium underline hover:text-gray-700"
href="https://docs.cal.com/"
target="_blank"
rel="noreferrer">
@@ -38,7 +38,7 @@ export default function TeamAvailabilityModal(props: Props) {
className="h-14 w-14 rounded-full"
/>
<div className="inline-block pt-1 ltr:ml-3 rtl:mr-3">
<span className="text-lg font-bold text-neutral-700">{props.member?.name}</span>
<span className="text-lg font-bold text-gray-700">{props.member?.name}</span>
<span className="-mt-1 block text-sm text-gray-400">{props.member?.email}</span>
</div>
</div>
@@ -48,7 +48,7 @@ export default function TeamAvailabilityScreen(props: Props) {
className="min-w-10 min-h-10 mt-1 h-10 w-10 rounded-full"
/>
<div className="inline-block overflow-hidden pt-1 ltr:ml-3 rtl:mr-3">
<span className="truncate text-lg font-bold text-neutral-700">{member?.name}</span>
<span className="truncate text-lg font-bold text-gray-700">{member?.name}</span>
<span className="-mt-1 block truncate text-sm text-gray-400">{member?.email}</span>
</div>
</div>
@@ -62,7 +62,7 @@ export default function TeamAvailabilityScreen(props: Props) {
<div className="flex flex-1 flex-col rounded-sm border border-neutral-200 bg-white">
<div className="flex w-full space-x-5 border-b border-gray-200 p-4 rtl:space-x-reverse">
<div className="flex flex-col">
<span className="text-sm font-medium text-neutral-700">Date</span>
<span className="text-sm font-medium text-gray-700">Date</span>
<DatePicker
date={selectedDate.toDate()}
className="p-1.5"
@@ -72,7 +72,7 @@ export default function TeamAvailabilityScreen(props: Props) {
/>
</div>
<div className="flex flex-col">
<span className="text-sm font-medium text-neutral-700">Timezone</span>
<span className="text-sm font-medium text-gray-700">Timezone</span>
<TimezoneSelect
id="timeZone"
value={selectedTimeZone}
@@ -82,7 +82,7 @@ export default function TeamAvailabilityScreen(props: Props) {
/>
</div>
<div className="hidden sm:block">
<span className="text-sm font-medium text-neutral-700">Slot Length</span>
<span className="text-sm font-medium text-gray-700">Slot Length</span>
<Select
options={[
{ value: 15, label: "15 minutes" },
@@ -53,7 +53,7 @@ export default function TeamAvailabilityTimes(props: Props) {
{slots.map((slot) => (
<div key={slot.time.format()} className="flex flex-row items-center">
<a
className="min-w-48 border-brand text-bookingdarker hover:bg-brand hover:text-brandcontrast dark:hover:bg-darkmodebrand dark:hover:text-darkmodebrandcontrast mb-2 mr-3 block flex-grow rounded-sm border bg-white py-2 text-center font-medium dark:border-transparent dark:bg-gray-600 dark:text-neutral-200 dark:hover:border-black dark:hover:bg-black dark:hover:text-white"
className="min-w-48 border-brand text-bookingdarker hover:bg-brand hover:text-brandcontrast dark:hover:bg-darkmodebrand dark:hover:text-darkmodebrandcontrast dark:text-darkgray-800 mb-2 mr-3 block flex-grow rounded-sm border bg-white py-2 text-center font-medium dark:border-transparent dark:bg-gray-600 dark:hover:border-black dark:hover:bg-black dark:hover:text-white"
data-testid="time">
{slot.time.format("HH:mm")}
</a>
@@ -72,7 +72,7 @@ export default function TeamListItem(props: Props) {
className="min-h-9 min-w-9 h-9 w-9 rounded-full"
/>
<div className="inline-block ltr:ml-3 rtl:mr-3">
<span className="text-sm font-bold text-neutral-700">{team.name}</span>
<span className="text-sm font-bold text-gray-700">{team.name}</span>
<span className="block text-xs text-gray-400">
{team.slug ? `${process.env.NEXT_PUBLIC_WEBSITE_URL}/team/${team.slug}` : "Unpublished team"}
</span>
@@ -48,7 +48,7 @@ export default function TeamAvailabilityScreen(props: Props) {
className="min-w-10 min-h-10 mt-1 h-10 w-10 rounded-full"
/>
<div className="inline-block overflow-hidden pt-1 ltr:ml-3 rtl:mr-3">
<span className="truncate text-lg font-bold text-neutral-700">{member?.name}</span>
<span className="truncate text-lg font-bold text-gray-700">{member?.name}</span>
<span className="-mt-1 block truncate text-sm text-gray-400">{member?.email}</span>
</div>
</div>
@@ -62,7 +62,7 @@ export default function TeamAvailabilityScreen(props: Props) {
<div className="flex flex-1 flex-col rounded-sm border border-neutral-200 bg-white">
<div className="flex w-full space-x-5 border-b border-gray-200 p-4 rtl:space-x-reverse">
<div className="flex flex-col">
<span className="text-sm font-medium text-neutral-700">Date</span>
<span className="text-sm font-medium text-gray-700">Date</span>
<DatePicker
date={selectedDate.toDate()}
className="p-1.5"
@@ -72,7 +72,7 @@ export default function TeamAvailabilityScreen(props: Props) {
/>
</div>
<div className="flex flex-col">
<span className="text-sm font-medium text-neutral-700">Timezone</span>
<span className="text-sm font-medium text-gray-700">Timezone</span>
<TimezoneSelect
id="timeZone"
value={selectedTimeZone}
@@ -82,7 +82,7 @@ export default function TeamAvailabilityScreen(props: Props) {
/>
</div>
<div className="hidden sm:block">
<span className="text-sm font-medium text-neutral-700">Slot Length</span>
<span className="text-sm font-medium text-gray-700">Slot Length</span>
<Select
options={[
{ value: 15, label: "15 minutes" },
@@ -60,7 +60,7 @@ export default function TeamAvailabilityTimes(props: Props) {
{slots.map((slot) => (
<div key={slot.time.format()} className="flex flex-row items-center ">
<a
className="min-w-48 border-brand text-bookingdarker mb-2 mr-3 block flex-grow rounded-md border bg-white py-2 text-center font-medium dark:border-transparent dark:bg-gray-600 dark:text-neutral-200 "
className="min-w-48 border-brand text-bookingdarker dark:text-darkgray-800 mb-2 mr-3 block flex-grow rounded-md border bg-white py-2 text-center font-medium dark:border-transparent dark:bg-gray-600 "
data-testid="time">
{slot.time.tz(props.selectedTimeZone.toString()).format("HH:mm")}
</a>
@@ -101,7 +101,7 @@ const WorkflowListItem = (props: ItemProps) => {
<div
className={classNames(
"mb-1 w-full truncate text-base font-medium leading-4 text-gray-900 md:max-w-max",
workflow.name && isActive ? "text-gray-900" : "text-neutral-500"
workflow.name && isActive ? "text-gray-900" : "text-gray-500"
)}>
{workflow.name
? workflow.name
@@ -89,7 +89,7 @@ export default function WorkflowListPage({ workflows }: Props) {
<div
className={classNames(
"max-w-56 truncate text-sm font-medium leading-6 text-gray-900 md:max-w-max",
workflow.name ? "text-gray-900" : "text-neutral-500"
workflow.name ? "text-gray-900" : "text-gray-500"
)}>
{workflow.name
? workflow.name