cal.pub0.org/apps/web/lib
Nafees Nazik ef6ed6050b
Feat: Add next-themes for theme handling (#3263)
* chore: add next-themes

* feat: add next theme provider

* fix: modify useTheme hook to use next-themes

* fix: use the new hook for theming

* remove conditional rendering with isReady boolean flag

* remove Theme component returned from useTheme hook

* Update missing useTheme usage

* Fix theme switching as per system. Also, ensure that booking and non booking pages can maintain their own requirements of theme simulatenously

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2022-07-26 08:27:57 +00:00
..
auth Type fixes 2022-05-17 15:32:54 -06:00
config There is lot of hardcoding links in application (#3130) 2022-07-01 11:19:52 -06:00
core Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
hooks Feat: Add next-themes for theme handling (#3263) 2022-07-26 08:27:57 +00:00
mutations/bookings Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
queries/event-types Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
types Workflows (#3236) 2022-07-14 00:10:45 +00:00
webhooks Feature: Routing Forms Webhook for Form Responses (#3444) 2022-07-20 18:30:57 +00:00
ErrorBoundary.tsx License server (#2379) 2022-05-26 11:07:14 -06:00
QueryCell.tsx Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
app-providers.tsx Feat: Add next-themes for theme handling (#3263) 2022-07-26 08:27:57 +00:00
asStringOrNull.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
auth.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
availability.ts Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
classNames.ts Add ui package for reusable components (#1916) 2022-02-21 09:41:25 -07:00
clock.ts Consolidates dayjs in a single package 2022-06-28 14:48:24 -06:00
cropImage.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
ensureArray.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
event.ts Add more variables to event names and a dynamic field (#2898) 2022-06-06 08:48:13 -04:00
getBooking.tsx save additional inputs as json + view details of booking (#2796) 2022-05-18 15:05:49 -06:00
getPlaceholderAvatar.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
getting-started.tsx Consolidates dayjs in a single package 2022-06-28 14:48:24 -06:00
hasKeyInMetadata.ts WIP stripe customer metedada sync (#3153) 2022-07-07 15:24:42 -06:00
isBrandingHidden.tsx Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
isOutOfBounds.tsx Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
isPrismaObj.ts WIP stripe customer metedada sync (#3153) 2022-07-07 15:24:42 -06:00
isSuccessRedirectAvailable.tsx Prisma fixes 2022-05-17 19:54:50 -06:00
jackson.ts Eslint fixes (#1898) 2022-02-18 16:53:45 +00:00
linkValueToString.ts Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
location.ts Fixes/locations (#2383) 2022-04-05 18:03:22 +00:00
locationOptions.tsx Change location of booking (#2658) 2022-05-27 23:27:41 +00:00
parseDate.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
parseZone.ts Consolidates dayjs in a single package 2022-06-28 14:48:24 -06:00
prisma.ts Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
profile.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
random.ts App Store (#1869) 2022-03-23 15:00:30 -07:00
saml.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
slots.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
slugify.ts Build fixes (#1929) 2022-02-21 18:45:35 +00:00
telemetry.ts Upgrading nextjs and collect (#3252) 2022-07-12 11:43:53 -06:00
timeFormat.ts App Store (#1869) 2022-03-23 15:00:30 -07:00