From 25009ca4b129c01ea62d920aa09b338c260f5a9c Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Wed, 3 Jun 2026 08:20:10 +0200 Subject: [PATCH 1/5] Improve theme handling particularly for SSR sites --- src/components/ThemeProvider/README.md | 145 ++++++++++++++++++ .../ThemeProvider/ThemeProvider.hooks.ts | 24 ++- .../ThemeProvider/ThemeProvider.store.ts | 68 ++++++-- .../ThemeProvider/ThemeProvider.tsx | 34 ++-- .../ThemeProvider/ThemeProvider.types.ts | 5 + src/components/ThemeProvider/index.ts | 7 +- 6 files changed, 247 insertions(+), 36 deletions(-) create mode 100644 src/components/ThemeProvider/README.md diff --git a/src/components/ThemeProvider/README.md b/src/components/ThemeProvider/README.md new file mode 100644 index 0000000..8665d01 --- /dev/null +++ b/src/components/ThemeProvider/README.md @@ -0,0 +1,145 @@ +### How It Works + +`ThemeProvider` manages the active theme by generating CSS custom properties into a ` + + + +``` + +The `