Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

upgrade to tailwind v4

Blue Mouse0838c8546ca1
diff --git a/web/app/components/DashboardLockedBanner.tsx b/web/app/components/DashboardLockedBanner.tsx
index 58913891f..b843f9082 100644
--- a/web/app/components/DashboardLockedBanner.tsx
+++ b/web/app/components/DashboardLockedBanner.tsx
@@ -41,10 +41,10 @@ const DashboardLockedBanner = () => {
</span>
<p className='ml-3 font-medium text-black'>{t('dashboard.accountLocked')}</p>
</div>
- <div className='order-3 mt-2 w-full flex-shrink-0 sm:order-2 sm:mt-0 sm:w-auto'>
+ <div className='order-3 mt-2 w-full shrink-0 sm:order-2 sm:mt-0 sm:w-auto'>
<span
onClick={() => setShowMoreInfoModal(true)}
- className='flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-yellow-600 shadow-sm hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
+ className='shadow-xs flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-yellow-600 hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
>
{t('common.learnMore')}
</span>
diff --git a/web/app/components/EventsRunningOutBanner.tsx b/web/app/components/EventsRunningOutBanner.tsx
index 175780f3f..59c966499 100644
--- a/web/app/components/EventsRunningOutBanner.tsx
+++ b/web/app/components/EventsRunningOutBanner.tsx
@@ -41,19 +41,19 @@ const EventsRunningOutBanner = () => {
</span>
</p>
</div>
- <div className='order-3 mt-2 w-full flex-shrink-0 sm:order-2 sm:mt-0 sm:w-auto'>
+ <div className='order-3 mt-2 w-full shrink-0 sm:order-2 sm:mt-0 sm:w-auto'>
<span
onClick={() => setShowMoreInfoModal(true)}
- className='flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-yellow-600 shadow-sm hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
+ className='shadow-xs flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-yellow-600 hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
>
{t('common.learnMore')}
</span>
</div>
- <div className='order-2 flex-shrink-0 sm:order-3 sm:ml-3'>
+ <div className='order-2 shrink-0 sm:order-3 sm:ml-3'>
<button
type='button'
onClick={closeHandler}
- className='-mr-1 flex rounded-md p-2 hover:bg-yellow-500 focus:outline-none focus:ring-2 focus:ring-white sm:-mr-2'
+ className='focus:outline-hidden -mr-1 flex rounded-md p-2 hover:bg-yellow-500 focus:ring-2 focus:ring-white sm:-mr-2'
>
<span className='sr-only'>{t('common.close')}</span>
<XMarkIcon className='h-6 w-6 text-black' aria-hidden='true' />
diff --git a/web/app/components/Footer/index.tsx b/web/app/components/Footer/index.tsx
index e2e866204..22ee5c21b 100644
--- a/web/app/components/Footer/index.tsx
+++ b/web/app/components/Footer/index.tsx
@@ -127,7 +127,7 @@ const navigation = {
href: LINKEDIN_URL,
icon: () => (
<img
- className='h-6 w-6 rounded bg-white opacity-75 hover:opacity-90'
+ className='h-6 w-6 rounded-sm bg-white opacity-75 hover:opacity-90'
aria-hidden='true'
src='/assets/linkedin.svg'
alt='LinkedIn'
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsx
index b02a68313..26a34d947 100644
--- a/web/app/components/Header/index.tsx
+++ b/web/app/components/Header/index.tsx
@@ -228,7 +228,7 @@ const ThemeMenu = ({ theme, switchTheme }: { theme: string; switchTheme: (i: str
leaveFrom='transform opacity-100 scale-100'
leaveTo='transform opacity-0 scale-95'
>
- <MenuItems className='absolute right-0 z-30 mt-2 w-36 min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 focus:outline-none dark:bg-slate-900 dark:ring-slate-800'>
+ <MenuItems className='focus:outline-hidden absolute right-0 z-30 mt-2 w-36 min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 dark:bg-slate-900 dark:ring-slate-800'>
<MenuItem>
{({ active }) => (
<div
@@ -305,7 +305,7 @@ const ProfileMenu = ({
leaveFrom='transform opacity-100 scale-100'
leaveTo='transform opacity-0 scale-95'
>
- <MenuItems className='absolute right-0 z-30 mt-2 w-60 min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 focus:outline-none dark:bg-slate-900 dark:ring-slate-800'>
+ <MenuItems className='focus:outline-hidden absolute right-0 z-30 mt-2 w-60 min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 dark:bg-slate-900 dark:ring-slate-800'>
<div className='border-b-[1px] border-gray-200 dark:border-slate-700/50'>
<MenuItem>
<p className='truncate px-4 py-2' role='none'>
@@ -328,7 +328,7 @@ const ProfileMenu = ({
<MenuButton className='flex w-full justify-between px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:text-gray-50 hover:dark:bg-slate-800'>
<div className='flex'>
<Flag
- className='mr-1.5 rounded-sm'
+ className='rounded-xs mr-1.5'
country={languageFlag[language]}
size={20}
alt=''
@@ -357,7 +357,7 @@ const ProfileMenu = ({
leaveTo='transform opacity-0 scale-95'
>
<MenuItems
- className='absolute right-0 z-50 mt-1 w-full min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 focus:outline-none dark:bg-slate-800 dark:ring-slate-800'
+ className='focus:outline-hidden absolute right-0 z-50 mt-1 w-full min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 dark:bg-slate-800 dark:ring-slate-800'
static
>
{_map(whitelist, (lng) => (
@@ -371,7 +371,7 @@ const ProfileMenu = ({
<div className='flex'>
<div className='pt-1'>
<Flag
- className='mr-1.5 rounded-sm'
+ className='rounded-xs mr-1.5'
country={languageFlag[lng]}
size={20}
alt={languageFlag[lng]}
@@ -723,7 +723,7 @@ const NotAuthedHeader = ({
title={
<>
<Flag
- className='mr-1.5 rounded-sm'
+ className='rounded-xs mr-1.5'
country={languageFlag[language]}
size={18}
alt=''
@@ -735,7 +735,7 @@ const NotAuthedHeader = ({
labelExtractor={(lng: string) => (
<div className='flex'>
<div className='pt-1'>
- <Flag className='mr-1.5 rounded-sm' country={languageFlag[lng]} size={21} alt={languageFlag[lng]} />
+ <Flag className='rounded-xs mr-1.5' country={languageFlag[lng]} size={21} alt={languageFlag[lng]} />
</div>
{languages[lng]}
</div>
@@ -940,7 +940,7 @@ const Header = ({ ssrTheme, authenticated, refPage, transparent }: HeaderProps)
<MenuButton className='flex w-full items-center justify-between rounded-lg py-2 pl-3 pr-3.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'>
<div className='flex'>
<Flag
- className='mr-1.5 rounded-sm'
+ className='rounded-xs mr-1.5'
country={languageFlag[language]}
size={20}
alt=''
@@ -965,7 +965,7 @@ const Header = ({ ssrTheme, authenticated, refPage, transparent }: HeaderProps)
leaveTo='transform opacity-0 scale-95'
>
<MenuItems
- className='absolute right-0 z-50 mt-1 w-full min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 focus:outline-none dark:bg-slate-800 dark:ring-slate-800'
+ className='focus:outline-hidden absolute right-0 z-50 mt-1 w-full min-w-max origin-top-right rounded-md bg-white py-1 shadow-lg ring-1 ring-slate-200 dark:bg-slate-800 dark:ring-slate-800'
static
>
{_map(whitelist, (lng) => (
@@ -979,7 +979,7 @@ const Header = ({ ssrTheme, authenticated, refPage, transparent }: HeaderProps)
<div className='flex'>
<div className='pt-1'>
<Flag
- className='mr-1.5 rounded-sm'
+ className='rounded-xs mr-1.5'
country={languageFlag[lng]}
size={20}
alt={languageFlag[lng]}
diff --git a/web/app/components/marketing/ComparisonTable.tsx b/web/app/components/marketing/ComparisonTable.tsx
index afca3dbce..ea650f291 100644
--- a/web/app/components/marketing/ComparisonTable.tsx
+++ b/web/app/components/marketing/ComparisonTable.tsx
@@ -101,7 +101,7 @@ export const ComparisonTable = ({ className }: ComparisonTableProps) => {
<div className='mt-2 flex flex-col'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='w-full min-w-full divide-y divide-slate-500'>
<thead className='bg-gray-100 dark:bg-slate-800'>
<tr>
@@ -125,13 +125,13 @@ export const ComparisonTable = ({ className }: ComparisonTableProps) => {
<td key={`${key}-${service}`} className='w-1/6 px-3 py-4 text-sm text-gray-50 sm:pl-6'>
{COMPETITOR_FEATURE_TABLE[service][key] && (
<CheckIcon
- className='h-5 w-5 flex-shrink-0 text-green-600 dark:text-green-500'
+ className='h-5 w-5 shrink-0 text-green-600 dark:text-green-500'
aria-label={t('common.yes')}
/>
)}
{!COMPETITOR_FEATURE_TABLE[service][key] && (
<XMarkIcon
- className='h-5 w-5 flex-shrink-0 text-red-600 dark:text-red-500'
+ className='h-5 w-5 shrink-0 text-red-600 dark:text-red-500'
aria-label={t('common.no')}
/>
)}
diff --git a/web/app/components/marketing/ConveyorBelt.tsx b/web/app/components/marketing/ConveyorBelt.tsx
index f61984f73..733facd31 100644
--- a/web/app/components/marketing/ConveyorBelt.tsx
+++ b/web/app/components/marketing/ConveyorBelt.tsx
@@ -28,7 +28,7 @@ export const ConveyorBelt = () => {
maskRepeat: 'no-repeat',
}}
/>
- <div className='relative flex size-24 items-center justify-center rounded-xl bg-gradient-to-t from-white/45 to-white/75 shadow outline outline-offset-[-5px] outline-white/5 ring-1 ring-inset ring-white/10 group-data-[dark]:from-slate-700/45 group-data-[dark]:to-slate-700/75'>
+ <div className='relative flex size-24 items-center justify-center rounded-xl bg-gradient-to-t from-white/45 to-white/75 shadow-sm outline outline-offset-[-5px] outline-white/5 ring-1 ring-inset ring-white/10 group-data-[dark]:from-slate-700/45 group-data-[dark]:to-slate-700/75'>
<img src='/logo512.png' alt='' className='object-contain' />
</div>
</div>
diff --git a/web/app/components/marketing/DitchGoogle.tsx b/web/app/components/marketing/DitchGoogle.tsx
index 980d7bb7e..f5ca62fef 100644
--- a/web/app/components/marketing/DitchGoogle.tsx
+++ b/web/app/components/marketing/DitchGoogle.tsx
@@ -46,7 +46,7 @@ export const DitchGoogle = ({ screenshot: { light, dark }, theme }: DitchGoogleP
<p className='mb-9 text-base font-medium text-gray-300 sm:text-lg'>{t('main.whyDitch')}</p>
<Link
to={routes.signup}
- className='group flex h-[50px] w-full max-w-[210px] items-center justify-center rounded-md border border-transparent bg-indigo-600 text-white shadow-sm transition-all !duration-300 hover:bg-indigo-700 sm:mr-6'
+ className='shadow-xs group flex h-[50px] w-full max-w-[210px] items-center justify-center rounded-md border border-transparent bg-indigo-600 text-white transition-all !duration-300 hover:bg-indigo-700 sm:mr-6'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.start')}</span>
diff --git a/web/app/components/marketing/LogoTimeline.tsx b/web/app/components/marketing/LogoTimeline.tsx
index 4bcb0c604..cf78f4b6a 100644
--- a/web/app/components/marketing/LogoTimeline.tsx
+++ b/web/app/components/marketing/LogoTimeline.tsx
@@ -53,7 +53,7 @@ export const LogoTimeline = () => {
maskRepeat: 'no-repeat',
}}
/>
- <div className='relative flex size-24 items-center justify-center rounded-xl bg-gradient-to-t from-white/5 to-white/25 shadow outline outline-offset-[-5px] outline-white/5 ring-1 ring-inset ring-white/10 group-data-[dark]:from-slate-700/5 group-data-[dark]:to-slate-700/25'>
+ <div className='relative flex size-24 items-center justify-center rounded-xl bg-gradient-to-t from-white/5 to-white/25 shadow-sm outline outline-offset-[-5px] outline-white/5 ring-1 ring-inset ring-white/10 group-data-[dark]:from-slate-700/5 group-data-[dark]:to-slate-700/25'>
<img src='/logo512.png' alt='' className='object-contain' />
</div>
</div>
diff --git a/web/app/components/marketing/MarketplaceCluster.tsx b/web/app/components/marketing/MarketplaceCluster.tsx
index fea144958..5cc0cc237 100644
--- a/web/app/components/marketing/MarketplaceCluster.tsx
+++ b/web/app/components/marketing/MarketplaceCluster.tsx
@@ -43,7 +43,7 @@ const Circles = () => {
const MainLogo = () => {
return (
- <div className='absolute left-44 top-32 flex size-16 items-center justify-center rounded-full bg-white shadow ring-1 ring-black/5'>
+ <div className='absolute left-44 top-32 flex size-16 items-center justify-center rounded-full bg-white shadow-sm ring-1 ring-black/5'>
<img src='/logo512.png' alt='' className='h-9 fill-black' />
</div>
)
@@ -78,7 +78,7 @@ const Logo = ({
},
}}
style={{ left, top } as React.CSSProperties}
- className='absolute flex size-16 items-center justify-center rounded-full bg-white shadow ring-1 ring-black/5 group-data-[dark]:bg-slate-700/60'
+ className='absolute flex size-16 items-center justify-center rounded-full bg-white shadow-sm ring-1 ring-black/5 group-data-[dark]:bg-slate-700/60'
>
<img src={src} alt='' className='size-10' />
</motion.div>
diff --git a/web/app/components/marketing/Pricing.tsx b/web/app/components/marketing/Pricing.tsx
index b0eb9aad0..dbb4cfca7 100644
--- a/web/app/components/marketing/Pricing.tsx
+++ b/web/app/components/marketing/Pricing.tsx
@@ -333,7 +333,7 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
className='arrows-handle mt-5 h-2 w-full appearance-none rounded-full bg-gray-200 dark:bg-slate-600'
onChange={onSelectPlanChange}
/>
- <div className='relative mt-5 divide-y rounded-2xl border shadow-sm ring-1 ring-gray-200 dark:ring-slate-700'>
+ <div className='shadow-xs relative mt-5 divide-y rounded-2xl border ring-1 ring-gray-200 dark:ring-slate-700'>
{user.planCode === selectedTier.planCode && (
<div className='absolute left-5 top-0 translate-y-px transform'>
<div className='flex -translate-y-1/2 transform justify-center'>
@@ -390,7 +390,7 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
</Button>
) : (
<Link
- className='relative inline-flex select-none items-center rounded-md border border-transparent bg-slate-900 px-4 py-2 text-sm font-medium leading-4 text-gray-50 shadow-sm hover:bg-slate-700 dark:bg-indigo-700 dark:hover:bg-indigo-800'
+ className='shadow-xs relative inline-flex select-none items-center rounded-md border border-transparent bg-slate-900 px-4 py-2 text-sm font-medium leading-4 text-gray-50 hover:bg-slate-700 dark:bg-indigo-700 dark:hover:bg-indigo-800'
to={routes.signup}
aria-label={t('titles.signup')}
>
@@ -412,7 +412,7 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
<ul className='mt-6 grid grid-cols-2 gap-4'>
{_map(planFeatures, (feature) => (
<li key={feature} className='flex space-x-3'>
- <CheckIcon className='h-5 w-5 flex-shrink-0 text-green-500' aria-hidden='true' />
+ <CheckIcon className='h-5 w-5 shrink-0 text-green-500' aria-hidden='true' />
<span className='text-sm text-gray-700 dark:text-gray-200'>{feature}</span>
</li>
))}
@@ -503,7 +503,7 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
<div>
<h2 className='text-base font-bold'>{t('billing.dueNow')}</h2>
<p className='text-sm'>{t('billing.dueNowDescription')}</p>
- <div className='mt-2 overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='mt-2 overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='200 min-w-full divide-y divide-gray-300 dark:divide-gray-500'>
<thead className='bg-gray-50 dark:bg-slate-800'>
<tr>
@@ -549,7 +549,7 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
</p>
)}
<h2 className='mt-5 text-base font-bold'>{t('billing.nextPayment')}</h2>
- <div className='mt-2 overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='mt-2 overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='200 min-w-full divide-y divide-gray-300 dark:divide-gray-500'>
<thead className='bg-gray-50 dark:bg-slate-800'>
<tr>
diff --git a/web/app/pages/About/index.tsx b/web/app/pages/About/index.tsx
index 1e2a1ed0c..c6158a95e 100644
--- a/web/app/pages/About/index.tsx
+++ b/web/app/pages/About/index.tsx
@@ -8,7 +8,7 @@ const socialIcons: {
} = {
LinkedIn: (
<img
- className='h-6 w-6 rounded bg-white opacity-75 hover:opacity-90'
+ className='h-6 w-6 rounded-sm bg-white opacity-75 hover:opacity-90'
aria-hidden='true'
src='/assets/linkedin.svg'
alt='LinkedIn'
diff --git a/web/app/pages/Auth/ChangeEmail/index.tsx b/web/app/pages/Auth/ChangeEmail/index.tsx
index eb7b41549..cc1908995 100644
--- a/web/app/pages/Auth/ChangeEmail/index.tsx
+++ b/web/app/pages/Auth/ChangeEmail/index.tsx
@@ -56,13 +56,13 @@ const ChangeEmail = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -88,7 +88,7 @@ const ChangeEmail = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
diff --git a/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx b/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
index 918a95408..7c1d41376 100644
--- a/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
+++ b/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
@@ -107,7 +107,7 @@ const CreateNewPassword = () => {
</h2>
</div>
<div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>
- <div className='bg-white px-6 py-12 shadow dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'>
+ <div className='bg-white px-6 py-12 shadow-sm dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'>
<form className='space-y-6' onSubmit={handleSubmit}>
<Input
name='password'
diff --git a/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx b/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
index bc2aedecb..2459419b2 100644
--- a/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
+++ b/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
@@ -92,7 +92,7 @@ const ForgotPassword = () => {
</h2>
</div>
<div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>
- <div className='bg-white px-6 py-12 shadow dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'>
+ <div className='bg-white px-6 py-12 shadow-sm dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'>
<form className='space-y-6' onSubmit={handleSubmit}>
<Input
name='email'
diff --git a/web/app/pages/Auth/Signin/Signin.tsx b/web/app/pages/Auth/Signin/Signin.tsx
index 26c366167..d8427bd44 100644
--- a/web/app/pages/Auth/Signin/Signin.tsx
+++ b/web/app/pages/Auth/Signin/Signin.tsx
@@ -308,7 +308,7 @@ const Signin = ({ ssrTheme }: SigninProps) => {
</h2>
</div>
<div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>
- <div className='bg-white px-6 py-12 shadow dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'>
+ <div className='bg-white px-6 py-12 shadow-sm dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'>
<form className='space-y-6' onSubmit={handleSubmit}>
<Input
name='email'
diff --git a/web/app/pages/Auth/Signup/Signup.tsx b/web/app/pages/Auth/Signup/Signup.tsx
index 1add1bd6d..91e85a5fa 100644
--- a/web/app/pages/Auth/Signup/Signup.tsx
+++ b/web/app/pages/Auth/Signup/Signup.tsx
@@ -255,7 +255,7 @@ const Signup = ({ ssrTheme }: SignupProps) => {
<p className='text-center text-base text-gray-900 dark:text-gray-50'>{t('auth.signup.noCC')}</p>
</div>
<div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>
- <div className='bg-white px-6 py-12 shadow dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'>
+ <div className='bg-white px-6 py-12 shadow-sm dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800 sm:rounded-lg sm:px-12'>
<form className='space-y-6' onSubmit={handleSubmit}>
<Input
name='email'
diff --git a/web/app/pages/Auth/Socialised/index.tsx b/web/app/pages/Auth/Socialised/index.tsx
index 51a51c422..51c76ab70 100644
--- a/web/app/pages/Auth/Socialised/index.tsx
+++ b/web/app/pages/Auth/Socialised/index.tsx
@@ -86,7 +86,7 @@ const Socialised = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
diff --git a/web/app/pages/Auth/VerifyEmail/index.tsx b/web/app/pages/Auth/VerifyEmail/index.tsx
index 1e036d895..7479ebb7c 100644
--- a/web/app/pages/Auth/VerifyEmail/index.tsx
+++ b/web/app/pages/Auth/VerifyEmail/index.tsx
@@ -64,13 +64,13 @@ const VerifyEmail = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -96,7 +96,7 @@ const VerifyEmail = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
diff --git a/web/app/pages/Billing/index.tsx b/web/app/pages/Billing/index.tsx
index abbaa8d33..fd4859dcc 100644
--- a/web/app/pages/Billing/index.tsx
+++ b/web/app/pages/Billing/index.tsx
@@ -241,7 +241,7 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
{isSubscriber && nextBillDate && (
<div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 dark:bg-blue-600/30'>
<div className='flex'>
- <div className='flex-shrink-0'>
+ <div className='shrink-0'>
<InformationCircleIcon aria-hidden='true' className='h-5 w-5 text-blue-400 dark:text-blue-100' />
</div>
<p className='ml-3 text-sm font-medium text-blue-700 dark:text-blue-100'>
@@ -258,7 +258,7 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
{cancellationEffectiveDate && (
<div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 dark:bg-blue-600/30'>
<div className='flex'>
- <div className='flex-shrink-0'>
+ <div className='shrink-0'>
<InformationCircleIcon aria-hidden='true' className='h-5 w-5 text-blue-400 dark:text-blue-100' />
</div>
<div className='ml-3'>
@@ -280,7 +280,7 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
{isTrial && trialMessage && (
<div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 dark:bg-blue-600/30'>
<div className='flex'>
- <div className='flex-shrink-0'>
+ <div className='shrink-0'>
<InformationCircleIcon aria-hidden='true' className='h-5 w-5 text-blue-400 dark:text-blue-100' />
</div>
<p className='ml-3 text-sm font-medium text-blue-700 dark:text-blue-100'>{trialMessage}</p>
@@ -290,7 +290,7 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
{isNoSub && (
<div className='mt-5 max-w-prose rounded-md bg-red-50 p-4 dark:bg-red-600/30'>
<div className='flex'>
- <div className='flex-shrink-0'>
+ <div className='shrink-0'>
<ExclamationTriangleIcon aria-hidden='true' className='h-5 w-5 text-red-400 dark:text-red-100' />
</div>
<div className='ml-3'>
diff --git a/web/app/pages/Captcha/Settings/CaptchaSettings.tsx b/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
index b18c5ac2c..f155638e8 100644
--- a/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
+++ b/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
@@ -292,13 +292,13 @@ const CaptchaSettings = ({ isSettings }: CaptchaSettingsProps) => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx b/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
index 95e4bf3d4..7dbdd64af 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.helpers.tsx
@@ -148,7 +148,7 @@ const getSettings = (
return `
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
<span>${el.name}</span>
</div>
<span class='pl-4'>${el.value}</span>
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.tsx b/web/app/pages/Captcha/View/ViewCaptcha.tsx
index a0569ee01..ba1e7ea32 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.tsx
@@ -618,7 +618,7 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
title={t('project.refreshStats')}
onClick={refreshStats}
className={cx(
- 'relative mr-3 rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'hover:shadow-xs focus:outline-hidden relative mr-3 rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': authLoading || dataLoading,
},
@@ -635,7 +635,7 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
onSelect={(item) => item.onClick()}
className={cx('mr-3', { hidden: isPanelsDataEmpty || analyticsLoading })}
chevron='mini'
- buttonClassName='!p-2 rounded-md hover:bg-white hover:shadow-sm dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200'
+ buttonClassName='!p-2 rounded-md hover:bg-white hover:shadow-xs dark:hover:bg-slate-800 focus:z-10 focus:outline-hidden focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200'
headless
/>
<div
@@ -650,9 +650,9 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
title={t('project.barChart')}
onClick={() => setChartTypeOnClick(chartTypes.bar)}
className={cx(
- 'relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'focus:outline-hidden relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
- 'bg-white stroke-white shadow-sm dark:bg-slate-800 dark:stroke-slate-800':
+ 'shadow-xs bg-white stroke-white dark:bg-slate-800 dark:stroke-slate-800':
chartType === chartTypes.bar,
'bg-gray-50 stroke-gray-50 dark:bg-slate-900 dark:stroke-slate-900 [&_svg]:hover:fill-gray-500 [&_svg]:hover:dark:fill-gray-200':
chartType !== chartTypes.bar,
@@ -666,9 +666,9 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
title={t('project.lineChart')}
onClick={() => setChartTypeOnClick(chartTypes.line)}
className={cx(
- 'relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'focus:outline-hidden relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
- 'bg-white stroke-white shadow-sm dark:bg-slate-800 dark:stroke-slate-800':
+ 'shadow-xs bg-white stroke-white dark:bg-slate-800 dark:stroke-slate-800':
chartType === chartTypes.line,
'bg-gray-50 stroke-gray-50 dark:bg-slate-900 dark:stroke-slate-900 [&_svg]:hover:fill-gray-500 [&_svg]:hover:dark:fill-gray-200':
chartType !== chartTypes.line,
diff --git a/web/app/pages/Captcha/View/components/Filters.tsx b/web/app/pages/Captcha/View/components/Filters.tsx
index d789eb1ff..f80407831 100644
--- a/web/app/pages/Captcha/View/components/Filters.tsx
+++ b/web/app/pages/Captcha/View/components/Filters.tsx
@@ -100,7 +100,7 @@ const Filter = ({
<button
onClick={() => onRemoveFilter(column, filter)}
type='button'
- className='ml-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900 focus:outline-none dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300 dark:focus:bg-gray-800 dark:focus:text-gray-300'
+ className='focus:outline-hidden ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300 dark:focus:bg-gray-800 dark:focus:text-gray-300'
>
<span className='sr-only'>Remove filter</span>
<svg className='h-2 w-2' stroke='currentColor' fill='none' viewBox='0 0 8 8'>
@@ -128,12 +128,9 @@ const Filters = ({ onRemoveFilter, onChangeExclusive, tnMapping, resetFilters, f
}
return (
- <div className='flex items-center justify-between rounded-md bg-slate-200 p-1 shadow dark:border dark:border-slate-800/50 dark:bg-slate-800/25'>
+ <div className='flex items-center justify-between rounded-md bg-slate-200 p-1 shadow-sm dark:border dark:border-slate-800/50 dark:bg-slate-800/25'>
<div className='flex items-center'>
- <FilterIcon
- className='box-content size-6 flex-shrink-0 px-1 text-gray-700 dark:text-gray-200'
- strokeWidth={1.5}
- />
+ <FilterIcon className='box-content size-6 shrink-0 px-1 text-gray-700 dark:text-gray-200' strokeWidth={1.5} />
<div className='flex flex-wrap'>
{_map(filters, (props) => {
const { column, filter } = props
@@ -154,7 +151,7 @@ const Filters = ({ onRemoveFilter, onChangeExclusive, tnMapping, resetFilters, f
</div>
</div>
<XMarkIcon
- className='box-content size-6 flex-shrink-0 cursor-pointer stroke-2 px-1 text-gray-800 hover:text-gray-600 dark:text-gray-200 dark:hover:text-gray-300'
+ className='box-content size-6 shrink-0 cursor-pointer stroke-2 px-1 text-gray-800 hover:text-gray-600 dark:text-gray-200 dark:hover:text-gray-300'
onClick={resetFilters}
/>
</div>
diff --git a/web/app/pages/Captcha/View/components/TBPeriodSelector.tsx b/web/app/pages/Captcha/View/components/TBPeriodSelector.tsx
index 8bba7d2e8..1933db7cc 100644
--- a/web/app/pages/Captcha/View/components/TBPeriodSelector.tsx
+++ b/web/app/pages/Captcha/View/components/TBPeriodSelector.tsx
@@ -45,7 +45,7 @@ const TBPeriodSelector = ({
<Popover className='relative'>
{({ open }) => (
<>
- <PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>
+ <PopoverButton className='outline-hidden group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 dark:text-gray-50 md:px-4'>
<CalendarIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{title}</span>
<ChevronDownIcon
diff --git a/web/app/pages/CookiePolicy/index.tsx b/web/app/pages/CookiePolicy/index.tsx
index 110ac4acb..e2886798d 100644
--- a/web/app/pages/CookiePolicy/index.tsx
+++ b/web/app/pages/CookiePolicy/index.tsx
@@ -36,7 +36,7 @@ const CookiePolicy = () => {
<div className='mt-2 flex flex-col'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='200 w-full min-w-full divide-y divide-gray-300 dark:divide-gray-500'>
<thead className='bg-gray-50 dark:bg-slate-800'>
<tr>
diff --git a/web/app/pages/Dashboard/Dashboard.tsx b/web/app/pages/Dashboard/Dashboard.tsx
index 52c439f01..2165116e3 100644
--- a/web/app/pages/Dashboard/Dashboard.tsx
+++ b/web/app/pages/Dashboard/Dashboard.tsx
@@ -262,13 +262,13 @@ const Dashboard = () => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -360,7 +360,7 @@ const Dashboard = () => {
handleViewModeChange(DASHBOARD_VIEW.GRID)
}}
className={cx(
- 'rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'focus:outline-hidden rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
viewMode === DASHBOARD_VIEW.GRID
? 'bg-gray-100 text-gray-900 dark:bg-slate-700 dark:text-gray-50'
: 'text-gray-700 hover:bg-gray-50 dark:text-gray-50 dark:hover:bg-slate-700',
@@ -375,7 +375,7 @@ const Dashboard = () => {
handleViewModeChange(DASHBOARD_VIEW.LIST)
}}
className={cx(
- 'rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'focus:outline-hidden rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
viewMode === DASHBOARD_VIEW.LIST
? 'bg-gray-100 text-gray-900 dark:bg-slate-700 dark:text-gray-50'
: 'text-gray-700 hover:bg-gray-50 dark:text-gray-50 dark:hover:bg-slate-700',
@@ -387,7 +387,7 @@ const Dashboard = () => {
<Link
to={routes.new_project}
onClick={onNewProject}
- className='inline-flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-slate-900 px-3 py-2 !pl-2 text-center text-sm font-medium leading-4 text-white shadow-sm hover:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-slate-500 focus:ring-offset-2 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
+ className='shadow-xs focus:outline-hidden inline-flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-slate-900 px-3 py-2 !pl-2 text-center text-sm font-medium leading-4 text-white hover:bg-slate-700 focus:ring-2 focus:ring-slate-500 focus:ring-offset-2 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
>
<FolderPlusIcon className='mr-1 h-5 w-5' />
{t('dashboard.newProject')}
diff --git a/web/app/pages/Dashboard/NoProjects.tsx b/web/app/pages/Dashboard/NoProjects.tsx
index 069dd9c2e..b681558ab 100644
--- a/web/app/pages/Dashboard/NoProjects.tsx
+++ b/web/app/pages/Dashboard/NoProjects.tsx
@@ -29,7 +29,7 @@ export const NoProjects = ({ onClick, activeTab, search }: NoProjectsProps) => {
<Link
to={routes.new_project}
onClick={onClick}
- className='relative mx-auto block max-w-lg rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='focus:outline-hidden relative mx-auto block max-w-lg rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
<FolderPlusIcon className='mx-auto h-12 w-12 text-gray-400 dark:text-gray-200' />
<span className='mt-2 block text-sm font-semibold text-gray-900 dark:text-gray-50'>
diff --git a/web/app/pages/Dashboard/PeriodSelector.tsx b/web/app/pages/Dashboard/PeriodSelector.tsx
index 81d3cdcba..b456b0664 100644
--- a/web/app/pages/Dashboard/PeriodSelector.tsx
+++ b/web/app/pages/Dashboard/PeriodSelector.tsx
@@ -59,7 +59,7 @@ export const PeriodSelector = ({ activePeriod, setActivePeriod, isLoading }: Per
<Popover className='relative'>
{({ open }) => (
<>
- <PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>
+ <PopoverButton className='outline-hidden group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 dark:text-gray-50 md:px-4'>
<CalendarIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{period}</span>
<ChevronDownIcon
diff --git a/web/app/pages/Dashboard/ProjectCard.tsx b/web/app/pages/Dashboard/ProjectCard.tsx
index da0f3aa7a..d35a325a7 100644
--- a/web/app/pages/Dashboard/ProjectCard.tsx
+++ b/web/app/pages/Dashboard/ProjectCard.tsx
@@ -66,12 +66,12 @@ const MiniCard = ({ labelTKey, total = 0, percChange }: MiniCardProps) => {
>
{statsDidGrowUp ? (
<>
- <ChevronUpIcon className='h-4 w-4 flex-shrink-0 self-center text-green-500' />
+ <ChevronUpIcon className='h-4 w-4 shrink-0 self-center text-green-500' />
<span className='sr-only'>{t('dashboard.inc')}</span>
</>
) : (
<>
- <ChevronDownIcon className='h-4 w-4 flex-shrink-0 self-center text-red-500' />
+ <ChevronDownIcon className='h-4 w-4 shrink-0 self-center text-red-500' />
<span className='sr-only'>{t('dashboard.dec')}</span>
</>
)}
@@ -232,7 +232,7 @@ export const ProjectCard = ({
</Link>
)}
</div>
- <div className='mt-1 flex flex-shrink-0 flex-wrap gap-2'>
+ <div className='mt-1 flex shrink-0 flex-wrap gap-2'>
{badges.length > 0 ? (
badges.map((badge) => <Badge key={badge.label} {...badge} />)
) : (
@@ -240,7 +240,7 @@ export const ProjectCard = ({
)}
</div>
</div>
- <div className={cx('flex flex-shrink-0 gap-5', viewMode === 'list' ? 'ml-4' : 'mt-4 px-4 pb-4')}>
+ <div className={cx('flex shrink-0 gap-5', viewMode === 'list' ? 'ml-4' : 'mt-4 px-4 pb-4')}>
{isHostnameNavigationEnabled ? (
<MiniCard
labelTKey={project.isCaptchaProject ? 'dashboard.captchaEvents' : 'dashboard.pageviews'}
@@ -309,18 +309,18 @@ export const ProjectCardSkeleton = ({ viewMode }: ProjectCardSkeletonProps) => {
>
<div className={cx('flex flex-col', viewMode === 'list' ? 'flex-1' : 'px-4 py-4')}>
<div className={cx('flex items-center', viewMode === 'grid' ? 'justify-between' : 'justify-start gap-1')}>
- <div className='h-6 w-3/4 max-w-80 rounded bg-gray-200 dark:bg-slate-700' />
+ <div className='h-6 w-3/4 max-w-80 rounded-sm bg-gray-200 dark:bg-slate-700' />
<div className='size-6 rounded-[3px] bg-gray-200 dark:bg-slate-700' />
</div>
- <div className='mt-1 flex flex-shrink-0 flex-wrap gap-2'>
- <div className='h-6 w-16 rounded bg-gray-200 dark:bg-slate-700' />
- <div className='h-6 w-16 rounded bg-gray-200 dark:bg-slate-700' />
- <div className='h-6 w-16 rounded bg-gray-200 dark:bg-slate-700' />
+ <div className='mt-1 flex shrink-0 flex-wrap gap-2'>
+ <div className='h-6 w-16 rounded-sm bg-gray-200 dark:bg-slate-700' />
+ <div className='h-6 w-16 rounded-sm bg-gray-200 dark:bg-slate-700' />
+ <div className='h-6 w-16 rounded-sm bg-gray-200 dark:bg-slate-700' />
</div>
</div>
- <div className={cx('flex flex-shrink-0 gap-5', viewMode === 'list' ? 'ml-4' : 'mt-[1.375rem] px-4 pb-4')}>
- <div className='h-10 w-24 rounded bg-gray-200 dark:bg-slate-700' />
- <div className='h-10 w-24 rounded bg-gray-200 dark:bg-slate-700' />
+ <div className={cx('flex shrink-0 gap-5', viewMode === 'list' ? 'ml-4' : 'mt-[1.375rem] px-4 pb-4')}>
+ <div className='h-10 w-24 rounded-sm bg-gray-200 dark:bg-slate-700' />
+ <div className='h-10 w-24 rounded-sm bg-gray-200 dark:bg-slate-700' />
</div>
</div>
))}
diff --git a/web/app/pages/Dashboard/SortSelector.tsx b/web/app/pages/Dashboard/SortSelector.tsx
index 2642c0455..45b77f032 100644
--- a/web/app/pages/Dashboard/SortSelector.tsx
+++ b/web/app/pages/Dashboard/SortSelector.tsx
@@ -100,7 +100,7 @@ export const SortSelector = ({ activeSort, setActiveSort, isLoading, activeTab }
<Popover className='relative'>
{({ open }) => (
<>
- <PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>
+ <PopoverButton className='outline-hidden group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 dark:text-gray-50 md:px-4'>
<ArrowUpDown className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{sortLabel}</span>
<ChevronDownIcon
diff --git a/web/app/pages/ErrorTracking/index.tsx b/web/app/pages/ErrorTracking/index.tsx
index 6d9a3017a..b7796f7b7 100644
--- a/web/app/pages/ErrorTracking/index.tsx
+++ b/web/app/pages/ErrorTracking/index.tsx
@@ -138,7 +138,7 @@ const ErrorTracking = ({ ssrTheme, ssrAuthenticated }: ErrorTrackingProps) => {
<div className='mt-10 flex flex-col items-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='shadow-xs group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
@@ -146,7 +146,7 @@ const ErrorTracking = ({ ssrTheme, ssrAuthenticated }: ErrorTrackingProps) => {
</Link>
<a
href={ERROR_TRACKING_LIVE_DEMO_URL}
- className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
+ className='shadow-xs mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
target='_blank'
rel='noopener noreferrer'
aria-label={`${t('common.liveDemo')} (opens in a new tab)`}
diff --git a/web/app/pages/Landings/Marketers.tsx b/web/app/pages/Landings/Marketers.tsx
index 698883457..57feb3935 100644
--- a/web/app/pages/Landings/Marketers.tsx
+++ b/web/app/pages/Landings/Marketers.tsx
@@ -99,7 +99,7 @@ const Marketers = () => {
<div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='shadow-xs group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
@@ -107,7 +107,7 @@ const Marketers = () => {
</Link>
<a
href={LIVE_DEMO_URL}
- className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
+ className='shadow-xs mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
target='_blank'
rel='noopener noreferrer'
aria-label={`${t('common.liveDemo')} (opens in a new tab)`}
diff --git a/web/app/pages/Landings/SmallBusinesses.tsx b/web/app/pages/Landings/SmallBusinesses.tsx
index d9c16566e..f12733b28 100644
--- a/web/app/pages/Landings/SmallBusinesses.tsx
+++ b/web/app/pages/Landings/SmallBusinesses.tsx
@@ -99,7 +99,7 @@ const SmallBusinesses = () => {
<div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='shadow-xs group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
@@ -107,7 +107,7 @@ const SmallBusinesses = () => {
</Link>
<a
href={LIVE_DEMO_URL}
- className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
+ className='shadow-xs mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
target='_blank'
rel='noopener noreferrer'
aria-label={`${t('common.liveDemo')} (opens in a new tab)`}
diff --git a/web/app/pages/Landings/Startups.tsx b/web/app/pages/Landings/Startups.tsx
index a505f5eaa..218e18b0d 100644
--- a/web/app/pages/Landings/Startups.tsx
+++ b/web/app/pages/Landings/Startups.tsx
@@ -99,7 +99,7 @@ const Startups = () => {
<div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='shadow-xs group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold transition-transform group-hover:scale-[1.15]'>
@@ -109,7 +109,7 @@ const Startups = () => {
</Link>
<a
href={LIVE_DEMO_URL}
- className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
+ className='shadow-xs mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
target='_blank'
rel='noopener noreferrer'
aria-label={`${t('common.liveDemo')} (opens in a new tab)`}
diff --git a/web/app/pages/NotFound/index.tsx b/web/app/pages/NotFound/index.tsx
index a591d7fba..4ba7afcf7 100644
--- a/web/app/pages/NotFound/index.tsx
+++ b/web/app/pages/NotFound/index.tsx
@@ -27,7 +27,7 @@ const NotFound = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.main}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('notFoundPage.goHome')}
</Link>
@@ -36,14 +36,14 @@ const NotFound = () => {
href={CONTACT_US_URL}
target='_blank'
rel='noopener noreferrer'
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</a>
) : (
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
diff --git a/web/app/pages/OpenStartup/index.tsx b/web/app/pages/OpenStartup/index.tsx
index 1c3bb6f73..7d2a743e3 100644
--- a/web/app/pages/OpenStartup/index.tsx
+++ b/web/app/pages/OpenStartup/index.tsx
@@ -337,7 +337,7 @@ const getSettings = () => {
{{
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:{=COLOR}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:{=COLOR}></div>
<span>{=NAME}</span>
</div>
<span class='pl-4'>{=VALUE} US\$</span>
diff --git a/web/app/pages/Organisations/NoOrganisations.tsx b/web/app/pages/Organisations/NoOrganisations.tsx
index 89c928d1e..a79adf916 100644
--- a/web/app/pages/Organisations/NoOrganisations.tsx
+++ b/web/app/pages/Organisations/NoOrganisations.tsx
@@ -12,7 +12,7 @@ export const NoOrganisations = ({ onClick }: NoOrganisationsProps) => {
<button
type='button'
onClick={onClick}
- className='relative mx-auto block max-w-lg rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='focus:outline-hidden relative mx-auto block max-w-lg rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
<BuildingOffice2Icon className='mx-auto h-12 w-12 text-gray-400 dark:text-gray-200' />
<span className='mt-2 block text-sm font-semibold text-gray-900 dark:text-gray-50'>
diff --git a/web/app/pages/Organisations/OrganisationCard.tsx b/web/app/pages/Organisations/OrganisationCard.tsx
index de65504ae..976035ed6 100644
--- a/web/app/pages/Organisations/OrganisationCard.tsx
+++ b/web/app/pages/Organisations/OrganisationCard.tsx
@@ -140,7 +140,7 @@ export const OrganisationCard = ({ organisation, reloadOrganisations }: Organisa
)}
</div>
</div>
- <div className='mt-1 flex flex-shrink-0 flex-wrap gap-2'>
+ <div className='mt-1 flex shrink-0 flex-wrap gap-2'>
{badges.map((badge) => (
<Badge key={badge.label} {...badge} />
))}
diff --git a/web/app/pages/Organisations/Organisations.tsx b/web/app/pages/Organisations/Organisations.tsx
index 24b952fef..9f74b077c 100644
--- a/web/app/pages/Organisations/Organisations.tsx
+++ b/web/app/pages/Organisations/Organisations.tsx
@@ -150,13 +150,13 @@ const Organisations = () => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -221,7 +221,7 @@ const Organisations = () => {
</div>
<span
onClick={onNewOrganisation}
- className='inline-flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-slate-900 px-3 py-2 !pl-2 text-center text-sm font-medium leading-4 text-white shadow-sm hover:bg-slate-700 focus:outline-none focus:ring-2 focus:ring-slate-500 focus:ring-offset-2 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
+ className='shadow-xs focus:outline-hidden inline-flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-slate-900 px-3 py-2 !pl-2 text-center text-sm font-medium leading-4 text-white hover:bg-slate-700 focus:ring-2 focus:ring-slate-500 focus:ring-offset-2 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
>
<BuildingOffice2Icon className='mr-1 h-5 w-5' />
{t('organisations.new')}
diff --git a/web/app/pages/Organisations/Settings/People.tsx b/web/app/pages/Organisations/Settings/People.tsx
index ae95ddf88..e08200bdf 100644
--- a/web/app/pages/Organisations/Settings/People.tsx
+++ b/web/app/pages/Organisations/Settings/People.tsx
@@ -78,7 +78,7 @@ const UsersList = ({ members, onRemove }: UsersListProps) => {
onClick={() => setRoleEditDropdownId((prev) => (prev === member.id ? null : member.id))}
type='button'
disabled={member.user.email === user.email || member.role === 'owner'}
- className='inline-flex items-center rounded-full border border-gray-200 bg-white py-0.5 pl-2 pr-1 text-sm font-medium leading-5 text-gray-700 shadow-sm hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-80 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-200 dark:hover:bg-gray-600'
+ className='shadow-xs inline-flex items-center rounded-full border border-gray-200 bg-white py-0.5 pl-2 pr-1 text-sm font-medium leading-5 text-gray-700 hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-80 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-200 dark:hover:bg-gray-600'
>
{t(`organisations.role.${member.role}.name`)}
<ChevronDownIcon
@@ -89,7 +89,7 @@ const UsersList = ({ members, onRemove }: UsersListProps) => {
{roleEditDropdownId === member.id ? (
<ul
ref={openRef}
- className='absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 rounded-md bg-white text-left shadow-lg focus:outline-none dark:divide-gray-700 dark:bg-slate-900'
+ className='focus:outline-hidden absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 rounded-md bg-white text-left shadow-lg dark:divide-gray-700 dark:bg-slate-900'
>
{_map(roles, (itRole, index) => (
<li
@@ -293,7 +293,7 @@ const People = ({ organisation, reloadOrganisation }: PeopleProps) => {
<div className='mt-3 flex flex-col'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='min-w-full divide-y divide-gray-300 dark:divide-gray-600'>
<thead>
<tr className='dark:bg-slate-800'>
@@ -347,7 +347,7 @@ const People = ({ organisation, reloadOrganisation }: PeopleProps) => {
customButtons={
<button
type='button'
- className='inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'
+ className='shadow-xs inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'
onClick={handleSubmit}
>
{t('common.invite')}
diff --git a/web/app/pages/Organisations/Settings/Projects.tsx b/web/app/pages/Organisations/Settings/Projects.tsx
index e3cedde7c..1dc4c6cbd 100644
--- a/web/app/pages/Organisations/Settings/Projects.tsx
+++ b/web/app/pages/Organisations/Settings/Projects.tsx
@@ -301,7 +301,7 @@ export const Projects = ({ organisation, reloadOrganisation }: ProjectsProps) =>
<div className='mt-3 flex flex-col'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='min-w-full divide-y divide-gray-300 dark:divide-gray-600'>
<thead>
<tr className='dark:bg-slate-800'>
@@ -352,7 +352,7 @@ export const Projects = ({ organisation, reloadOrganisation }: ProjectsProps) =>
customButtons={
<button
type='button'
- className='inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'
+ className='shadow-xs inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'
onClick={onAddProject}
disabled={!selectedProject || isActionLoading}
>
diff --git a/web/app/pages/Organisations/Settings/index.tsx b/web/app/pages/Organisations/Settings/index.tsx
index cd1ffb1c4..001ef0554 100644
--- a/web/app/pages/Organisations/Settings/index.tsx
+++ b/web/app/pages/Organisations/Settings/index.tsx
@@ -236,13 +236,13 @@ const OrganisationSettings = () => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
diff --git a/web/app/pages/Performance/index.tsx b/web/app/pages/Performance/index.tsx
index 402fe746e..7961688a3 100644
--- a/web/app/pages/Performance/index.tsx
+++ b/web/app/pages/Performance/index.tsx
@@ -138,7 +138,7 @@ const Performance = ({ ssrTheme, ssrAuthenticated }: PerformanceProps) => {
<div className='mt-10 flex flex-col items-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='shadow-xs group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold transition-transform group-hover:scale-[1.15]'>
@@ -148,7 +148,7 @@ const Performance = ({ ssrTheme, ssrAuthenticated }: PerformanceProps) => {
</Link>
<a
href={PERFORMANCE_LIVE_DEMO_URL}
- className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
+ className='shadow-xs mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
target='_blank'
rel='noopener noreferrer'
aria-label={`${t('common.liveDemo')} (opens in a new tab)`}
diff --git a/web/app/pages/Privacy/index.tsx b/web/app/pages/Privacy/index.tsx
index 3a627b809..994fd7394 100644
--- a/web/app/pages/Privacy/index.tsx
+++ b/web/app/pages/Privacy/index.tsx
@@ -283,7 +283,7 @@ const Features = () => {
<div className='mt-8 flex flex-col'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='200 min-w-full divide-y divide-gray-300 dark:divide-gray-500'>
<thead className='bg-gray-50 dark:bg-slate-800'>
<tr>
diff --git a/web/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx b/web/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx
index e6d10ebe7..7234fa03a 100644
--- a/web/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx
+++ b/web/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx
@@ -287,13 +287,13 @@ const ProjectAlertsSettings = ({ isSettings }: ProjectAlertsSettingsProps) => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -314,7 +314,7 @@ const ProjectAlertsSettings = ({ isSettings }: ProjectAlertsSettingsProps) => {
<form className='mx-auto w-full max-w-7xl' onSubmit={handleSubmit}>
<h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{title}</h2>
{!authLoading && !isIntegrationLinked && (
- <div className='mt-2 flex items-center whitespace-pre-wrap rounded bg-blue-50 px-5 py-3 text-base dark:bg-slate-800 dark:text-gray-50'>
+ <div className='mt-2 flex items-center whitespace-pre-wrap rounded-sm bg-blue-50 px-5 py-3 text-base dark:bg-slate-800 dark:text-gray-50'>
<ExclamationTriangleIcon className='mr-1 h-5 w-5' />
<Trans
t={t}
diff --git a/web/app/pages/Project/Alerts/View/ProjectAlertsView.tsx b/web/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
index 1d130fe5d..a303263ee 100644
--- a/web/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
+++ b/web/app/pages/Project/Alerts/View/ProjectAlertsView.tsx
@@ -48,10 +48,10 @@ const NoNotificationChannelSet = () => {
</span>
<p className='ml-3 font-medium text-black'>{t('alert.noNotificationChannel')}</p>
</div>
- <div className='order-3 mt-2 w-full flex-shrink-0 sm:order-2 sm:mt-0 sm:w-auto'>
+ <div className='order-3 mt-2 w-full shrink-0 sm:order-2 sm:mt-0 sm:w-auto'>
<Link
to={routes.user_settings}
- className='flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-gray-800 shadow-sm hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
+ className='shadow-xs flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-gray-50 px-4 py-2 text-sm font-medium text-gray-800 hover:bg-yellow-50 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
>
{t('common.fixIt')}
</Link>
@@ -286,13 +286,13 @@ const ProjectAlerts = ({ projectId }: ProjectAlertsProps) => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
diff --git a/web/app/pages/Project/ConfirmShare/index.tsx b/web/app/pages/Project/ConfirmShare/index.tsx
index 97114eb45..522f96177 100644
--- a/web/app/pages/Project/ConfirmShare/index.tsx
+++ b/web/app/pages/Project/ConfirmShare/index.tsx
@@ -60,13 +60,13 @@ const ConfirmShare = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -92,7 +92,7 @@ const ConfirmShare = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
diff --git a/web/app/pages/Project/Settings/Emails/ConfirmReportsShare/index.tsx b/web/app/pages/Project/Settings/Emails/ConfirmReportsShare/index.tsx
index 8b49dc7c5..b1232b144 100644
--- a/web/app/pages/Project/Settings/Emails/ConfirmReportsShare/index.tsx
+++ b/web/app/pages/Project/Settings/Emails/ConfirmReportsShare/index.tsx
@@ -61,13 +61,13 @@ const ConfirmReportsShare = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -93,7 +93,7 @@ const ConfirmReportsShare = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
diff --git a/web/app/pages/Project/Settings/Emails/Emails.tsx b/web/app/pages/Project/Settings/Emails/Emails.tsx
index 72f0e2fba..e6edbbcdb 100644
--- a/web/app/pages/Project/Settings/Emails/Emails.tsx
+++ b/web/app/pages/Project/Settings/Emails/Emails.tsx
@@ -185,7 +185,7 @@ const EmailList = ({ data, onRemove, setEmails }: EmailListProps) => {
<button
onClick={() => setOpen(!open)}
type='button'
- className='inline-flex items-center rounded-full border border-gray-200 bg-white py-0.5 pl-2 pr-1 text-sm font-medium leading-5 text-gray-700 shadow-sm hover:bg-gray-50 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-200 dark:hover:bg-gray-600'
+ className='shadow-xs inline-flex items-center rounded-full border border-gray-200 bg-white py-0.5 pl-2 pr-1 text-sm font-medium leading-5 text-gray-700 hover:bg-gray-50 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-200 dark:hover:bg-gray-600'
>
{t(`profileSettings.${_toLower(reportFrequency)}`)}
<ChevronDownIcon style={{ transform: open ? 'rotate(180deg)' : '' }} className='ml-0.5 h-4 w-4 pt-px' />
@@ -193,7 +193,7 @@ const EmailList = ({ data, onRemove, setEmails }: EmailListProps) => {
{open && (
<ul
ref={openRef}
- className='absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 rounded-md bg-white text-left shadow-lg focus:outline-none dark:divide-gray-700 dark:bg-slate-900'
+ className='focus:outline-hidden absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 rounded-md bg-white text-left shadow-lg dark:divide-gray-700 dark:bg-slate-900'
>
{_map(reportFrequencyForEmailsOptions, (item, index) => (
<li
@@ -409,7 +409,7 @@ const Emails = ({ projectId }: { projectId: string }) => {
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 md:overflow-x-visible lg:-mx-8'>
<div className='inline-block min-w-full py-2 md:px-6 lg:px-8'>
{!loading && !_isEmpty(emails) && (
- <div className='shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='min-w-full divide-y divide-gray-300 dark:divide-gray-600'>
<thead>
<tr className='dark:bg-slate-800'>
@@ -455,7 +455,7 @@ const Emails = ({ projectId }: { projectId: string }) => {
customButtons={
<button
type='button'
- className='inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'
+ className='shadow-xs inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'
onClick={handleSubmit}
>
{t('project.emails.add')}
diff --git a/web/app/pages/Project/Settings/People/People.tsx b/web/app/pages/Project/Settings/People/People.tsx
index f7f678e89..d16f16c8b 100644
--- a/web/app/pages/Project/Settings/People/People.tsx
+++ b/web/app/pages/Project/Settings/People/People.tsx
@@ -78,7 +78,7 @@ const UsersList = ({ data, onRemove, language, authedUserEmail }: UsersListProps
onClick={() => setOpen(!open)}
type='button'
disabled={user.email === authedUserEmail}
- className='inline-flex items-center rounded-full border border-gray-200 bg-white py-0.5 pl-2 pr-1 text-sm font-medium leading-5 text-gray-700 shadow-sm hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-80 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-200 dark:hover:bg-gray-600'
+ className='shadow-xs inline-flex items-center rounded-full border border-gray-200 bg-white py-0.5 pl-2 pr-1 text-sm font-medium leading-5 text-gray-700 hover:bg-gray-50 disabled:cursor-not-allowed disabled:opacity-80 dark:border-gray-600 dark:bg-slate-800 dark:text-gray-200 dark:hover:bg-gray-600'
>
{t(`project.settings.roles.${role}.name`)}
<ChevronDownIcon style={{ transform: open ? 'rotate(180deg)' : '' }} className='ml-0.5 h-4 w-4 pt-px' />
@@ -86,7 +86,7 @@ const UsersList = ({ data, onRemove, language, authedUserEmail }: UsersListProps
{open && (
<ul
ref={openRef}
- className='absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 rounded-md bg-white text-left shadow-lg focus:outline-none dark:divide-gray-700 dark:bg-slate-900'
+ className='focus:outline-hidden absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 rounded-md bg-white text-left shadow-lg dark:divide-gray-700 dark:bg-slate-900'
>
{_map(roles, (itRole, index) => (
<li
@@ -284,7 +284,7 @@ const People = ({ project }: PeopleProps) => {
<div className='mt-3 flex flex-col'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 md:overflow-x-visible lg:-mx-8'>
<div className='inline-block min-w-full py-2 md:px-6 lg:px-8'>
- <div className='shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='min-w-full divide-y divide-gray-300 dark:divide-gray-600'>
<thead>
<tr className='dark:bg-slate-800'>
@@ -347,7 +347,7 @@ const People = ({ project }: PeopleProps) => {
customButtons={
<button
type='button'
- className='inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'
+ className='shadow-xs inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white hover:bg-indigo-700 sm:ml-3 sm:w-auto sm:text-sm'
onClick={handleSubmit}
>
{t('common.invite')}
diff --git a/web/app/pages/Project/Settings/ProjectSettings.tsx b/web/app/pages/Project/Settings/ProjectSettings.tsx
index 59fc58ee1..6458a0697 100644
--- a/web/app/pages/Project/Settings/ProjectSettings.tsx
+++ b/web/app/pages/Project/Settings/ProjectSettings.tsx
@@ -154,7 +154,7 @@ const ModalMessage = ({
onChange={(date) => setDateRange(date)}
options={{
altInputClass:
- 'shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 dark:text-gray-50 dark:placeholder-gray-400 dark:border-gray-800 dark:bg-slate-800 rounded-md',
+ 'shadow-xs focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 dark:text-gray-50 dark:placeholder-gray-400 dark:border-gray-800 dark:bg-slate-800 rounded-md',
}}
value={dateRange}
/>
@@ -578,13 +578,13 @@ const ProjectSettings = () => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
diff --git a/web/app/pages/Project/Settings/TransferProject/TransferProjectConfirm.tsx b/web/app/pages/Project/Settings/TransferProject/TransferProjectConfirm.tsx
index 9a85ffc12..19cad462f 100644
--- a/web/app/pages/Project/Settings/TransferProject/TransferProjectConfirm.tsx
+++ b/web/app/pages/Project/Settings/TransferProject/TransferProjectConfirm.tsx
@@ -60,13 +60,13 @@ const TransferProjectConfirm = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -92,7 +92,7 @@ const TransferProjectConfirm = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
diff --git a/web/app/pages/Project/Settings/TransferProject/TransferProjectReject.tsx b/web/app/pages/Project/Settings/TransferProject/TransferProjectReject.tsx
index 28a709722..70d4e0d56 100644
--- a/web/app/pages/Project/Settings/TransferProject/TransferProjectReject.tsx
+++ b/web/app/pages/Project/Settings/TransferProject/TransferProjectReject.tsx
@@ -60,13 +60,13 @@ const TransferProjectReject = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -92,7 +92,7 @@ const TransferProjectReject = () => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
diff --git a/web/app/pages/Project/View/Panels.tsx b/web/app/pages/Project/View/Panels.tsx
index f3e21e593..bc20b4d79 100644
--- a/web/app/pages/Project/View/Panels.tsx
+++ b/web/app/pages/Project/View/Panels.tsx
@@ -128,7 +128,7 @@ const PanelContainer = ({
}: PanelContainerProps) => (
<div
className={cx(
- 'relative max-h-96 min-h-72 overflow-hidden rounded-lg bg-white px-4 pt-5 shadow dark:border dark:border-slate-800/50 dark:bg-slate-800/25 sm:px-6 sm:pt-6',
+ 'relative max-h-96 min-h-72 overflow-hidden rounded-lg bg-white px-4 pt-5 shadow-sm dark:border dark:border-slate-800/50 dark:bg-slate-800/25 sm:px-6 sm:pt-6',
{
'pb-12': !noSwitch,
'pb-5': noSwitch,
@@ -281,7 +281,7 @@ const getPieOptions = (customs: any, uniques: number, t: any) => {
<ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-700 rounded-md shadow-md px-3 py-1'>
{{
<li class='flex'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:{=COLOR}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:{=COLOR}></div>
<span>{=NAME}</span>
</li>
<hr class='border-gray-200 dark:border-slate-600' />
@@ -937,7 +937,7 @@ const CustomEvents = ({
<div className='flex w-[4.5rem] justify-between'>
<Button
className={cx(
- 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',
+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow-sm dark:bg-slate-800 dark:text-gray-200',
{
'cursor-not-allowed opacity-50': !canGoPrev(),
'hover:bg-gray-200 hover:dark:bg-slate-700': canGoPrev(),
@@ -952,7 +952,7 @@ const CustomEvents = ({
</Button>
<Button
className={cx(
- 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',
+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow-sm dark:bg-slate-800 dark:text-gray-200',
{
'cursor-not-allowed opacity-50': !canGoNext(),
'hover:bg-gray-200 hover:dark:bg-slate-700': canGoNext(),
@@ -1334,7 +1334,7 @@ const PageProperties = ({
<div className='flex w-[4.5rem] justify-between'>
<Button
className={cx(
- 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',
+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow-sm dark:bg-slate-800 dark:text-gray-200',
{
'cursor-not-allowed opacity-50': !canGoPrev(),
'hover:bg-gray-200 hover:dark:bg-slate-700': canGoPrev(),
@@ -1349,7 +1349,7 @@ const PageProperties = ({
</Button>
<Button
className={cx(
- 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',
+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow-sm dark:bg-slate-800 dark:text-gray-200',
{
'cursor-not-allowed opacity-50': !canGoNext(),
'hover:bg-gray-200 hover:dark:bg-slate-700': canGoNext(),
@@ -1509,7 +1509,7 @@ const Panel = ({
<button
type='button'
onClick={() => setIsReversedUserFlow((prev) => !prev)}
- className='mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-700 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:ml-3 sm:mt-0 sm:w-auto sm:text-sm'
+ className='shadow-xs mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-700 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:ml-3 sm:mt-0 sm:w-auto sm:text-sm'
>
{t('project.reverse')}
</button>
@@ -1546,7 +1546,7 @@ const Panel = ({
<ul class='bg-gray-100 dark:text-gray-50 dark:bg-slate-700 rounded-md shadow-md px-3 py-1'>
{{
<li class='flex'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:{=COLOR}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:{=COLOR}></div>
<span>{=NAME}</span>
</li>
<hr class='border-gray-200 dark:border-slate-600' />
@@ -1628,7 +1628,7 @@ const Panel = ({
return (
<Fragment key={`${id}-${entryName}-${Object.values(rest).join('-')}`}>
<div
- className={cx('mt-[0.32rem] flex justify-between rounded first:mt-0 dark:text-gray-50', {
+ className={cx('mt-[0.32rem] flex justify-between rounded-sm first:mt-0 dark:text-gray-50', {
'group cursor-pointer hover:bg-gray-100 hover:dark:bg-slate-700': !hideFilters && !dataLoading,
'cursor-wait': dataLoading,
})}
@@ -1694,7 +1694,7 @@ const Panel = ({
<div className='flex w-[4.5rem] justify-between'>
<Button
className={cx(
- 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',
+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow-sm dark:bg-slate-800 dark:text-gray-200',
{
'cursor-not-allowed opacity-50': !canGoPrev(),
'hover:bg-gray-200 hover:dark:bg-slate-700': canGoPrev(),
@@ -1709,7 +1709,7 @@ const Panel = ({
</Button>
<Button
className={cx(
- 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow dark:bg-slate-800 dark:text-gray-200',
+ 'border-none bg-gray-100 px-1.5 py-0.5 font-light text-gray-500 shadow-sm dark:bg-slate-800 dark:text-gray-200',
{
'cursor-not-allowed opacity-50': !canGoNext(),
'hover:bg-gray-200 hover:dark:bg-slate-700': canGoNext(),
diff --git a/web/app/pages/Project/View/ViewProject.helpers.tsx b/web/app/pages/Project/View/ViewProject.helpers.tsx
index c3ccd6bfb..9acc9f05a 100644
--- a/web/app/pages/Project/View/ViewProject.helpers.tsx
+++ b/web/app/pages/Project/View/ViewProject.helpers.tsx
@@ -641,7 +641,7 @@ const getSettings = (
return `
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
<span>${el.name}</span>
</div>
<span class='pl-4'>${getStringFromTime(getTimeFromSeconds(el.value))}</span>
@@ -656,7 +656,7 @@ const getSettings = (
return `
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
<span>${el.name}</span>
</div>
<span class='pl-4'>${el.value}</span>
@@ -696,7 +696,7 @@ const getSettings = (
return `
<div class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(id)}></div>
<span>${name}</span>
</div>
</div>
@@ -721,7 +721,7 @@ const getSettings = (
return `
<div class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(id)}></div>
<span>${name}</span>
</div>
</div>
@@ -846,7 +846,7 @@ const getSettingsSession = (
return `
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
<span>${el.name}</span>
</div>
<span class='pl-4'>${getStringFromTime(getTimeFromSeconds(el.value))}</span>
@@ -861,7 +861,7 @@ const getSettingsSession = (
return `
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
<span>${el.name}</span>
</div>
<span class='pl-4'>${el.value}</span>
@@ -986,7 +986,7 @@ const getSettingsError = (
(el: { id: string; index: number; name: string; value: string; x: Date }) => `
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
<span>${el.name}</span>
</div>
<span class='pl-4'>${el.value}</span>
@@ -1101,7 +1101,7 @@ const getSettingsFunnels = (funnel: AnalyticsFunnel[], totalPageviews: number, t
const events = `
<tr class='tracking-tight'>
<td class='pr-7'>
- <div class='w-3 h-3 rounded-sm mr-1 float-left mt-1.5' style=background-color:${color('events')}></div>
+ <div class='w-3 h-3 rounded-xs mr-1 float-left mt-1.5' style=background-color:${color('events')}></div>
<span class='font-semibold'>
${_startsWith(step.value, '/') ? t('project.visitors') : t('project.events')}
</span>
@@ -1118,7 +1118,7 @@ const getSettingsFunnels = (funnel: AnalyticsFunnel[], totalPageviews: number, t
const dropoff = `
<tr class='tracking-tight'>
<td class='pr-7'>
- <div class='w-3 h-3 rounded-sm mr-1 float-left mt-1.5' style="background-color:${color(
+ <div class='w-3 h-3 rounded-xs mr-1 float-left mt-1.5' style="background-color:${color(
'dropoff',
)}"}></div>
<span class='font-semibold'>
@@ -1253,7 +1253,7 @@ const getSettingsUptime = (
(el: { id: string; index: number; name: string; value: string; x: Date }) => `
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
<span>${el.name}</span>
</div>
<span class='pl-4'>${getStringFromTime(getTimeFromSeconds(el.value), true)}</span>
@@ -1445,7 +1445,7 @@ const getSettingsPerf = (
return `
<li class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(el.id)}></div>
<span>${el.name}</span>
</div>
<span class='pl-4'>${getStringFromTime(getTimeFromSeconds(el.value), true)}</span>
@@ -1476,7 +1476,7 @@ const getSettingsPerf = (
return `
<div class='flex justify-between'>
<div class='flex justify-items-start'>
- <div class='w-3 h-3 rounded-sm mt-1.5 mr-2' style=background-color:${color(id)}></div>
+ <div class='w-3 h-3 rounded-xs mt-1.5 mr-2' style=background-color:${color(id)}></div>
<span>${name}</span>
</div>
</div>
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index 90afabd8b..17b2524e4 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -3089,7 +3089,7 @@ const ViewProject = () => {
title={t('project.refreshStats')}
onClick={refreshStats}
className={cx(
- 'relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'hover:shadow-xs focus:outline-hidden relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': authLoading || dataLoading,
},
@@ -3115,7 +3115,7 @@ const ViewProject = () => {
setShowFiltersSearch(true)
}}
className={cx(
- 'relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'hover:shadow-xs focus:outline-hidden relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': authLoading || dataLoading,
},
@@ -3218,7 +3218,7 @@ const ViewProject = () => {
}
}}
chevron='mini'
- buttonClassName='!p-2 rounded-md hover:bg-white hover:shadow-sm dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200'
+ buttonClassName='!p-2 rounded-md hover:bg-white hover:shadow-xs dark:hover:bg-slate-800 focus:z-10 focus:outline-hidden focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200'
headless
/>
)}
@@ -3255,7 +3255,7 @@ const ViewProject = () => {
item.onClick(panelsData, t)
}}
chevron='mini'
- buttonClassName='!p-2 rounded-md hover:bg-white hover:shadow-sm dark:hover:bg-slate-800 focus:z-10 focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200'
+ buttonClassName='!p-2 rounded-md hover:bg-white hover:shadow-xs dark:hover:bg-slate-800 focus:z-10 focus:outline-hidden focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500 focus:dark:ring-gray-200 focus:dark:border-gray-200'
headless
/>
)}
@@ -3277,9 +3277,9 @@ const ViewProject = () => {
title={t('project.barChart')}
onClick={() => setChartTypeOnClick(chartTypes.bar)}
className={cx(
- 'relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'focus:outline-hidden relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
- 'bg-white stroke-white shadow-sm dark:bg-slate-800 dark:stroke-slate-800':
+ 'shadow-xs bg-white stroke-white dark:bg-slate-800 dark:stroke-slate-800':
chartType === chartTypes.bar,
'bg-gray-50 stroke-gray-50 dark:bg-slate-900 dark:stroke-slate-900 [&_svg]:hover:fill-gray-500 [&_svg]:hover:dark:fill-gray-200':
chartType !== chartTypes.bar,
@@ -3293,9 +3293,9 @@ const ViewProject = () => {
title={t('project.lineChart')}
onClick={() => setChartTypeOnClick(chartTypes.line)}
className={cx(
- 'relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'focus:outline-hidden relative rounded-md fill-gray-700 p-2 text-sm font-medium focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:fill-gray-50 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
- 'bg-white stroke-white shadow-sm dark:bg-slate-800 dark:stroke-slate-800':
+ 'shadow-xs bg-white stroke-white dark:bg-slate-800 dark:stroke-slate-800':
chartType === chartTypes.line,
'bg-gray-50 stroke-gray-50 dark:bg-slate-900 dark:stroke-slate-900 [&_svg]:hover:fill-gray-500 [&_svg]:hover:dark:fill-gray-200':
chartType !== chartTypes.line,
@@ -3459,7 +3459,7 @@ const ViewProject = () => {
title={t('project.refreshStats')}
onClick={refreshStats}
className={cx(
- 'relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'hover:shadow-xs focus:outline-hidden relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': authLoading || dataLoading,
},
@@ -3706,7 +3706,7 @@ const ViewProject = () => {
title={t('project.refreshStats')}
onClick={() => loadSessions()}
className={cx(
- 'relative mx-auto mt-2 flex items-center rounded-md bg-gray-50 p-2 text-sm font-medium text-gray-700 hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:text-gray-50 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'hover:shadow-xs focus:outline-hidden relative mx-auto mt-2 flex items-center rounded-md bg-gray-50 p-2 text-sm font-medium text-gray-700 hover:bg-white focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:text-gray-50 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': sessionsLoading || sessionsLoading === null,
hidden: sessionsLoading && _isEmpty(sessions),
@@ -3783,7 +3783,7 @@ const ViewProject = () => {
title={t('project.refreshStats')}
onClick={() => loadErrors()}
className={cx(
- 'relative mx-auto mt-2 flex items-center rounded-md bg-gray-50 p-2 text-sm font-medium text-gray-700 hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:text-gray-50 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'hover:shadow-xs focus:outline-hidden relative mx-auto mt-2 flex items-center rounded-md bg-gray-50 p-2 text-sm font-medium text-gray-700 hover:bg-white focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:text-gray-50 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': errorsLoading,
hidden: errorsLoading && _isEmpty(errors),
diff --git a/web/app/pages/Project/View/components/CCRow.tsx b/web/app/pages/Project/View/components/CCRow.tsx
index a6b744298..bd1651e00 100644
--- a/web/app/pages/Project/View/components/CCRow.tsx
+++ b/web/app/pages/Project/View/components/CCRow.tsx
@@ -13,7 +13,7 @@ interface CCRowProps {
const CCRow = ({ cc, name, language, size = 21, spaces = 2 }: CCRowProps) => (
<>
- <Flag className='rounded-sm' country={cc} size={size} alt='' aria-hidden='true' />
+ <Flag className='rounded-xs' country={cc} size={size} alt='' aria-hidden='true' />
<span
dangerouslySetInnerHTML={{
__html: _fill(Array(spaces), '&nbsp;').join(''),
diff --git a/web/app/pages/Project/View/components/CustomMetrics.tsx b/web/app/pages/Project/View/components/CustomMetrics.tsx
index 7daf320d9..5e9ee2d4e 100644
--- a/web/app/pages/Project/View/components/CustomMetrics.tsx
+++ b/web/app/pages/Project/View/components/CustomMetrics.tsx
@@ -54,7 +54,7 @@ const CustomMetric = ({ metric, onRemove }: CustomMetricProps) => {
<button
onClick={onRemove}
type='button'
- className='ml-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900 focus:outline-none dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300 dark:focus:bg-gray-800 dark:focus:text-gray-300'
+ className='focus:outline-hidden ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300 dark:focus:bg-gray-800 dark:focus:text-gray-300'
>
<span className='sr-only'>Remove filter</span>
<svg className='h-2 w-2' stroke='currentColor' fill='none' viewBox='0 0 8 8'>
@@ -77,9 +77,9 @@ const CustomMetrics = ({ metrics, onRemoveMetric, resetMetrics }: FiltersProps)
}
return (
- <div className='mt-2 flex items-center justify-between rounded-md bg-slate-200 p-1 shadow dark:border dark:border-slate-800/50 dark:bg-slate-800/25'>
+ <div className='mt-2 flex items-center justify-between rounded-md bg-slate-200 p-1 shadow-sm dark:border dark:border-slate-800/50 dark:bg-slate-800/25'>
<div className='flex items-center'>
- <ScaleIcon className='box-content size-6 flex-shrink-0 px-1 text-gray-700 dark:text-gray-200' />
+ <ScaleIcon className='box-content size-6 shrink-0 px-1 text-gray-700 dark:text-gray-200' />
<div className='flex flex-wrap'>
{_map(metrics, (metric) => (
<CustomMetric
@@ -93,7 +93,7 @@ const CustomMetrics = ({ metrics, onRemoveMetric, resetMetrics }: FiltersProps)
</div>
</div>
<XMarkIcon
- className='box-content size-6 flex-shrink-0 cursor-pointer stroke-2 px-1 text-gray-800 hover:text-gray-600 dark:text-gray-200 dark:hover:text-gray-300'
+ className='box-content size-6 shrink-0 cursor-pointer stroke-2 px-1 text-gray-800 hover:text-gray-600 dark:text-gray-200 dark:hover:text-gray-300'
onClick={resetMetrics}
/>
</div>
diff --git a/web/app/pages/Project/View/components/Filters.tsx b/web/app/pages/Project/View/components/Filters.tsx
index 5d74994ab..7d4b13ebf 100644
--- a/web/app/pages/Project/View/components/Filters.tsx
+++ b/web/app/pages/Project/View/components/Filters.tsx
@@ -105,7 +105,7 @@ export const Filter = ({
onClick={() => onRemoveFilter(column, filter)}
type='button'
className={cx(
- 'ml-0.5 inline-flex h-4 w-4 flex-shrink-0 items-center justify-center rounded-full text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900 focus:outline-none dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300 dark:focus:bg-gray-800 dark:focus:text-gray-300',
+ 'focus:outline-hidden ml-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full text-gray-800 hover:bg-gray-300 hover:text-gray-900 focus:bg-gray-300 focus:text-gray-900 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300 dark:focus:bg-gray-800 dark:focus:text-gray-300',
{
'cursor-wait': dataLoading,
},
@@ -138,12 +138,9 @@ const Filters = ({ onRemoveFilter, onChangeExclusive, tnMapping, resetFilters }:
}
return (
- <div className='flex items-center justify-between rounded-md bg-slate-200 p-1 shadow dark:border dark:border-slate-800/50 dark:bg-slate-800/25'>
+ <div className='flex items-center justify-between rounded-md bg-slate-200 p-1 shadow-sm dark:border dark:border-slate-800/50 dark:bg-slate-800/25'>
<div className='flex items-center'>
- <FilterIcon
- className='box-content size-6 flex-shrink-0 px-1 text-gray-700 dark:text-gray-200'
- strokeWidth={1.5}
- />
+ <FilterIcon className='box-content size-6 shrink-0 px-1 text-gray-700 dark:text-gray-200' strokeWidth={1.5} />
<div className='flex flex-wrap'>
{_map(filters, (props) => {
const { column, filter } = props
@@ -165,7 +162,7 @@ const Filters = ({ onRemoveFilter, onChangeExclusive, tnMapping, resetFilters }:
</div>
<XMarkIcon
className={cx(
- 'box-content size-6 flex-shrink-0 cursor-pointer stroke-2 px-1 text-gray-800 hover:text-gray-600 dark:text-gray-200 dark:hover:text-gray-300',
+ 'box-content size-6 shrink-0 cursor-pointer stroke-2 px-1 text-gray-800 hover:text-gray-600 dark:text-gray-200 dark:hover:text-gray-300',
{
'cursor-wait': dataLoading,
},
diff --git a/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx b/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx
index 6083a2e8f..59dfdfb83 100644
--- a/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx
+++ b/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx
@@ -84,7 +84,7 @@ const LiveVisitorsDropdown = ({ live, onSessionSelect }: LiveVisitorsDropdownPro
to={stringifiedUrl}
>
<div className='table-cell rounded-l-lg bg-gray-100 pr-2 align-middle group-hover:bg-gray-200 dark:bg-slate-800 dark:group-hover:bg-slate-700'>
- <Flag className='m-2 rounded-sm' country={cc} size={21} alt='' aria-hidden='true' />
+ <Flag className='rounded-xs m-2' country={cc} size={21} alt='' aria-hidden='true' />
</div>
<div className='table-cell bg-gray-100 pr-2 align-middle group-hover:bg-gray-200 dark:bg-slate-800 dark:group-hover:bg-slate-700'>
{os}
diff --git a/web/app/pages/Project/View/components/LockedDashboard.tsx b/web/app/pages/Project/View/components/LockedDashboard.tsx
index 0858e2747..70491b767 100644
--- a/web/app/pages/Project/View/components/LockedDashboard.tsx
+++ b/web/app/pages/Project/View/components/LockedDashboard.tsx
@@ -62,13 +62,13 @@ const LockedDashboard = ({ user, project }: LockedDashboardProps) => {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.billing}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('project.locked.manageSubscription')}
</Link>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
diff --git a/web/app/pages/Project/View/components/RefRow.tsx b/web/app/pages/Project/View/components/RefRow.tsx
index 1d42f6114..a626a21e6 100644
--- a/web/app/pages/Project/View/components/RefRow.tsx
+++ b/web/app/pages/Project/View/components/RefRow.tsx
@@ -13,7 +13,7 @@ const RefRow = ({ rowName }: { rowName: string }) => {
const linkClassName = 'text-blue-600 hover:underline dark:text-blue-500'
return (
- <div className='scrollbar-thin flex items-center overflow-hidden hover-always:overflow-auto'>
+ <div className='scrollbar-thin no-hover:overflow-auto flex items-center overflow-hidden hover:overflow-auto'>
{isUrl && (
<img
className='float-left mr-1.5 size-5'
diff --git a/web/app/pages/Project/View/components/TBPeriodSelector.tsx b/web/app/pages/Project/View/components/TBPeriodSelector.tsx
index afd1bd7b0..b5c8cabaa 100644
--- a/web/app/pages/Project/View/components/TBPeriodSelector.tsx
+++ b/web/app/pages/Project/View/components/TBPeriodSelector.tsx
@@ -37,7 +37,7 @@ const TBPeriodSelector = ({ items, title, onSelect, activePeriod, classes }: TBP
<Popover className='relative'>
{({ open }) => (
<>
- <PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-none dark:text-gray-50 md:px-4'>
+ <PopoverButton className='outline-hidden group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 dark:text-gray-50 md:px-4'>
<CalendarIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{title}</span>
<ChevronDownIcon
diff --git a/web/app/pages/Project/View/components/UserFlow.tsx b/web/app/pages/Project/View/components/UserFlow.tsx
index a6b166980..7c22d52a1 100644
--- a/web/app/pages/Project/View/components/UserFlow.tsx
+++ b/web/app/pages/Project/View/components/UserFlow.tsx
@@ -86,7 +86,7 @@ const UserFlow = ({ setReversed, isReversed }: UserFlowProps) => {
onClick={() => {
setReversed()
}}
- className='mt-2 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-700 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:w-auto sm:text-sm'
+ className='shadow-xs mt-2 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-700 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:w-auto sm:text-sm'
>
{t('project.reverse')}
</button>
diff --git a/web/app/pages/Project/uptime/Settings.tsx b/web/app/pages/Project/uptime/Settings.tsx
index afba45088..66f8dc6c3 100644
--- a/web/app/pages/Project/uptime/Settings.tsx
+++ b/web/app/pages/Project/uptime/Settings.tsx
@@ -366,13 +366,13 @@ const UptimeSettings = ({ isSettings }: UptimeSettingsProps) => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
diff --git a/web/app/pages/Project/uptime/View.tsx b/web/app/pages/Project/uptime/View.tsx
index 584f872fe..4878895c1 100644
--- a/web/app/pages/Project/uptime/View.tsx
+++ b/web/app/pages/Project/uptime/View.tsx
@@ -333,13 +333,13 @@ const Uptime = () => {
<button
type='button'
onClick={() => window.location.reload()}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('dashboard.reloadPage')}
</button>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -374,7 +374,7 @@ const Uptime = () => {
title={t('project.refreshStats')}
onClick={() => loadMonitorData(activeMonitor.monitor)}
className={cx(
- 'relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white hover:shadow-sm focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
+ 'hover:shadow-xs focus:outline-hidden relative rounded-md bg-gray-50 p-2 text-sm font-medium hover:bg-white focus:z-10 focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:bg-slate-900 dark:hover:bg-slate-800 focus:dark:border-gray-200 focus:dark:ring-gray-200',
{
'cursor-not-allowed opacity-50': isProjectLoading || isMonitorLoading,
},
diff --git a/web/app/pages/ReferralPage/index.tsx b/web/app/pages/ReferralPage/index.tsx
index 0f58c2e0a..3eb026a52 100644
--- a/web/app/pages/ReferralPage/index.tsx
+++ b/web/app/pages/ReferralPage/index.tsx
@@ -82,7 +82,7 @@ const ReferralPage = ({ ssrTheme }: ReferralPageProps) => {
<div className='mt-4 flex flex-col items-center sm:flex-row'>
<Link
to={`/ref/${id}${routes.signup}`}
- className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='shadow-xs group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold transition-transform group-hover:scale-[1.15]'>
@@ -92,7 +92,7 @@ const ReferralPage = ({ ssrTheme }: ReferralPageProps) => {
</Link>
<Link
to={`/ref/${id}/index#core-analytics`}
- className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
+ className='shadow-xs mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='text-base font-semibold'>{t('common.learnMore')}</span>
diff --git a/web/app/pages/Unsubscribe/index.tsx b/web/app/pages/Unsubscribe/index.tsx
index 86cb45c58..b99d0f2d8 100644
--- a/web/app/pages/Unsubscribe/index.tsx
+++ b/web/app/pages/Unsubscribe/index.tsx
@@ -81,21 +81,21 @@ const Unsubscribe = ({ type }: UnsubscribeProps) => {
{authenticated ? (
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
) : (
<Link
to={routes.signin}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('auth.signin.button')}
</Link>
)}
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -122,14 +122,14 @@ const Unsubscribe = ({ type }: UnsubscribeProps) => {
{authenticated ? (
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
) : (
<Link
to={routes.signin}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('auth.signin.button')}
</Link>
diff --git a/web/app/pages/UserSettings/UserSettings.tsx b/web/app/pages/UserSettings/UserSettings.tsx
index edf7327b4..56a4c2956 100644
--- a/web/app/pages/UserSettings/UserSettings.tsx
+++ b/web/app/pages/UserSettings/UserSettings.tsx
@@ -657,7 +657,7 @@ const UserSettings = () => {
<div className='mt-3 flex flex-col'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='min-w-full divide-y divide-gray-300 dark:divide-gray-600'>
<thead>
<tr className='dark:bg-slate-800'>
@@ -707,7 +707,7 @@ const UserSettings = () => {
<div className='mt-3 flex flex-col'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
- <div className='overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg'>
+ <div className='overflow-hidden shadow-sm ring-1 ring-black/50 md:rounded-lg'>
<table className='min-w-full divide-y divide-gray-300 dark:divide-gray-600'>
<thead>
<tr className='dark:bg-slate-800'>
diff --git a/web/app/pages/UserSettings/components/Integrations.tsx b/web/app/pages/UserSettings/components/Integrations.tsx
index 2a7b0b4b9..850d92b67 100644
--- a/web/app/pages/UserSettings/components/Integrations.tsx
+++ b/web/app/pages/UserSettings/components/Integrations.tsx
@@ -395,7 +395,7 @@ const Integrations = ({ handleIntegrationSave }: IntegrationsProps) => {
return (
<>
<p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.integrationsDesc')}</p>
- <div className='mt-2 overflow-hidden bg-white shadow dark:bg-slate-800 sm:rounded-md'>
+ <div className='mt-2 overflow-hidden bg-white shadow-sm dark:bg-slate-800 sm:rounded-md'>
<ul className='divide-y divide-gray-200 dark:divide-slate-700'>
{_map(available, ({ name, key, description, Icon }) => {
const { connected, confirmed, id } = getIntegrationStatus(key)
@@ -404,7 +404,7 @@ const Integrations = ({ handleIntegrationSave }: IntegrationsProps) => {
return (
<li key={key} className='items-center px-1 py-4 sm:flex sm:px-6'>
<div className='flex min-w-0 flex-1 items-center'>
- <div className='hidden flex-shrink-0 sm:block'>
+ <div className='hidden shrink-0 sm:block'>
<Icon className='size-12 max-h-12 max-w-12' />
</div>
<div className='min-w-0 flex-1 px-2 sm:px-4 md:grid md:grid-cols-2 md:gap-4'>
@@ -423,13 +423,13 @@ const Integrations = ({ handleIntegrationSave }: IntegrationsProps) => {
)}
<p className='mt-2 flex items-center text-sm text-gray-500 dark:text-gray-100'>
{status === 'notConnected' && (
- <XCircleIcon className='mr-1.5 h-5 w-5 flex-shrink-0 text-red-400' aria-hidden='true' />
+ <XCircleIcon className='mr-1.5 h-5 w-5 shrink-0 text-red-400' aria-hidden='true' />
)}
{status === 'pending' && (
- <ClockIcon className='mr-1.5 h-5 w-5 flex-shrink-0 text-yellow-400' aria-hidden='true' />
+ <ClockIcon className='mr-1.5 h-5 w-5 shrink-0 text-yellow-400' aria-hidden='true' />
)}
{status === 'connected' && (
- <CheckCircleIcon className='mr-1.5 h-5 w-5 flex-shrink-0 text-green-400' aria-hidden='true' />
+ <CheckCircleIcon className='mr-1.5 h-5 w-5 shrink-0 text-green-400' aria-hidden='true' />
)}
{t(`common.${status}`)}
</p>
diff --git a/web/app/pages/UserSettings/components/Referral.tsx b/web/app/pages/UserSettings/components/Referral.tsx
index 8157d5698..b867404f1 100644
--- a/web/app/pages/UserSettings/components/Referral.tsx
+++ b/web/app/pages/UserSettings/components/Referral.tsx
@@ -251,7 +251,7 @@ const Referral = () => {
{t('profileSettings.referral.activeReferrals')}
</h3>
{!_isEmpty(activeReferrals) ? (
- <table className='200 mt-2 min-w-full divide-y divide-gray-300 shadow ring-1 ring-black ring-opacity-5 dark:divide-gray-500 md:rounded-lg'>
+ <table className='200 mt-2 min-w-full divide-y divide-gray-300 shadow-sm ring-1 ring-black/50 dark:divide-gray-500 md:rounded-lg'>
<thead className='bg-gray-50 dark:bg-slate-800'>
<tr>
<th
diff --git a/web/app/pages/UserSettings/components/Socialisations.tsx b/web/app/pages/UserSettings/components/Socialisations.tsx
index c8eb6984e..64604f1f6 100644
--- a/web/app/pages/UserSettings/components/Socialisations.tsx
+++ b/web/app/pages/UserSettings/components/Socialisations.tsx
@@ -130,7 +130,7 @@ const Socialisations = () => {
return (
<>
<p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.socialisationsDesc')}</p>
- <div className='mt-2 overflow-hidden bg-white shadow dark:bg-slate-800 sm:rounded-md'>
+ <div className='mt-2 overflow-hidden bg-white shadow-sm dark:bg-slate-800 sm:rounded-md'>
<ul className='divide-y divide-gray-200 dark:divide-slate-700'>
{_map(AVAILABLE_SSO_PROVIDERS, ({ name, key, icons }) => {
const [connected, unlinkable] = getStatusByUser(user, key)
@@ -142,7 +142,7 @@ const Socialisations = () => {
<li key={key}>
<div className='items-center px-1 py-4 sm:flex sm:px-6'>
<div className='flex min-w-0 flex-1 items-center'>
- <div className='hidden flex-shrink-0 sm:block'>
+ <div className='hidden shrink-0 sm:block'>
{theme === 'dark' ? (
<Light className='h-12 max-h-12 w-12 max-w-12 rounded-full' />
) : (
@@ -154,13 +154,10 @@ const Socialisations = () => {
<p className='text-md font-medium text-gray-800 dark:text-gray-50'>{name}</p>
<p className='mt-2 flex items-center text-sm text-gray-500 dark:text-gray-100'>
{status === 'notConnected' && (
- <XCircleIcon className='mr-1.5 h-5 w-5 flex-shrink-0 text-red-400' aria-hidden='true' />
+ <XCircleIcon className='mr-1.5 h-5 w-5 shrink-0 text-red-400' aria-hidden='true' />
)}
{status === 'connected' && (
- <CheckCircleIcon
- className='mr-1.5 h-5 w-5 flex-shrink-0 text-green-400'
- aria-hidden='true'
- />
+ <CheckCircleIcon className='mr-1.5 h-5 w-5 shrink-0 text-green-400' aria-hidden='true' />
)}
{t(`common.${status}`)}
</p>
diff --git a/web/app/root.tsx b/web/app/root.tsx
index 4f2047264..2dc51e7aa 100644
--- a/web/app/root.tsx
+++ b/web/app/root.tsx
@@ -92,7 +92,7 @@ export function ErrorBoundary() {
{/* Using style because for some reason min-h-screen doesn't work */}
<div style={{ minHeight: '100vh' }} className='flex flex-col bg-gray-50 pb-12 pt-16 dark:bg-slate-900'>
<div className='mx-auto flex w-full max-w-7xl flex-grow flex-col justify-center px-4 sm:px-6 lg:px-8'>
- <div className='flex flex-shrink-0 justify-center'>
+ <div className='flex shrink-0 justify-center'>
<ExclamationTriangleIcon className='h-24 w-auto text-yellow-400 dark:text-yellow-600' />
</div>
<div className='py-8'>
diff --git a/web/app/routes/feature-flags.tsx b/web/app/routes/feature-flags.tsx
index d71f88d54..a06fe9c79 100644
--- a/web/app/routes/feature-flags.tsx
+++ b/web/app/routes/feature-flags.tsx
@@ -85,14 +85,14 @@ const FeatureFlagsPage = () => {
onChange={() => handleToggle(flag)}
className={cx(
flags.includes(flag) ? 'bg-indigo-600' : 'bg-gray-200 dark:bg-gray-700',
- 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2',
+ 'focus:outline-hidden relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2',
)}
>
<span
aria-hidden='true'
className={cx(
flags.includes(flag) ? 'translate-x-5' : 'translate-x-0',
- 'pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out',
+ 'pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow-sm ring-0 transition duration-200 ease-in-out',
)}
/>
</Switch>
diff --git a/web/app/routes/index.tsx b/web/app/routes/index.tsx
index c8cec63fe..f8929087a 100644
--- a/web/app/routes/index.tsx
+++ b/web/app/routes/index.tsx
@@ -357,7 +357,7 @@ const FeatureBlock = ({ heading, description, children, className, dark }: Featu
variants={{ idle: {}, active: {} }}
data-dark={dark ? 'true' : undefined}
className={clsx(
- 'group relative flex flex-col overflow-hidden rounded-lg bg-white shadow-sm ring-1 ring-black/5 data-[dark]:bg-slate-800 data-[dark]:ring-white/15',
+ 'shadow-xs group relative flex flex-col overflow-hidden rounded-lg bg-white ring-1 ring-black/5 data-[dark]:bg-slate-800 data-[dark]:ring-white/15',
className,
)}
>
@@ -665,7 +665,7 @@ const CoreFeatures = ({ theme }: { theme: 'dark' | 'light' }) => {
dark={theme === 'dark'}
>
<div className='relative h-80 overflow-hidden px-10 pt-5'>
- <div className='absolute top-2 rotate-2 rounded-sm bg-slate-200 p-4 text-slate-900 opacity-70 transition-opacity group-hover:opacity-90 dark:bg-slate-700 dark:text-gray-50'>
+ <div className='rounded-xs absolute top-2 rotate-2 bg-slate-200 p-4 text-slate-900 opacity-70 transition-opacity group-hover:opacity-90 dark:bg-slate-700 dark:text-gray-50'>
<p className='mb-4 text-sm'>
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of
cookies.
@@ -673,7 +673,7 @@ const CoreFeatures = ({ theme }: { theme: 'dark' | 'light' }) => {
<div className='max-w-max rounded-md bg-slate-800 p-2 text-gray-50'>Accept</div>
</div>
- <div className='absolute bottom-0 left-0 mb-4 flex max-w-max -rotate-12 gap-2 rounded-sm bg-slate-100 p-4 text-slate-900 transition-transform group-hover:-rotate-6 dark:bg-gray-900 dark:text-gray-50'>
+ <div className='rounded-xs absolute bottom-0 left-0 mb-4 flex max-w-max -rotate-12 gap-2 bg-slate-100 p-4 text-slate-900 transition-transform group-hover:-rotate-6 dark:bg-gray-900 dark:text-gray-50'>
<p className='text-md flex'>
<Cookie className='mr-2 text-slate-700' size={24} />
Hello there, We use cookies!
@@ -681,7 +681,7 @@ const CoreFeatures = ({ theme }: { theme: 'dark' | 'light' }) => {
<div className='max-w-max rounded-md bg-slate-800 px-1 text-gray-50'>Okay</div>
</div>
- <div className='absolute bottom-20 left-12 mb-4 flex max-w-max -rotate-6 rounded-sm bg-slate-100 p-4 text-slate-900 transition-transform group-hover:scale-95 dark:bg-gray-800 dark:text-gray-50'>
+ <div className='rounded-xs absolute bottom-20 left-12 mb-4 flex max-w-max -rotate-6 bg-slate-100 p-4 text-slate-900 transition-transform group-hover:scale-95 dark:bg-gray-800 dark:text-gray-50'>
<p className='text-md flex max-w-[40ch]'>
This website uses cookies to ensure you get the best experience on our website
</p>
@@ -835,7 +835,7 @@ const Hero = ({
<div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
<Link
to={routesPath.signup}
- className='group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
+ className='shadow-xs group flex h-12 w-full items-center justify-center rounded-md bg-slate-900 text-white ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-700 dark:bg-indigo-700 dark:ring-indigo-700 dark:hover:bg-indigo-600 sm:mr-6 sm:max-w-[210px]'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.startAFreeTrial')}</span>
@@ -843,7 +843,7 @@ const Hero = ({
</Link>
<a
href={LIVE_DEMO_URL}
- className='mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 shadow-sm ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
+ className='shadow-xs mt-2 flex h-12 w-full items-center justify-center rounded-md bg-transparent text-slate-900 ring-1 ring-slate-900 transition-all !duration-300 hover:bg-slate-200 dark:text-white dark:ring-white/20 dark:hover:bg-gray-800 sm:mt-0 sm:max-w-[210px]'
target='_blank'
rel='noopener noreferrer'
aria-label={`${t('common.liveDemo')} (opens in a new tab)`}
diff --git a/web/app/routes/organisation.invite.$id.tsx b/web/app/routes/organisation.invite.$id.tsx
index 1c3675851..b6f0ae801 100644
--- a/web/app/routes/organisation.invite.$id.tsx
+++ b/web/app/routes/organisation.invite.$id.tsx
@@ -58,13 +58,13 @@ export default function ConfirmOrganisationInvitation() {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
<Link
to={routes.contact}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
+ className='focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
>
{t('notFoundPage.support')}
</Link>
@@ -90,7 +90,7 @@ export default function ConfirmOrganisationInvitation() {
<div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
- className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
+ className='shadow-xs focus:outline-hidden inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2'
>
{t('common.dashboard')}
</Link>
diff --git a/web/app/styles/tailwind.css b/web/app/styles/tailwind.css
index 0d9564a98..529daa952 100644
--- a/web/app/styles/tailwind.css
+++ b/web/app/styles/tailwind.css
@@ -1,6 +1,57 @@
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@import "tailwindcss";
+
+@plugin "@tailwindcss/forms";
+@plugin "@tailwindcss/typography";
+
+@theme {
+ /* Colors */
+ --color-gray-750: oklch(23.11% 0.0357 262.54); /* Converting #141d2e to OKLCH */
+
+ /* Custom Properties */
+ --width-card-toggle: calc(100% - 3rem);
+
+ /* Minimum Heights */
+ --min-height-72: 18rem;
+ --min-height-page: calc(100vh - 74px);
+ --min-height-min-footer: calc(100vh - 148px);
+}
+
+/* Custom Animations */
+@keyframes ping-op {
+ 0% {
+ opacity: 0.75;
+ }
+ 75%, 100% {
+ transform: scale(2);
+ opacity: 0;
+ }
+}
+
+@keyframes appear {
+ 0% {
+ transform: scale(0);
+ opacity: 0;
+ }
+ 75%, 100% {
+ transform: scale(1);
+ opacity: 1;
+ }
+}
+
+/* Custom Animation Classes */
+@layer utilities {
+ .animate-ping-slow {
+ animation: ping-op 3s cubic-bezier(0, 0, 0.2, 1) infinite;
+ }
+ .animate-appear {
+ animation: appear 0.5s cubic-bezier(0, 0, 0.2, 1) 1;
+ }
+}
+
+@custom-variant dark (&:where(.dark, .dark *));
+
+@custom-variant has-hover (@media (hover: hover) and (pointer: fine));
+@custom-variant no-hover (@media not all and (hover: hover) and (pointer: fine));
@keyframes move-x {
0% {
@@ -10,3 +61,20 @@
transform: translateX(var(--move-x-to));
}
}
+
+@layer base {
+ *,
+ ::after,
+ ::before,
+ ::backdrop,
+ ::file-selector-button {
+ border-color: var(--color-gray-200, currentColor);
+ }
+}
+
+@layer base {
+ input::placeholder,
+ textarea::placeholder {
+ color: var(--color-gray-400);
+ }
+}
diff --git a/web/app/ui/Button.tsx b/web/app/ui/Button.tsx
index 31cb597a4..8dc300c0e 100644
--- a/web/app/ui/Button.tsx
+++ b/web/app/ui/Button.tsx
@@ -51,7 +51,7 @@ const Button = ({
className={cx(
'relative inline-flex select-none items-center rounded-md border font-medium leading-4',
{
- 'border-transparent bg-slate-900 text-gray-50 shadow-sm hover:bg-slate-700 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700':
+ 'shadow-xs border-transparent bg-slate-900 text-gray-50 hover:bg-slate-700 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700':
primary,
'border-transparent bg-slate-300 text-slate-900 hover:bg-slate-200': secondary,
'border-transparent bg-white text-gray-700 hover:bg-gray-50': white,
@@ -65,7 +65,7 @@ const Button = ({
'px-6 py-3 text-base': giant,
'px-3 py-2 text-sm': regular,
'cursor-not-allowed': loading,
- 'focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2': focus,
+ 'focus:outline-hidden focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2': focus,
},
className,
)}
diff --git a/web/app/ui/Checkbox.tsx b/web/app/ui/Checkbox.tsx
index f35a7d749..ae61b2bb1 100644
--- a/web/app/ui/Checkbox.tsx
+++ b/web/app/ui/Checkbox.tsx
@@ -21,7 +21,7 @@ const Checkbox = ({ label, hint, name, className, onChange, checked, hintClassNa
name={name}
checked={checked}
onChange={onChange}
- className='group size-4 shrink-0 rounded bg-white ring-1 ring-inset ring-gray-200 data-[checked]:bg-slate-900 data-[checked]:ring-slate-900 dark:bg-white/10 dark:ring-white/15 dark:data-[checked]:bg-white dark:data-[checked]:ring-white/15'
+ className='group size-4 shrink-0 rounded-sm bg-white ring-1 ring-inset ring-gray-200 data-[checked]:bg-slate-900 data-[checked]:ring-slate-900 dark:bg-white/10 dark:ring-white/15 dark:data-[checked]:bg-white dark:data-[checked]:ring-white/15'
>
<CheckIcon className='hidden size-4 text-white group-data-[checked]:block dark:text-black' />
</HeadlessCheckbox>
diff --git a/web/app/ui/Combobox.tsx b/web/app/ui/Combobox.tsx
index de8d6faea..818d733d4 100644
--- a/web/app/ui/Combobox.tsx
+++ b/web/app/ui/Combobox.tsx
@@ -49,7 +49,7 @@ const Combobox = ({
<div className='relative w-full cursor-default rounded-lg'>
<HeadlessCombobox.Input
className={cx(
- 'relative w-full cursor-default rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 sm:text-sm',
+ 'shadow-xs focus:outline-hidden relative w-full cursor-default rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 sm:text-sm',
buttonClassName,
)}
// @ts-ignore
@@ -68,7 +68,7 @@ const Combobox = ({
leaveTo='opacity-0'
afterLeave={() => setQuery('')}
>
- <HeadlessCombobox.Options className='absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-slate-800 sm:text-sm'>
+ <HeadlessCombobox.Options className='focus:outline-hidden absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black/50 dark:bg-slate-800 sm:text-sm'>
{_isEmpty(filteredItems) && !_isEmpty(query) ? (
<div className='relative cursor-default select-none px-4 py-2 text-gray-900 dark:text-white'>
{t('common.nothingFound')}
diff --git a/web/app/ui/Dropdown.tsx b/web/app/ui/Dropdown.tsx
index 6b00e8f4b..60537c950 100644
--- a/web/app/ui/Dropdown.tsx
+++ b/web/app/ui/Dropdown.tsx
@@ -58,9 +58,9 @@ function Dropdown<T>({
className={cx(buttonClassName, {
'justify-between': aside,
'justify-center': !aside,
- 'inline-flex w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100 dark:border-gray-800 dark:bg-slate-800 dark:hover:bg-slate-700 md:px-4':
+ 'shadow-xs focus:outline-hidden inline-flex w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium hover:bg-gray-50 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100 dark:border-gray-800 dark:bg-slate-800 dark:hover:bg-slate-700 md:px-4':
!headless,
- 'group inline-flex w-full px-3 py-2 text-sm font-medium outline-none md:px-4': headless,
+ 'outline-hidden group inline-flex w-full px-3 py-2 text-sm font-medium md:px-4': headless,
'text-gray-700 dark:text-gray-50': !disabled,
'cursor-not-allowed text-gray-500 dark:text-gray-400': disabled,
})}
@@ -100,7 +100,7 @@ function Dropdown<T>({
<MenuItems
static
className={cx(
- 'absolute right-0 z-50 mt-2 w-40 min-w-max origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-slate-800',
+ 'focus:outline-hidden absolute right-0 z-50 mt-2 w-40 min-w-max origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black/50 dark:bg-slate-800',
menuItemsClassName,
{
'divide-y divide-gray-100 dark:divide-gray-600': header,
diff --git a/web/app/ui/Highlighted.tsx b/web/app/ui/Highlighted.tsx
index fdb7b07be..ec91c3d98 100644
--- a/web/app/ui/Highlighted.tsx
+++ b/web/app/ui/Highlighted.tsx
@@ -5,7 +5,7 @@ interface HighlightedProps {
}
const Highlighted = ({ children }: HighlightedProps) => (
- <span className='rounded bg-slate-200 px-1 text-gray-900 dark:bg-slate-700 dark:text-gray-50'>{children}</span>
+ <span className='rounded-sm bg-slate-200 px-1 text-gray-900 dark:bg-slate-700 dark:text-gray-50'>{children}</span>
)
export default Highlighted
diff --git a/web/app/ui/Input.tsx b/web/app/ui/Input.tsx
index 694e995cc..03488abb7 100644
--- a/web/app/ui/Input.tsx
+++ b/web/app/ui/Input.tsx
@@ -51,7 +51,7 @@ const Input = ({
<HeadlessInput
type={type}
className={cx(
- 'block w-full rounded-md border-gray-300 shadow-sm dark:border-slate-800/25 dark:bg-slate-800 dark:text-gray-50 dark:placeholder-gray-400 sm:text-sm',
+ 'shadow-xs block w-full rounded-md border-gray-300 dark:border-slate-800/25 dark:bg-slate-800 dark:text-gray-50 dark:placeholder-gray-400 sm:text-sm',
{
'text-red-900 placeholder-red-300 ring-1 ring-red-600': isError,
'cursor-text': disabled,
diff --git a/web/app/ui/Modal.tsx b/web/app/ui/Modal.tsx
index c152c062c..53037aaa7 100644
--- a/web/app/ui/Modal.tsx
+++ b/web/app/ui/Modal.tsx
@@ -66,7 +66,7 @@ const Modal = ({
leaveFrom='opacity-100'
leaveTo='opacity-0'
>
- <div className='fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity dark:bg-opacity-55' />
+ <div className='fixed inset-0 bg-gray-500/75 transition-opacity dark:bg-gray-500/55' />
</TransitionChild>
{/* This element is to trick the browser into centering the modal contents. */}
@@ -95,27 +95,27 @@ const Modal = ({
>
<div className='sm:flex sm:items-start'>
{type === 'success' && (
- <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-green-100 sm:mr-3 sm:h-10 sm:w-10'>
+ <div className='mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-green-100 sm:mr-3 sm:h-10 sm:w-10'>
<CheckIcon className='h-6 w-6 text-green-600' aria-hidden='true' />
</div>
)}
{type === 'error' && (
- <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 sm:mr-3 sm:h-10 sm:w-10'>
+ <div className='mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-red-100 sm:mr-3 sm:h-10 sm:w-10'>
<ExclamationTriangleIcon className='h-6 w-6 text-red-600' aria-hidden='true' />
</div>
)}
{type === 'info' && (
- <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-blue-100 text-center sm:mr-3 sm:h-10 sm:w-10'>
+ <div className='mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-blue-100 text-center sm:mr-3 sm:h-10 sm:w-10'>
<InformationCircleIcon className='h-6 w-6 text-blue-600' aria-hidden='true' />
</div>
)}
{type === 'warning' && (
- <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-orange-100 sm:mr-3 sm:h-10 sm:w-10'>
+ <div className='mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-orange-100 sm:mr-3 sm:h-10 sm:w-10'>
<ExclamationTriangleIcon className='h-6 w-6 text-amber-600' aria-hidden='true' />
</div>
)}
{type === 'confirmed' && (
- <div className='mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-green-100 sm:mr-3 sm:h-10 sm:w-10'>
+ <div className='mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-green-100 sm:mr-3 sm:h-10 sm:w-10'>
<UserGroupIcon className='h-6 w-6 text-green-600' aria-hidden='true' />
</div>
)}
@@ -153,7 +153,7 @@ const Modal = ({
<button
type='button'
className={cx(
- 'inline-flex w-full justify-center rounded-md px-4 py-2 text-base font-medium text-white shadow-sm sm:ml-3 sm:w-auto sm:text-sm',
+ 'shadow-xs inline-flex w-full justify-center rounded-md px-4 py-2 text-base font-medium text-white sm:ml-3 sm:w-auto sm:text-sm',
{
'bg-indigo-600': submitType === 'regular',
'bg-red-600': submitType === 'danger',
@@ -171,7 +171,7 @@ const Modal = ({
{closeText && (
<button
type='button'
- className='mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-800 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:ml-3 sm:mt-0 sm:w-auto sm:text-sm'
+ className='shadow-xs mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 hover:bg-gray-50 dark:border-none dark:border-gray-600 dark:bg-slate-800 dark:text-gray-50 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:ml-3 sm:mt-0 sm:w-auto sm:text-sm'
onClick={(e) => {
e.preventDefault()
e.stopPropagation()
diff --git a/web/app/ui/MultiProgress.tsx b/web/app/ui/MultiProgress.tsx
index d066e3f76..fb1bca511 100644
--- a/web/app/ui/MultiProgress.tsx
+++ b/web/app/ui/MultiProgress.tsx
@@ -16,7 +16,7 @@ interface MultiProgressProps {
const MultiProgress = ({ progress, theme, className }: MultiProgressProps) => (
<div className='relative'>
- <div className={cx('flex h-5 overflow-hidden rounded bg-gray-200 text-xs dark:bg-slate-600', className)}>
+ <div className={cx('flex h-5 overflow-hidden rounded-sm bg-gray-200 text-xs dark:bg-slate-600', className)}>
{_map(progress, ({ value, lightColour, darkColour }) => (
<div
key={`${value}-${lightColour}-${darkColour}`}
diff --git a/web/app/ui/MultiSelect.tsx b/web/app/ui/MultiSelect.tsx
index b982b095f..61fc552ad 100644
--- a/web/app/ui/MultiSelect.tsx
+++ b/web/app/ui/MultiSelect.tsx
@@ -46,7 +46,7 @@ const MultiSelect = ({
setSelected(!selected)
}}
>
- <div className='w-ful my-2 flex rounded border bg-white p-1 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'>
+ <div className='w-ful shadow-xs focus:outline-hidden my-2 flex rounded-sm border bg-white p-1 text-sm font-medium text-gray-700 hover:bg-gray-50 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'>
<div className='flex flex-auto flex-wrap'>
{!_isEmpty(label) ? (
_map(label, (item) => (
@@ -92,7 +92,7 @@ const MultiSelect = ({
<button
type='button'
onClick={() => setSelected(!selected)}
- className='h-6 w-6 cursor-pointer text-gray-600 outline-none focus:outline-none dark:text-gray-300'
+ className='outline-hidden focus:outline-hidden h-6 w-6 cursor-pointer text-gray-600 dark:text-gray-300'
>
<svg
xmlns='http://www.w3.org/2000/svg'
@@ -113,12 +113,12 @@ const MultiSelect = ({
</div>
</div>
{selected && (
- <div className='top-100 lef-0 max-h-select z-40 max-h-[200px] w-full overflow-y-auto overflow-x-hidden rounded bg-white shadow dark:bg-slate-800'>
+ <div className='top-100 lef-0 max-h-select z-40 max-h-[200px] w-full overflow-y-auto overflow-x-hidden rounded-sm bg-white shadow-sm dark:bg-slate-800'>
<div className='flex w-full flex-col'>
{onSearch && (
<div className='relative w-full cursor-pointer rounded-t border-b border-gray-100 hover:bg-indigo-100 dark:border-slate-700 dark:hover:bg-slate-700'>
<input
- className='focus:box-shadow-none relative flex w-full items-center overflow-x-auto border-l-2 border-transparent bg-white p-2 pl-2 hover:border-b-indigo-100 focus:border-transparent focus:outline-none focus:ring-0 dark:bg-slate-800 dark:hover:border-b-slate-700'
+ className='focus:box-shadow-none focus:outline-hidden relative flex w-full items-center overflow-x-auto border-l-2 border-transparent bg-white p-2 pl-2 hover:border-b-indigo-100 focus:border-transparent focus:ring-0 dark:bg-slate-800 dark:hover:border-b-slate-700'
placeholder={searchPlaseholder}
onChange={(e) => {
e.preventDefault()
diff --git a/web/app/ui/Pagination.tsx b/web/app/ui/Pagination.tsx
index 3275c6a31..acaeeee7f 100644
--- a/web/app/ui/Pagination.tsx
+++ b/web/app/ui/Pagination.tsx
@@ -97,7 +97,7 @@ const Pagination = ({
labelClassName='!overflow-visible'
/>
)}
- <nav className='isolate inline-flex -space-x-px rounded-md shadow-sm' aria-label='Pagination'>
+ <nav className='shadow-xs isolate inline-flex -space-x-px rounded-md' aria-label='Pagination'>
<button
type='button'
onClick={() => {
diff --git a/web/app/ui/Progress.tsx b/web/app/ui/Progress.tsx
index 52dbc6200..29755f576 100644
--- a/web/app/ui/Progress.tsx
+++ b/web/app/ui/Progress.tsx
@@ -6,7 +6,7 @@ interface ProgressProps {
const Progress = ({ now }: ProgressProps) => (
<div className='relative'>
- <div className='flex h-2 overflow-hidden rounded bg-blue-200 text-xs dark:bg-slate-600'>
+ <div className='flex h-2 overflow-hidden rounded-sm bg-blue-200 text-xs dark:bg-slate-600'>
<div
style={{ width: `${now}%` }}
className='flex flex-col justify-center whitespace-nowrap bg-blue-500 text-center text-white shadow-none dark:bg-blue-700'
diff --git a/web/app/ui/Select.tsx b/web/app/ui/Select.tsx
index c77531bff..f48bc591f 100644
--- a/web/app/ui/Select.tsx
+++ b/web/app/ui/Select.tsx
@@ -56,7 +56,7 @@ function Select<T>({
<div className={cx('relative', className)}>
<ListboxButton
className={cx(
- 'relative w-full rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 sm:text-sm',
+ 'shadow-xs focus:outline-hidden relative w-full rounded-md border border-gray-300 bg-white py-2 pl-3 pr-10 text-left focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 sm:text-sm',
buttonClassName,
)}
>
@@ -81,7 +81,7 @@ function Select<T>({
>
<ListboxOptions
static
- className='absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-slate-800 sm:text-sm'
+ className='focus:outline-hidden absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black/50 dark:bg-slate-800 sm:text-sm'
>
{_map(items, (item, index) => (
<ListboxOption
diff --git a/web/app/ui/Textarea.tsx b/web/app/ui/Textarea.tsx
index 71ade41f2..880bf3201 100644
--- a/web/app/ui/Textarea.tsx
+++ b/web/app/ui/Textarea.tsx
@@ -39,7 +39,7 @@ const Textarea = ({
rows={rows}
name={name}
className={cx(
- 'block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 dark:border-slate-800/25 dark:bg-slate-800 dark:text-gray-50 dark:placeholder-gray-400 sm:text-sm',
+ 'shadow-xs block w-full rounded-md border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 dark:border-slate-800/25 dark:bg-slate-800 dark:text-gray-50 dark:placeholder-gray-400 sm:text-sm',
{
'text-red-900 placeholder-red-300 ring-1 ring-red-600': isError,
'cursor-text': disabled,
diff --git a/web/package-lock.json b/web/package-lock.json
index 6cf67cf91..037ff21e8 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -17,7 +17,8 @@
"@remix-run/serve": "^2.15.2",
"@remix-run/v1-route-convention": "^0.1.4",
"@swetrix/sdk": "^1.1.0",
- "@tailwindcss/forms": "^0.5.9",
+ "@tailwindcss/forms": "^0.5.10",
+ "@tailwindcss/postcss": "^4.0.0",
"@types/ua-parser-js": "^0.7.39",
"axios": "^1.7.9",
"axios-auth-refresh": "^3.3.6",
@@ -39,7 +40,7 @@
"lodash": "^4.17.21",
"lucide-react": "^0.469.0",
"marked": "^15.0.4",
- "prettier-plugin-tailwindcss": "^0.6.9",
+ "prettier-plugin-tailwindcss": "^0.6.11",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-flatpickr": "^3.10.13",
@@ -61,7 +62,7 @@
"devDependencies": {
"@remix-run/dev": "^2.15.2",
"@remix-run/eslint-config": "^2.15.2",
- "@tailwindcss/typography": "^0.5.15",
+ "@tailwindcss/typography": "^0.5.16",
"@types/file-saver": "^2.0.7",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.2",
@@ -71,14 +72,13 @@
"@types/react-outside-click-handler": "^1.3.4",
"@typescript-eslint/parser": "^8.18.2",
"@typescript-eslint/typescript-estree": "^8.18.2",
- "autoprefixer": "^10.4.20",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"knip": "^5.41.1",
- "postcss": "^8.4.49",
+ "postcss": "^8.5.1",
"prettier": "^3.4.2",
- "tailwindcss": "^3.4.17",
+ "tailwindcss": "^4.0.0",
"typescript": "^5.7.2"
},
"engines": {
@@ -87,6 +87,8 @@
},
"node_modules/@alloc/quick-lru": {
"version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
+ "integrity": "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==",
"license": "MIT",
"engines": {
"node": ">=10"
@@ -1161,6 +1163,7 @@
},
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@nodelib/fs.stat": "2.0.5",
@@ -1172,6 +1175,7 @@
},
"node_modules/@nodelib/fs.stat": {
"version": "2.0.5",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 8"
@@ -1179,6 +1183,7 @@
},
"node_modules/@nodelib/fs.walk": {
"version": "1.2.8",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@nodelib/fs.scandir": "2.1.5",
@@ -2385,17 +2390,244 @@
"license": "MIT"
},
"node_modules/@tailwindcss/forms": {
- "version": "0.5.9",
+ "version": "0.5.10",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.10.tgz",
+ "integrity": "sha512-utI1ONF6uf/pPNO68kmN1b8rEwNXv3czukalo8VtJH8ksIkZXr3Q3VYudZLkCsDd4Wku120uF02hYK25XGPorw==",
"license": "MIT",
"dependencies": {
"mini-svg-data-uri": "^1.2.3"
},
"peerDependencies": {
- "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20"
+ "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20 || >= 4.0.0-beta.1"
+ }
+ },
+ "node_modules/@tailwindcss/node": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.0.0.tgz",
+ "integrity": "sha512-tfG2uBvo6j6kDIPmntxwXggCOZAt7SkpAXJ6pTIYirNdk5FBqh/CZZ9BZPpgcl/tNFLs6zc4yghM76sqiELG9g==",
+ "license": "MIT",
+ "dependencies": {
+ "enhanced-resolve": "^5.18.0",
+ "jiti": "^2.4.2",
+ "tailwindcss": "4.0.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.0.0.tgz",
+ "integrity": "sha512-W3FjpJgy4VV1JiL7iBYDf2n/WkeDg1Il+0Q7eWnqPyvkPPCo/Mbwc5BiaT7dfBNV6tQKAhVE34rU5xl8pSl50w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10"
+ },
+ "optionalDependencies": {
+ "@tailwindcss/oxide-android-arm64": "4.0.0",
+ "@tailwindcss/oxide-darwin-arm64": "4.0.0",
+ "@tailwindcss/oxide-darwin-x64": "4.0.0",
+ "@tailwindcss/oxide-freebsd-x64": "4.0.0",
+ "@tailwindcss/oxide-linux-arm-gnueabihf": "4.0.0",
+ "@tailwindcss/oxide-linux-arm64-gnu": "4.0.0",
+ "@tailwindcss/oxide-linux-arm64-musl": "4.0.0",
+ "@tailwindcss/oxide-linux-x64-gnu": "4.0.0",
+ "@tailwindcss/oxide-linux-x64-musl": "4.0.0",
+ "@tailwindcss/oxide-win32-arm64-msvc": "4.0.0",
+ "@tailwindcss/oxide-win32-x64-msvc": "4.0.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-android-arm64": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.0.0.tgz",
+ "integrity": "sha512-EAhjU0+FIdyGPR+7MbBWubLLPtmOu+p7c2egTTFBRk/n//zYjNvVK0WhcBK5Y7oUB5mo4EjA2mCbY7dcEMWSRw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-arm64": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.0.0.tgz",
+ "integrity": "sha512-hdz4xnSWS11cIp+7ye+3dGHqs0X33z+BXXTtgPOguDWVa+TdXUzwxonklSzf5wlJFuot3dv5eWzhlNai0oYYQg==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-darwin-x64": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.0.0.tgz",
+ "integrity": "sha512-+dOUUaXTkPKKhtUI9QtVaYg+MpmLh2CN0dHohiYXaBirEyPMkjaT0zbRgzQlNnQWjCVVXPQluIEb0OMEjSTH+Q==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-freebsd-x64": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.0.0.tgz",
+ "integrity": "sha512-CJhGDhxnrmu4SwyC62fA+wP24MhA/TZlIhRHqg1kRuIHoGoVR2uSSm1qxTxU37tSSZj8Up0q6jsBJCAP4k7rgQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.0.0.tgz",
+ "integrity": "sha512-Wy7Av0xzXfY2ujZBcYy4+7GQm25/J1iHvlQU2CfwdDCuPWfIjYzR6kggz+uVdSJyKV2s64znchBxRE8kV4uXSA==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.0.0.tgz",
+ "integrity": "sha512-srwBo2l6pvM0swBntc1ucuhGsfFOLkqPRFQ3dWARRTfSkL1U9nAsob2MKc/n47Eva/W9pZZgMOuf7rDw8pK1Ew==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-arm64-musl": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.0.0.tgz",
+ "integrity": "sha512-abhusswkduYWuezkBmgo0K0/erGq3M4Se5xP0fhc/0dKs0X/rJUYYCFWntHb3IGh3aVzdQ0SXJs93P76DbUqtw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-gnu": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.0.0.tgz",
+ "integrity": "sha512-hGtRYIUEx377/HlU49+jvVKKwU1MDSKYSMMs0JFO2Wp7LGxk5+0j5+RBk9NFnmp/lbp32yPTgIOO5m1BmDq36A==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-linux-x64-musl": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.0.0.tgz",
+ "integrity": "sha512-7xgQgSAThs0I14VAgmxpJnK6XFSZBxHMGoDXkLyYkEnu+8WRQMbCP93dkCUn2PIv+Q+JulRgc00PJ09uORSLXQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.0.0.tgz",
+ "integrity": "sha512-qEcgTIPcWY5ZE7f6VxQ/JPrSFMcehzVIlZj7sGE3mVd5YWreAT+Fl1vSP8q2pjnWXn0avZG3Iw7a2hJQAm+fTQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-win32-x64-msvc": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.0.0.tgz",
+ "integrity": "sha512-bqT0AY8RXb8GMDy28JtngvqaOSB2YixbLPLvUo6I6lkvvUwA6Eqh2Tj60e2Lh7O/k083f8tYiB0WEK4wmTI7Jg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@tailwindcss/postcss": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.0.0.tgz",
+ "integrity": "sha512-lI2bPk4TvwavHdehjr5WiC6HnZ59hacM6ySEo4RM/H7tsjWd8JpqiNW9ThH7rO/yKtrn4mGBoXshpvn8clXjPg==",
+ "license": "MIT",
+ "dependencies": {
+ "@alloc/quick-lru": "^5.2.0",
+ "@tailwindcss/node": "^4.0.0",
+ "@tailwindcss/oxide": "^4.0.0",
+ "lightningcss": "^1.29.1",
+ "postcss": "^8.4.41",
+ "tailwindcss": "4.0.0"
}
},
"node_modules/@tailwindcss/typography": {
- "version": "0.5.15",
+ "version": "0.5.16",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.16.tgz",
+ "integrity": "sha512-0wDLwCVF5V3x3b1SGXPCDcdsbDHMBe+lkFzBRaHeLvNi+nrrnZ1lA18u+OTWO8iSWU2GxUOCvlXtDuqftc1oiA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2405,7 +2637,7 @@
"postcss-selector-parser": "6.0.10"
},
"peerDependencies": {
- "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20"
+ "tailwindcss": ">=3.0.0 || insiders || >=4.0.0-alpha.20 || >=4.0.0-beta.1"
}
},
"node_modules/@tailwindcss/typography/node_modules/postcss-selector-parser": {
@@ -3354,10 +3586,6 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
- "node_modules/any-promise": {
- "version": "1.3.0",
- "license": "MIT"
- },
"node_modules/anymatch": {
"version": "3.1.3",
"license": "ISC",
@@ -3572,42 +3800,6 @@
"version": "0.4.0",
"license": "MIT"
},
- "node_modules/autoprefixer": {
- "version": "10.4.20",
- "dev": true,
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/autoprefixer"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "browserslist": "^4.23.3",
- "caniuse-lite": "^1.0.30001646",
- "fraction.js": "^4.3.7",
- "normalize-range": "^0.1.2",
- "picocolors": "^1.0.1",
- "postcss-value-parser": "^4.2.0"
- },
- "bin": {
- "autoprefixer": "bin/autoprefixer"
- },
- "engines": {
- "node": "^10 || ^12 || >=14"
- },
- "peerDependencies": {
- "postcss": "^8.1.0"
- }
- },
"node_modules/available-typed-arrays": {
"version": "1.0.7",
"license": "MIT",
@@ -3968,13 +4160,6 @@
"node": ">=6"
}
},
- "node_modules/camelcase-css": {
- "version": "2.0.1",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/caniuse-lite": {
"version": "1.0.30001669",
"funding": [
@@ -4148,6 +4333,7 @@
},
"node_modules/commander": {
"version": "4.1.1",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 6"
@@ -5013,14 +5199,22 @@
],
"license": "MIT"
},
+ "node_modules/detect-libc": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
+ "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==",
+ "license": "Apache-2.0",
+ "bin": {
+ "detect-libc": "bin/detect-libc.js"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
"node_modules/diacritics": {
"version": "1.3.0",
"license": "MIT"
},
- "node_modules/didyoumean": {
- "version": "1.2.2",
- "license": "Apache-2.0"
- },
"node_modules/diff": {
"version": "5.2.0",
"license": "BSD-3-Clause",
@@ -5039,10 +5233,6 @@
"node": ">=8"
}
},
- "node_modules/dlv": {
- "version": "1.1.3",
- "license": "MIT"
- },
"node_modules/doctrine": {
"version": "2.1.0",
"dev": true,
@@ -5135,8 +5325,9 @@
}
},
"node_modules/enhanced-resolve": {
- "version": "5.17.1",
- "dev": true,
+ "version": "5.18.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.0.tgz",
+ "integrity": "sha512-0/r0MySGYG8YqlayBZ6MuCfECmHFdJ5qyPh8s8wa5Hnm6SaFLSK1VYCbj+NKp090Nm1caZhD+QTnmxO7esYGyQ==",
"license": "MIT",
"dependencies": {
"graceful-fs": "^4.2.4",
@@ -6159,6 +6350,7 @@
},
"node_modules/fast-glob": {
"version": "3.3.2",
+ "dev": true,
"license": "MIT",
"dependencies": {
"@nodelib/fs.stat": "^2.0.2",
@@ -6203,6 +6395,7 @@
},
"node_modules/fastq": {
"version": "1.17.1",
+ "dev": true,
"license": "ISC",
"dependencies": {
"reusify": "^1.0.4"
@@ -6389,18 +6582,6 @@
"node": ">= 0.6"
}
},
- "node_modules/fraction.js": {
- "version": "4.3.7",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": "*"
- },
- "funding": {
- "type": "patreon",
- "url": "https://github.com/sponsors/rawify"
- }
- },
"node_modules/framer-motion": {
"version": "11.15.0",
"resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.15.0.tgz",
@@ -7592,10 +7773,12 @@
"license": "MIT"
},
"node_modules/jiti": {
- "version": "1.21.6",
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz",
+ "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==",
"license": "MIT",
"bin": {
- "jiti": "bin/jiti.js"
+ "jiti": "lib/jiti-cli.mjs"
}
},
"node_modules/js-tokens": {
@@ -7753,16 +7936,6 @@
"typescript": ">=5.0.4"
}
},
- "node_modules/knip/node_modules/jiti": {
- "version": "2.4.0",
- "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.0.tgz",
- "integrity": "sha512-H5UpaUI+aHOqZXlYOaFP/8AzKsg+guWu+Pr3Y8i7+Y3zr1aXAvCvTAQ1RxSc6oVD8R8c7brgNtTVP91E7upH/g==",
- "dev": true,
- "license": "MIT",
- "bin": {
- "jiti": "lib/jiti-cli.mjs"
- }
- },
"node_modules/knip/node_modules/parse-ms": {
"version": "4.0.0",
"dev": true,
@@ -7845,6 +8018,234 @@
"immediate": "~3.0.5"
}
},
+ "node_modules/lightningcss": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.29.1.tgz",
+ "integrity": "sha512-FmGoeD4S05ewj+AkhTY+D+myDvXI6eL27FjHIjoyUkO/uw7WZD1fBVs0QxeYWa7E17CUHJaYX/RUGISCtcrG4Q==",
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^1.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-darwin-arm64": "1.29.1",
+ "lightningcss-darwin-x64": "1.29.1",
+ "lightningcss-freebsd-x64": "1.29.1",
+ "lightningcss-linux-arm-gnueabihf": "1.29.1",
+ "lightningcss-linux-arm64-gnu": "1.29.1",
+ "lightningcss-linux-arm64-musl": "1.29.1",
+ "lightningcss-linux-x64-gnu": "1.29.1",
+ "lightningcss-linux-x64-musl": "1.29.1",
+ "lightningcss-win32-arm64-msvc": "1.29.1",
+ "lightningcss-win32-x64-msvc": "1.29.1"
+ }
+ },
+ "node_modules/lightningcss-darwin-arm64": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.29.1.tgz",
+ "integrity": "sha512-HtR5XJ5A0lvCqYAoSv2QdZZyoHNttBpa5EP9aNuzBQeKGfbyH5+UipLWvVzpP4Uml5ej4BYs5I9Lco9u1fECqw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-darwin-x64": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.29.1.tgz",
+ "integrity": "sha512-k33G9IzKUpHy/J/3+9MCO4e+PzaFblsgBjSGlpAaFikeBFm8B/CkO3cKU9oI4g+fjS2KlkLM/Bza9K/aw8wsNA==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-freebsd-x64": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.29.1.tgz",
+ "integrity": "sha512-0SUW22fv/8kln2LnIdOCmSuXnxgxVC276W5KLTwoehiO0hxkacBxjHOL5EtHD8BAXg2BvuhsJPmVMasvby3LiQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm-gnueabihf": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.29.1.tgz",
+ "integrity": "sha512-sD32pFvlR0kDlqsOZmYqH/68SqUMPNj+0pucGxToXZi4XZgZmqeX/NkxNKCPsswAXU3UeYgDSpGhu05eAufjDg==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm64-gnu": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.29.1.tgz",
+ "integrity": "sha512-0+vClRIZ6mmJl/dxGuRsE197o1HDEeeRk6nzycSy2GofC2JsY4ifCRnvUWf/CUBQmlrvMzt6SMQNMSEu22csWQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-arm64-musl": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.29.1.tgz",
+ "integrity": "sha512-UKMFrG4rL/uHNgelBsDwJcBqVpzNJbzsKkbI3Ja5fg00sgQnHw/VrzUTEc4jhZ+AN2BvQYz/tkHu4vt1kLuJyw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-x64-gnu": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.29.1.tgz",
+ "integrity": "sha512-u1S+xdODy/eEtjADqirA774y3jLcm8RPtYztwReEXoZKdzgsHYPl0s5V52Tst+GKzqjebkULT86XMSxejzfISw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-linux-x64-musl": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.29.1.tgz",
+ "integrity": "sha512-L0Tx0DtaNUTzXv0lbGCLB/c/qEADanHbu4QdcNOXLIe1i8i22rZRpbT3gpWYsCh9aSL9zFujY/WmEXIatWvXbw==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-win32-arm64-msvc": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.29.1.tgz",
+ "integrity": "sha512-QoOVnkIEFfbW4xPi+dpdft/zAKmgLgsRHfJalEPYuJDOWf7cLQzYg0DEh8/sn737FaeMJxHZRc1oBreiwZCjog==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.29.1",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.29.1.tgz",
+ "integrity": "sha512-NygcbThNBe4JElP+olyTI/doBNGJvLs3bFCRPdvuCcxZCcCZ71B858IHpdm7L1btZex0FvCmM17FK98Y9MRy1Q==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
"node_modules/lilconfig": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz",
@@ -7857,10 +8258,6 @@
"url": "https://github.com/sponsors/antonk52"
}
},
- "node_modules/lines-and-columns": {
- "version": "1.2.4",
- "license": "MIT"
- },
"node_modules/loader-utils": {
"version": "3.3.1",
"license": "MIT",
@@ -8202,6 +8599,7 @@
},
"node_modules/merge2": {
"version": "1.4.1",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 8"
@@ -8772,6 +9170,7 @@
},
"node_modules/micromatch": {
"version": "4.0.8",
+ "dev": true,
"license": "MIT",
"dependencies": {
"braces": "^3.0.3",
@@ -9003,15 +9402,6 @@
"version": "2.1.3",
"license": "MIT"
},
- "node_modules/mz": {
- "version": "2.7.0",
- "license": "MIT",
- "dependencies": {
- "any-promise": "^1.0.0",
- "object-assign": "^4.0.1",
- "thenify-all": "^1.0.0"
- }
- },
"node_modules/nanoid": {
"version": "3.3.8",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz",
@@ -9091,14 +9481,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/normalize-range": {
- "version": "0.1.2",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/npm-install-checks": {
"version": "6.3.0",
"license": "BSD-2-Clause",
@@ -9159,13 +9541,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/object-hash": {
- "version": "3.0.0",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/object-inspect": {
"version": "1.13.2",
"license": "MIT",
@@ -9468,6 +9843,7 @@
},
"node_modules/path-parse": {
"version": "1.0.7",
+ "dev": true,
"license": "MIT"
},
"node_modules/path-scurry": {
@@ -9555,20 +9931,6 @@
"node": ">=0.10"
}
},
- "node_modules/pify": {
- "version": "2.3.0",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/pirates": {
- "version": "4.0.6",
- "license": "MIT",
- "engines": {
- "node": ">= 6"
- }
- },
"node_modules/pkg-types": {
"version": "1.2.1",
"license": "MIT",
@@ -9586,9 +9948,9 @@
}
},
"node_modules/postcss": {
- "version": "8.4.49",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz",
- "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==",
+ "version": "8.5.1",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.1.tgz",
+ "integrity": "sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==",
"funding": [
{
"type": "opencollective",
@@ -9605,7 +9967,7 @@
],
"license": "MIT",
"dependencies": {
- "nanoid": "^3.3.7",
+ "nanoid": "^3.3.8",
"picocolors": "^1.1.1",
"source-map-js": "^1.2.1"
},
@@ -9623,38 +9985,6 @@
"postcss": "^8.2.15"
}
},
- "node_modules/postcss-import": {
- "version": "15.1.0",
- "license": "MIT",
- "dependencies": {
- "postcss-value-parser": "^4.0.0",
- "read-cache": "^1.0.0",
- "resolve": "^1.1.7"
- },
- "engines": {
- "node": ">=14.0.0"
- },
- "peerDependencies": {
- "postcss": "^8.0.0"
- }
- },
- "node_modules/postcss-js": {
- "version": "4.0.1",
- "license": "MIT",
- "dependencies": {
- "camelcase-css": "^2.0.1"
- },
- "engines": {
- "node": "^12 || ^14 || >= 16"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- "peerDependencies": {
- "postcss": "^8.4.21"
- }
- },
"node_modules/postcss-load-config": {
"version": "4.0.2",
"funding": [
@@ -9756,29 +10086,6 @@
"postcss": "^8.1.0"
}
},
- "node_modules/postcss-nested": {
- "version": "6.2.0",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "license": "MIT",
- "dependencies": {
- "postcss-selector-parser": "^6.1.1"
- },
- "engines": {
- "node": ">=12.0"
- },
- "peerDependencies": {
- "postcss": "^8.2.14"
- }
- },
"node_modules/postcss-selector-parser": {
"version": "6.1.2",
"license": "MIT",
@@ -9818,9 +10125,9 @@
}
},
"node_modules/prettier-plugin-tailwindcss": {
- "version": "0.6.9",
- "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.9.tgz",
- "integrity": "sha512-r0i3uhaZAXYP0At5xGfJH876W3HHGHDp+LCRUJrs57PBeQ6mYHMwr25KH8NPX44F2yGTvdnH7OqCshlQx183Eg==",
+ "version": "0.6.11",
+ "resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.6.11.tgz",
+ "integrity": "sha512-YxaYSIvZPAqhrrEpRtonnrXdghZg1irNg4qrjboCXrpybLWVs55cW2N3juhspVJiO0JBvYJT8SYsJpc8OQSnsA==",
"license": "MIT",
"engines": {
"node": ">=14.21.3"
@@ -9830,7 +10137,7 @@
"@prettier/plugin-pug": "*",
"@shopify/prettier-plugin-liquid": "*",
"@trivago/prettier-plugin-sort-imports": "*",
- "@zackad/prettier-plugin-twig-melody": "*",
+ "@zackad/prettier-plugin-twig": "*",
"prettier": "^3.0",
"prettier-plugin-astro": "*",
"prettier-plugin-css-order": "*",
@@ -9857,7 +10164,7 @@
"@trivago/prettier-plugin-sort-imports": {
"optional": true
},
- "@zackad/prettier-plugin-twig-melody": {
+ "@zackad/prettier-plugin-twig": {
"optional": true
},
"prettier-plugin-astro": {
@@ -10066,6 +10373,7 @@
},
"node_modules/queue-microtask": {
"version": "1.2.3",
+ "dev": true,
"funding": [
{
"type": "github",
@@ -10262,13 +10570,6 @@
"react-dom": ">=16.8"
}
},
- "node_modules/read-cache": {
- "version": "1.0.0",
- "license": "MIT",
- "dependencies": {
- "pify": "^2.3.0"
- }
- },
"node_modules/readable-stream": {
"version": "2.3.8",
"license": "MIT",
@@ -10589,6 +10890,7 @@
},
"node_modules/resolve": {
"version": "1.22.8",
+ "dev": true,
"license": "MIT",
"dependencies": {
"is-core-module": "^2.13.0",
@@ -10645,6 +10947,7 @@
},
"node_modules/reusify": {
"version": "1.0.4",
+ "dev": true,
"license": "MIT",
"engines": {
"iojs": ">=1.0.0",
@@ -10723,6 +11026,7 @@
},
"node_modules/run-parallel": {
"version": "1.2.0",
+ "dev": true,
"funding": [
{
"type": "github",
@@ -11321,26 +11625,6 @@
"inline-style-parser": "0.1.1"
}
},
- "node_modules/sucrase": {
- "version": "3.35.0",
- "license": "MIT",
- "dependencies": {
- "@jridgewell/gen-mapping": "^0.3.2",
- "commander": "^4.0.0",
- "glob": "^10.3.10",
- "lines-and-columns": "^1.1.6",
- "mz": "^2.7.0",
- "pirates": "^4.0.1",
- "ts-interface-checker": "^0.1.9"
- },
- "bin": {
- "sucrase": "bin/sucrase",
- "sucrase-node": "bin/sucrase-node"
- },
- "engines": {
- "node": ">=16 || 14 >=14.17"
- }
- },
"node_modules/summary": {
"version": "2.1.0",
"dev": true,
@@ -11358,6 +11642,7 @@
},
"node_modules/supports-preserve-symlinks-flag": {
"version": "1.0.0",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 0.4"
@@ -11380,55 +11665,13 @@
"license": "MIT"
},
"node_modules/tailwindcss": {
- "version": "3.4.17",
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz",
- "integrity": "sha512-w33E2aCvSDP0tW9RZuNXadXlkHXqFzSkQew/aIa2i/Sj8fThxwovwlXHSPXTbAHwEIhBFXAedUhP2tueAKP8Og==",
- "license": "MIT",
- "dependencies": {
- "@alloc/quick-lru": "^5.2.0",
- "arg": "^5.0.2",
- "chokidar": "^3.6.0",
- "didyoumean": "^1.2.2",
- "dlv": "^1.1.3",
- "fast-glob": "^3.3.2",
- "glob-parent": "^6.0.2",
- "is-glob": "^4.0.3",
- "jiti": "^1.21.6",
- "lilconfig": "^3.1.3",
- "micromatch": "^4.0.8",
- "normalize-path": "^3.0.0",
- "object-hash": "^3.0.0",
- "picocolors": "^1.1.1",
- "postcss": "^8.4.47",
- "postcss-import": "^15.1.0",
- "postcss-js": "^4.0.1",
- "postcss-load-config": "^4.0.2",
- "postcss-nested": "^6.2.0",
- "postcss-selector-parser": "^6.1.2",
- "resolve": "^1.22.8",
- "sucrase": "^3.35.0"
- },
- "bin": {
- "tailwind": "lib/cli.js",
- "tailwindcss": "lib/cli.js"
- },
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/tailwindcss/node_modules/glob-parent": {
- "version": "6.0.2",
- "license": "ISC",
- "dependencies": {
- "is-glob": "^4.0.3"
- },
- "engines": {
- "node": ">=10.13.0"
- }
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.0.0.tgz",
+ "integrity": "sha512-ULRPI3A+e39T7pSaf1xoi58AqqJxVCLg8F/uM5A3FadUbnyDTgltVnXJvdkTjwCOGA6NazqHVcwPJC5h2vRYVQ==",
+ "license": "MIT"
},
"node_modules/tapable": {
"version": "2.2.1",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -11585,23 +11828,6 @@
"dev": true,
"license": "MIT"
},
- "node_modules/thenify": {
- "version": "3.3.1",
- "license": "MIT",
- "dependencies": {
- "any-promise": "^1.0.0"
- }
- },
- "node_modules/thenify-all": {
- "version": "1.6.0",
- "license": "MIT",
- "dependencies": {
- "thenify": ">= 3.1.0 < 4"
- },
- "engines": {
- "node": ">=0.8"
- }
- },
"node_modules/through2": {
"version": "2.0.5",
"license": "MIT",
@@ -11677,10 +11903,6 @@
"typescript": ">=4.2.0"
}
},
- "node_modules/ts-interface-checker": {
- "version": "0.1.13",
- "license": "Apache-2.0"
- },
"node_modules/tsconfig-paths": {
"version": "4.2.0",
"license": "MIT",
diff --git a/web/package.json b/web/package.json
index df6f49a80..31a93338d 100644
--- a/web/package.json
+++ b/web/package.json
@@ -30,7 +30,8 @@
"@remix-run/serve": "^2.15.2",
"@remix-run/v1-route-convention": "^0.1.4",
"@swetrix/sdk": "^1.1.0",
- "@tailwindcss/forms": "^0.5.9",
+ "@tailwindcss/forms": "^0.5.10",
+ "@tailwindcss/postcss": "^4.0.0",
"@types/ua-parser-js": "^0.7.39",
"axios": "^1.7.9",
"axios-auth-refresh": "^3.3.6",
@@ -52,7 +53,7 @@
"lodash": "^4.17.21",
"lucide-react": "^0.469.0",
"marked": "^15.0.4",
- "prettier-plugin-tailwindcss": "^0.6.9",
+ "prettier-plugin-tailwindcss": "^0.6.11",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-flatpickr": "^3.10.13",
@@ -131,7 +132,7 @@
"devDependencies": {
"@remix-run/dev": "^2.15.2",
"@remix-run/eslint-config": "^2.15.2",
- "@tailwindcss/typography": "^0.5.15",
+ "@tailwindcss/typography": "^0.5.16",
"@types/file-saver": "^2.0.7",
"@types/lodash": "^4.17.13",
"@types/node": "^22.10.2",
@@ -141,14 +142,13 @@
"@types/react-outside-click-handler": "^1.3.4",
"@typescript-eslint/parser": "^8.18.2",
"@typescript-eslint/typescript-estree": "^8.18.2",
- "autoprefixer": "^10.4.20",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"knip": "^5.41.1",
- "postcss": "^8.4.49",
+ "postcss": "^8.5.1",
"prettier": "^3.4.2",
- "tailwindcss": "^3.4.17",
+ "tailwindcss": "^4.0.0",
"typescript": "^5.7.2"
},
"engines": {
diff --git a/web/postcss.config.js b/web/postcss.config.js
index 33ad091d2..52b9b4baf 100644
--- a/web/postcss.config.js
+++ b/web/postcss.config.js
@@ -1,6 +1,5 @@
module.exports = {
plugins: {
- tailwindcss: {},
- autoprefixer: {},
+ '@tailwindcss/postcss': {},
},
}
diff --git a/web/tailwind.config.ts b/web/tailwind.config.ts
deleted file mode 100644
index fc8b551db..000000000
--- a/web/tailwind.config.ts
+++ /dev/null
@@ -1,75 +0,0 @@
-import type { Config } from 'tailwindcss'
-import plugin from 'tailwindcss/plugin'
-
-export default {
- mode: 'jit',
- content: ['./app/**/*.{js,jsx,ts,tsx}'],
- darkMode: 'class', // or 'media' or 'class'
- theme: {
- screens: {
- xs: '400px',
- sm: '640px',
- md: '768px',
- lg: '1024px',
- xl: '1280px',
- '2xl': '1536px',
- },
- extend: {
- colors: {
- gray: {
- 750: '#141d2e',
- },
- },
- width: {
- 'card-toggle': 'calc(100% - 3rem)',
- },
- animation: {
- 'ping-slow': 'ping-op 3s cubic-bezier(0, 0, 0.2, 1) infinite',
- appear: 'appear 0.5s cubic-bezier(0, 0, 0.2, 1) 1',
- },
- keyframes: {
- 'ping-op': {
- '0%': {
- opacity: '0.75',
- },
- '75%, 100%': {
- transform: 'scale(2)',
- opacity: '0',
- },
- },
- appear: {
- '0%': {
- transform: 'scale(0)',
- opacity: '0',
- },
- '75%, 100%': {
- transform: 'scale(1)',
- opacity: '1',
- },
- },
- },
- },
- minHeight: {
- 72: '18rem',
- page: 'calc(100vh - 74px)', // header height -> 74px
- 'min-footer': 'calc(100vh - 148px)',
- },
- },
- variants: {
- extend: {},
- scrollBehavior: ['motion-safe', 'motion-reduce', 'responsive'],
- },
- plugins: [
- require('@tailwindcss/forms'),
- require('@tailwindcss/typography'),
- plugin(({ addVariant, addUtilities, matchVariant }) => {
- addVariant('has-hover', '@media (hover: hover) and (pointer: fine)')
- addVariant('no-hover', '@media not all and (hover: hover) and (pointer: fine)')
-
- addVariant('hover-always', [
- '@media (hover: hover) and (pointer: fine) { &:hover }',
- '@media not all and (hover: hover) and (pointer: fine)',
- ])
- }),
- ],
-} satisfies Config