Fixing colors (#6429)
This commit is contained in:
1 parent
3f71a41d7e
commit
f21c4eb11e
66 files changed
+119
-138
No files matched your search
@@ -42,7 +42,7 @@ export default function FormInputFields(props: Props) {
|
||||
<label
|
||||
id="slug-label"
|
||||
htmlFor="slug"
|
||||
className="flex text-sm font-medium text-neutral-700 dark:text-white">
|
||||
className="flex text-sm font-medium text-gray-700 dark:text-white">
|
||||
{field.label}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -152,7 +152,7 @@ function Button({ config, type, label, onClick, readonly }: ButtonProps) {
|
||||
if (type === "delRule" || type == "delGroup") {
|
||||
return (
|
||||
<button className="ml-5">
|
||||
<Icon.FiTrash className="m-0 h-4 w-4 text-neutral-500" onClick={onClick} />
|
||||
<Icon.FiTrash className="m-0 h-4 w-4 text-gray-500" onClick={onClick} />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ function RoutingForm({ form, profile, ...restProps }: inferSSRProps<typeof getSe
|
||||
{form.name}
|
||||
</h1>
|
||||
{form.description ? (
|
||||
<p className="min-h-10 text-sm text-neutral-500 ltr:mr-4 rtl:ml-4 dark:text-white">
|
||||
<p className="min-h-10 text-sm text-gray-500 ltr:mr-4 rtl:ml-4 dark:text-white">
|
||||
{form.description}
|
||||
</p>
|
||||
) : null}
|
||||
|
||||
@@ -115,7 +115,7 @@ export const SearchDialog = (props: ISearchDialog) => {
|
||||
<h3 className="leading-16 font-cal text-xl text-gray-900" id="modal-title">
|
||||
{t("add_gif_to_confirmation")}
|
||||
</h3>
|
||||
<p className="mb-3 text-sm font-light text-neutral-500">{t("find_gif_spice_confirmation")}</p>
|
||||
<p className="mb-3 text-sm font-light text-gray-500">{t("find_gif_spice_confirmation")}</p>
|
||||
<div className="flex items-center border-b border-solid">
|
||||
{renderTab(SearchIcon, t("search_giphy"), MODE_SEARCH)}
|
||||
{renderTab(LinkIcon, t("add_link_from_giphy"), MODE_URL)}
|
||||
@@ -176,7 +176,7 @@ export const SearchDialog = (props: ISearchDialog) => {
|
||||
{errorMessage && <Alert severity="error" title={errorMessage} className="my-4" />}
|
||||
{gifImage && selectedMode === MODE_SEARCH && (
|
||||
<div className="mt-4 flex items-center justify-between space-x-2 rtl:space-x-reverse">
|
||||
<div className="text-sm font-light text-neutral-500">Not the perfect GIF?</div>
|
||||
<div className="text-sm font-light text-gray-500">Not the perfect GIF?</div>
|
||||
<Button
|
||||
size="sm"
|
||||
color="secondary"
|
||||
|
||||
@@ -22,7 +22,7 @@ const RainbowInstallForm: React.FC<RainbowInstallFormProps> = ({
|
||||
<>
|
||||
<div className="mt-4 block items-center sm:flex">
|
||||
<div className="min-w-48 mb-4 sm:mb-0">
|
||||
<label htmlFor="blockchainId" className="flex text-sm font-medium text-neutral-700">
|
||||
<label htmlFor="blockchainId" className="flex text-sm font-medium text-gray-700">
|
||||
{t("Blockchain")}
|
||||
</label>
|
||||
</div>
|
||||
@@ -38,7 +38,7 @@ const RainbowInstallForm: React.FC<RainbowInstallFormProps> = ({
|
||||
</div>
|
||||
<div className="block items-center sm:flex">
|
||||
<div className="min-w-48 mb-4 sm:mb-0">
|
||||
<label htmlFor="smartContractAddress" className="flex text-sm font-medium text-neutral-700">
|
||||
<label htmlFor="smartContractAddress" className="flex text-sm font-medium text-gray-700">
|
||||
{t("token_address")}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
@@ -112,7 +112,7 @@ const BalanceCheck: React.FC<RainbowGateProps> = ({ chainId, setToken, tokenAddr
|
||||
<div className="rounded-md border border-neutral-200 dark:border-neutral-700 dark:hover:border-neutral-600">
|
||||
<div className="hover:border-brand dark:bg-darkgray-100 flex min-h-[120px] grow flex-col border-b border-neutral-200 bg-white p-6 text-center first:rounded-t-md last:rounded-b-md last:border-b-0 hover:bg-white dark:border-neutral-700 dark:hover:border-neutral-600 md:flex-row md:text-left">
|
||||
<span className="mb-4 grow md:mb-0">
|
||||
<h2 className="mb-2 grow font-semibold text-neutral-900 dark:text-white">Token Gate</h2>
|
||||
<h2 className="mb-2 grow font-semibold text-gray-900 dark:text-white">Token Gate</h2>
|
||||
{isLoading && (
|
||||
<>
|
||||
<SkeletonText className="mb-3 h-1 w-full" />
|
||||
@@ -121,7 +121,7 @@ const BalanceCheck: React.FC<RainbowGateProps> = ({ chainId, setToken, tokenAddr
|
||||
)}
|
||||
{!isLoading && contractData && contractData.data && (
|
||||
<>
|
||||
<p className="text-neutral-300 dark:text-white">
|
||||
<p className="text-gray-300 dark:text-white">
|
||||
<Trans i18nKey="rainbow_connect_wallet_gate" t={t}>
|
||||
Connect your wallet if you own {contractData.data.name} ({contractData.data.symbol}) .
|
||||
</Trans>
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function HowToUse() {
|
||||
target="_blank"
|
||||
className="inline-flex items-baseline text-base text-gray-500">
|
||||
<Icon.FiExternalLink
|
||||
className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"
|
||||
className="h-4 w-4 text-gray-500 ltr:mr-2 rtl:ml-2"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
Click "Copy Typeform Redirect URL"
|
||||
@@ -45,7 +45,7 @@ export default function HowToUse() {
|
||||
target="_blank"
|
||||
className="inline-flex items-baseline text-base text-gray-500">
|
||||
<Icon.FiExternalLink
|
||||
className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"
|
||||
className="h-4 w-4 text-gray-500 ltr:mr-2 rtl:ml-2"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
Redirect to your typeform
|
||||
@@ -58,7 +58,7 @@ export default function HowToUse() {
|
||||
target="_blank"
|
||||
className="inline-flex items-baseline text-base text-gray-500">
|
||||
<Icon.FiExternalLink
|
||||
className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2"
|
||||
className="h-4 w-4 text-gray-500 ltr:mr-2 rtl:ml-2"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
Recall Information in Typeform
|
||||
|
||||
@@ -13,7 +13,7 @@ export default function TemplateCard({ template }: { template: Template }) {
|
||||
</div>
|
||||
<div className="mr-4">
|
||||
<div>
|
||||
<p className="truncate text-sm font-medium leading-4 text-neutral-900">{template.app}</p>
|
||||
<p className="truncate text-sm font-medium leading-4 text-gray-900">{template.app}</p>
|
||||
<p className="mt-[2px] text-sm text-gray-500">{template.text}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -75,7 +75,7 @@ export default function ZapierSetup(props: IZapierSetupProps) {
|
||||
}}
|
||||
type="button"
|
||||
className="mt-4 text-base sm:mt-0 sm:rounded-l-none">
|
||||
<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>
|
||||
|
||||
@@ -57,18 +57,7 @@ module.exports = {
|
||||
800: "#1F2937",
|
||||
900: "#111827",
|
||||
},
|
||||
neutral: {
|
||||
50: "#F8F8F8",
|
||||
100: "#F5F5F5",
|
||||
200: "#E1E1E1",
|
||||
300: "#CFCFCF",
|
||||
400: "#ACACAC",
|
||||
500: "#888888",
|
||||
600: "#494949",
|
||||
700: "#3E3E3E",
|
||||
800: "#313131",
|
||||
900: "#292929",
|
||||
},
|
||||
|
||||
primary: {
|
||||
50: "#F4F4F4",
|
||||
100: "#E8E8E8",
|
||||
|
||||
@@ -76,7 +76,7 @@ const IntegrationContainer = ({
|
||||
<div className="flex w-full flex-1 items-center justify-between space-x-3 p-4 rtl:space-x-reverse md:max-w-3xl">
|
||||
{app.logo && <img className="h-10 w-10" src={app.logo} alt={app.title} />}
|
||||
<div className="flex-grow truncate pl-2">
|
||||
<h3 className="truncate text-sm font-medium text-neutral-900">
|
||||
<h3 className="truncate text-sm font-medium text-gray-900">
|
||||
<p>{app.name || app.title}</p>
|
||||
</h3>
|
||||
<p className="truncate text-sm text-gray-500">{app.description}</p>
|
||||
|
||||
@@ -27,7 +27,7 @@ const SingleValueComponent = ({ ...props }: SingleValueProps<Option>) => {
|
||||
const { label, subtitle } = props.data;
|
||||
return (
|
||||
<components.SingleValue {...props} className="flex space-x-1">
|
||||
<p>{label}</p> <p className=" text-neutral-500">{subtitle}</p>
|
||||
<p>{label}</p> <p className=" text-gray-500">{subtitle}</p>
|
||||
</components.SingleValue>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -32,7 +32,7 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className={classNames("dark:text-darkgray-800 text-neutral-500", className)}>
|
||||
<div className={classNames("dark:text-darkgray-800 text-gray-500", className)}>
|
||||
{eventType.description && (
|
||||
<p className="dark:text-darkgray-800 max-w-[280px] break-words py-1 text-sm text-gray-500 sm:max-w-[500px]">
|
||||
{eventType.description.substring(0, 300)}
|
||||
|
||||
@@ -278,7 +278,7 @@ export const KBarTrigger = () => {
|
||||
<button
|
||||
color="minimal"
|
||||
onClick={query.toggle}
|
||||
className="group flex rounded-md py-2 px-3 text-sm font-medium hover:bg-gray-100 lg:p-1 lg:hover:bg-gray-200 lg:hover:text-neutral-900">
|
||||
className="group flex rounded-md py-2 px-3 text-sm font-medium hover:bg-gray-100 lg:p-1 lg:hover:bg-gray-200 lg:hover:text-gray-900">
|
||||
<Icon.FiSearch className="h-4 w-4 flex-shrink-0 text-inherit" />
|
||||
</button>
|
||||
</Tooltip>
|
||||
|
||||
@@ -136,9 +136,7 @@ const DateOverrideForm = ({
|
||||
<p className="text-medium text-sm">{t("date_overrides_dialog_which_hours")}</p>
|
||||
<div>
|
||||
{datesUnavailable ? (
|
||||
<p className="rounded border p-2 text-sm text-neutral-500">
|
||||
{t("date_overrides_unavailable")}
|
||||
</p>
|
||||
<p className="rounded border p-2 text-sm text-gray-500">{t("date_overrides_unavailable")}</p>
|
||||
) : (
|
||||
<DayRanges name="range" />
|
||||
)}
|
||||
|
||||
@@ -50,10 +50,10 @@ const DateOverrideList = ({
|
||||
}).format(item.ranges[0].start)}
|
||||
</h3>
|
||||
{item.ranges[0].end.getUTCHours() === 0 && item.ranges[0].end.getUTCMinutes() === 0 ? (
|
||||
<p className="text-xs text-neutral-500">{t("unavailable")}</p>
|
||||
<p className="text-xs text-gray-500">{t("unavailable")}</p>
|
||||
) : (
|
||||
item.ranges.map((range, i) => (
|
||||
<p key={i} className="text-xs text-neutral-500">
|
||||
<p key={i} className="text-xs text-gray-500">
|
||||
{timeSpan(range)}
|
||||
</p>
|
||||
))
|
||||
|
||||
@@ -181,7 +181,7 @@ export const DayRanges = <TFieldValues extends FieldValues>({
|
||||
{index === 0 && (
|
||||
<Button
|
||||
tooltip={t("add_time_availability")}
|
||||
className=" text-neutral-400"
|
||||
className=" text-gray-400"
|
||||
type="button"
|
||||
color="minimal"
|
||||
size="icon"
|
||||
@@ -371,7 +371,7 @@ const CopyTimes = ({
|
||||
return (
|
||||
<div className="space-y-2 py-2">
|
||||
<div className="p-2">
|
||||
<p className="h6 pb-3 pl-1 text-xs font-medium uppercase text-neutral-400">{t("copy_times_to")}</p>
|
||||
<p className="h6 pb-3 pl-1 text-xs font-medium uppercase text-gray-400">{t("copy_times_to")}</p>
|
||||
<ol className="space-y-2">
|
||||
{weekdayNames(i18n.language, weekStart).map((weekday, num) => {
|
||||
const weekdayIndex = (num + weekStart) % 7;
|
||||
@@ -391,7 +391,7 @@ const CopyTimes = ({
|
||||
}
|
||||
}}
|
||||
type="checkbox"
|
||||
className="inline-block rounded-[4px] border-gray-300 text-neutral-900 focus:ring-neutral-500 disabled:text-neutral-400"
|
||||
className="inline-block rounded-[4px] border-gray-300 text-gray-900 focus:ring-neutral-500 disabled:text-gray-400"
|
||||
/>
|
||||
</label>
|
||||
</li>
|
||||
|
||||
@@ -45,14 +45,14 @@ export function ScheduleListItem({
|
||||
className="flex-grow truncate text-sm"
|
||||
title={schedule.name}>
|
||||
<div className="space-x-2 rtl:space-x-reverse">
|
||||
<span className="truncate font-medium text-neutral-900">{schedule.name}</span>
|
||||
<span className="truncate font-medium text-gray-900">{schedule.name}</span>
|
||||
{schedule.isDefault && (
|
||||
<Badge variant="success" className="text-xs">
|
||||
{t("default")}
|
||||
</Badge>
|
||||
)}
|
||||
</div>
|
||||
<p className="mt-1 text-xs text-neutral-500">
|
||||
<p className="mt-1 text-xs text-gray-500">
|
||||
{schedule.availability
|
||||
.filter((availability) => !!availability.days.length)
|
||||
.map((availability) => (
|
||||
|
||||
@@ -362,7 +362,7 @@ function UserDropdown({ small }: { small?: boolean }) {
|
||||
className="flex w-full items-center px-4 py-2 text-sm text-gray-700 ltr:flex-row rtl:flex-row-reverse">
|
||||
<Icon.FiHelpCircle
|
||||
className={classNames(
|
||||
"text-gray-500 group-hover:text-neutral-500",
|
||||
"text-gray-500 group-hover:text-gray-500",
|
||||
"h-4 w-4 flex-shrink-0 ltr:mr-2 rtl:ml-2"
|
||||
)}
|
||||
aria-hidden="true"
|
||||
@@ -581,7 +581,7 @@ const NavigationItem: React.FC<{
|
||||
href={item.href}
|
||||
aria-label={t(item.name)}
|
||||
className={classNames(
|
||||
"group flex items-center rounded-md py-2 px-3 text-sm font-medium text-gray-600 hover:bg-gray-100 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:hover:text-neutral-900",
|
||||
"group flex items-center rounded-md py-2 px-3 text-sm font-medium text-gray-600 hover:bg-gray-100 [&[aria-current='page']]:bg-gray-200 [&[aria-current='page']]:hover:text-gray-900",
|
||||
isChild
|
||||
? `[&[aria-current='page']]:text-brand-900 hidden h-8 pl-16 lg:flex lg:pl-11 [&[aria-current='page']]:bg-transparent ${
|
||||
props.index === 0 ? "mt-0" : "mt-px"
|
||||
@@ -654,7 +654,7 @@ const MobileNavigationItem: React.FC<{
|
||||
<Link
|
||||
key={item.name}
|
||||
href={item.href}
|
||||
className="relative my-2 min-w-0 flex-1 overflow-hidden rounded-md py-2 px-1 text-center text-xs font-medium text-neutral-400 hover:bg-gray-200 hover:text-gray-700 focus:z-10 sm:text-sm [&[aria-current='page']]:text-gray-900"
|
||||
className="relative my-2 min-w-0 flex-1 overflow-hidden rounded-md py-2 px-1 text-center text-xs font-medium text-gray-400 hover:bg-gray-200 hover:text-gray-700 focus:z-10 sm:text-sm [&[aria-current='page']]:text-gray-900"
|
||||
aria-current={current ? "page" : undefined}>
|
||||
{item.badge && <div className="absolute right-1 top-1">{item.badge}</div>}
|
||||
{item.icon && (
|
||||
@@ -717,14 +717,14 @@ function SideBar() {
|
||||
<button
|
||||
color="minimal"
|
||||
onClick={() => window.history.back()}
|
||||
className="desktop-only group flex text-sm font-medium text-neutral-500 hover:text-neutral-900">
|
||||
<Icon.FiArrowLeft className="h-4 w-4 flex-shrink-0 text-neutral-500 group-hover:text-neutral-900" />
|
||||
className="desktop-only group flex text-sm font-medium text-gray-500 hover:text-gray-900">
|
||||
<Icon.FiArrowLeft className="h-4 w-4 flex-shrink-0 text-gray-500 group-hover:text-gray-900" />
|
||||
</button>
|
||||
<button
|
||||
color="minimal"
|
||||
onClick={() => window.history.forward()}
|
||||
className="desktop-only group flex text-sm font-medium text-neutral-500 hover:text-neutral-900">
|
||||
<Icon.FiArrowRight className="h-4 w-4 flex-shrink-0 text-neutral-500 group-hover:text-neutral-900" />
|
||||
className="desktop-only group flex text-sm font-medium text-gray-500 hover:text-gray-900">
|
||||
<Icon.FiArrowRight className="h-4 w-4 flex-shrink-0 text-gray-500 group-hover:text-gray-900" />
|
||||
</button>
|
||||
<KBarTrigger />
|
||||
</div>
|
||||
@@ -791,7 +791,7 @@ export function ShellMain(props: LayoutProps) {
|
||||
</h1>
|
||||
)}
|
||||
{props.subtitle && (
|
||||
<p className="hidden text-sm text-neutral-500 sm:block">
|
||||
<p className="hidden text-sm text-gray-500 sm:block">
|
||||
{!isLocaleReady ? <SkeletonText invisible /> : props.subtitle}
|
||||
</p>
|
||||
)}
|
||||
@@ -854,7 +854,7 @@ function TopNav() {
|
||||
<Logo />
|
||||
</Link>
|
||||
<div className="flex items-center gap-2 self-center">
|
||||
<span className="group flex items-center rounded-full text-sm font-medium text-gray-700 hover:bg-gray-50 hover:text-neutral-900 lg:hidden">
|
||||
<span className="group flex items-center rounded-full text-sm font-medium text-gray-700 hover:bg-gray-50 hover:text-gray-900 lg:hidden">
|
||||
<KBarTrigger />
|
||||
</span>
|
||||
<button className="rounded-full p-1 text-gray-400 hover:bg-gray-50 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-black focus:ring-offset-2">
|
||||
|
||||
@@ -154,7 +154,7 @@ const WebhookForm = (props: {
|
||||
<>
|
||||
<Label className="font-sm font-medium text-gray-900">Secret</Label>
|
||||
<div className="space-y-0 rounded-md border-0 border-neutral-200 bg-white sm:mx-0 md:border">
|
||||
<div className="rounded-sm border-b p-2 text-sm text-neutral-900">
|
||||
<div className="rounded-sm border-b p-2 text-sm text-gray-900">
|
||||
{t("forgotten_secret_description")}
|
||||
</div>
|
||||
<div className="p-2">
|
||||
|
||||
@@ -13,7 +13,7 @@ export default function LinkIconButton(props: LinkIconButtonProps) {
|
||||
type="button"
|
||||
{...props}
|
||||
className="text-md flex items-center rounded-md px-2 py-1 text-sm font-medium text-gray-700 hover:bg-gray-200 hover:text-gray-900">
|
||||
<props.Icon className="h-4 w-4 text-neutral-500 ltr:mr-2 rtl:ml-2" />
|
||||
<props.Icon className="h-4 w-4 text-gray-500 ltr:mr-2 rtl:ml-2" />
|
||||
{props.children}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -55,7 +55,7 @@ export function ConfirmationDialogContent(props: PropsWithChildren<ConfirmationD
|
||||
)}
|
||||
<div>
|
||||
<DialogPrimitive.Title className="font-cal text-xl text-gray-900">{title}</DialogPrimitive.Title>
|
||||
<DialogPrimitive.Description className="text-sm text-neutral-500">
|
||||
<DialogPrimitive.Description className="text-sm text-gray-500">
|
||||
{children}
|
||||
</DialogPrimitive.Description>
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@ const CheckboxField = forwardRef<HTMLInputElement, Props>(
|
||||
{
|
||||
className: classNames(
|
||||
"relative flex items-start",
|
||||
!error && descriptionAsLabel ? "text-gray-900" : "text-neutral-900",
|
||||
!error && descriptionAsLabel ? "text-gray-900" : "text-gray-900",
|
||||
error && "text-red-800"
|
||||
),
|
||||
},
|
||||
|
||||
@@ -47,7 +47,7 @@ DropdownMenuContent.displayName = "DropdownMenuContent";
|
||||
|
||||
type DropdownMenuLabelProps = ComponentProps<typeof DropdownMenuPrimitive["Label"]>;
|
||||
export const DropdownMenuLabel = (props: DropdownMenuLabelProps) => (
|
||||
<DropdownMenuPrimitive.Label {...props} className="px-3 py-2 text-neutral-500" />
|
||||
<DropdownMenuPrimitive.Label {...props} className="px-3 py-2 text-gray-500" />
|
||||
);
|
||||
|
||||
type DropdownMenuItemProps = ComponentProps<typeof DropdownMenuPrimitive["CheckboxItem"]>;
|
||||
|
||||
@@ -43,8 +43,8 @@ export const ToggleGroup = ({ options, onValueChange, isFullWidth, ...props }: T
|
||||
className={classNames(
|
||||
"relative rounded-[4px] px-3 py-1 text-sm",
|
||||
option.disabled
|
||||
? "text-gray-400 hover:cursor-not-allowed dark:text-neutral-100"
|
||||
: "dark:text-neutral-200 [&[aria-checked='false']]:hover:font-medium",
|
||||
? "dark:text-darkgray-900 text-gray-400 hover:cursor-not-allowed"
|
||||
: "dark:text-darkgray-800 [&[aria-checked='false']]:hover:font-medium",
|
||||
isFullWidth && "w-full"
|
||||
)}
|
||||
ref={(node) => {
|
||||
|
||||
@@ -14,7 +14,7 @@ export function ShellSubHeading(props: {
|
||||
<h2 className="flex content-center items-center space-x-2 text-base font-bold leading-6 text-gray-900 rtl:space-x-reverse">
|
||||
{props.title}
|
||||
</h2>
|
||||
{props.subtitle && <p className="text-sm text-neutral-500 ltr:mr-4">{props.subtitle}</p>}
|
||||
{props.subtitle && <p className="text-sm text-gray-500 ltr:mr-4">{props.subtitle}</p>}
|
||||
</div>
|
||||
{props.actions && <div className="mt-2 flex-shrink-0 sm:mt-0">{props.actions}</div>}
|
||||
</header>
|
||||
|
||||
@@ -107,7 +107,7 @@ export function ListItemTitle<TComponent extends keyof JSX.IntrinsicElements = "
|
||||
component,
|
||||
{
|
||||
...passThroughProps,
|
||||
className: classNames("text-sm font-medium text-neutral-900 truncate", props.className),
|
||||
className: classNames("text-sm font-medium text-gray-900 truncate", props.className),
|
||||
},
|
||||
props.children
|
||||
);
|
||||
|
||||
@@ -39,7 +39,7 @@ const HorizontalTabItem = function ({ name, href, linkProps, ...props }: Horizon
|
||||
//@ts-ignore
|
||||
<props.icon
|
||||
className={classNames(
|
||||
isCurrent ? "text-neutral-900" : "text-gray-400 group-hover:text-gray-500",
|
||||
isCurrent ? "text-gray-900" : "text-gray-400 group-hover:text-gray-500",
|
||||
"-ml-0.5 hidden h-4 w-4 ltr:mr-2 rtl:ml-2 sm:inline-block"
|
||||
)}
|
||||
aria-hidden="true"
|
||||
|
||||
@@ -10,7 +10,7 @@ const RadioArea = React.forwardRef<HTMLInputElement, RadioAreaProps>(
|
||||
<label className={classNames("relative flex", className)}>
|
||||
<input
|
||||
ref={ref}
|
||||
className="peer absolute top-[0.9rem] left-3 align-baseline text-neutral-900 focus:ring-neutral-500"
|
||||
className="peer absolute top-[0.9rem] left-3 align-baseline text-gray-900 focus:ring-neutral-500"
|
||||
type="radio"
|
||||
{...props}
|
||||
/>
|
||||
|
||||
@@ -46,7 +46,7 @@ export const Select = function RadioAreaSelect<TFieldValues extends FieldValues>
|
||||
disabled && "cursor-default bg-gray-200 focus:ring-0 "
|
||||
)}>
|
||||
{getLabel(props.value) ?? placeholder}
|
||||
<ChevronDownIcon className="float-right h-5 w-5 text-neutral-500" />
|
||||
<ChevronDownIcon className="float-right h-5 w-5 text-gray-500" />
|
||||
</CollapsibleTrigger>
|
||||
<CollapsibleContent>
|
||||
<RadioAreaGroup className="space-y-2 text-sm" onChange={props.onChange}>
|
||||
|
||||
Reference in new issue
Block a user