+
+ This page is not ready yet
+ Sorry, it's on our TODO list.
+
+
diff --git a/sites/org/docusaurus.config.mjs b/sites/org/docusaurus.config.mjs
index 7c1c48727d8..a93d4206585 100644
--- a/sites/org/docusaurus.config.mjs
+++ b/sites/org/docusaurus.config.mjs
@@ -258,7 +258,7 @@ const config = {
colorMode: {
defaultMode: 'light',
disableSwitch: false,
- respectPrefersColorScheme: true,
+ respectPrefersColorScheme: false,
},
image: 'img/freesewing-social-card.png',
navbar: {
diff --git a/sites/org/src/lib/i18n.mjs b/sites/org/src/lib/i18n.mjs
index 4b46be470e6..f584c6bd34a 100644
--- a/sites/org/src/lib/i18n.mjs
+++ b/sites/org/src/lib/i18n.mjs
@@ -2,7 +2,7 @@
* This file is auto-generated.
* Any changes you make will be overwritten by the prebuild step.
*/
-export const measurements = {"ankle":"Ankle circumference","biceps":"Biceps circumference","bustFront":"Bust front","bustPointToUnderbust":"Bust point to underbust","bustSpan":"Bust span","chest":"Chest circumference","crossSeam":"Cross seam","crossSeamFront":"Cross seam front","head":"Head circumference","heel":"Heel circumference","highBustFront":"High bust front","highBust":"High bust","hips":"Hips circumference","hpsToBust":"HPS to bust","hpsToWaistBack":"HPS to waist back","hpsToWaistFront":"HPS to waist front","inseam":"Inseam","knee":"Knee circumference","neck":"Neck circumference","seat":"Seat circumference","seatBack":"Seat back","crotchDepth":"Crotch depth","shoulderSlope":"Shoulder slope","shoulderToElbow":"Shoulder to elbow","shoulderToShoulder":"Shoulder to shoulder","shoulderToWrist":"Shoulder to wrist","underbust":"Underbust","upperLeg":"Upper leg circumference","waist":"Waist circumference","waistBack":"Waist back","waistToArmpit":"Waist to armpit","waistToFloor":"Waist to floor","waistToHips":"Waist to hips","waistToKnee":"Waist to knee","waistToSeat":"Waist to seat","waistToUnderbust":"Waist to underbust","waistToUpperLeg":"Waist to upper leg","wrist":"Wrist circumference"}
+export const measurements = {"ankle":"Ankle circumference","biceps":"Biceps circumference","bustFront":"Bust front","bustPointToUnderbust":"Bust point to underbust","bustSpan":"Bust span","chest":"Chest circumference","crossSeam":"Cross seam","crossSeamFront":"Cross seam front","head":"Head circumference","heel":"Heel circumference","height":"Height","highBustFront":"High bust front","highBust":"High bust","hips":"Hips circumference","hpsToBust":"HPS to bust","hpsToWaistBack":"HPS to waist back","hpsToWaistFront":"HPS to waist front","inseam":"Inseam","knee":"Knee circumference","neck":"Neck circumference","seat":"Seat circumference","seatBack":"Seat back","crotchDepth":"Crotch depth","shoulderSlope":"Shoulder slope","shoulderToElbow":"Shoulder to elbow","shoulderToShoulder":"Shoulder to shoulder","shoulderToWrist":"Shoulder to wrist","underbust":"Underbust","upperLeg":"Upper leg circumference","waist":"Waist circumference","waistBack":"Waist back","waistToArmpit":"Waist to armpit","waistToFloor":"Waist to floor","waistToHips":"Waist to hips","waistToKnee":"Waist to knee","waistToSeat":"Waist to seat","waistToUnderbust":"Waist to underbust","waistToUpperLeg":"Waist to upper leg","wrist":"Wrist circumference"}
export const optiongroups = {"advanced":"Advanced","armhole":"Armhole","backPockets":"Back pockets","closure":"Closure","collar":"Collar","conditional":"Conditional Options","construction":"Construction","cuffs":"Cuffs","darts":"Darts","elastic":"Elastic","fit":"Fit","frontPockets":"Front pockets","length":"Length","pockets":"Pockets","style":"Style","sleevecap":"Sleevecap","test":"Test"}
diff --git a/sites/org/src/pages/index.js b/sites/org/src/pages/index.js
index cf2da243b22..567f6cd6b68 100644
--- a/sites/org/src/pages/index.js
+++ b/sites/org/src/pages/index.js
@@ -53,6 +53,25 @@ const meta = {
}
export default function Home() {
+ useEffect(() => {
+ // Check initial state
+ console.log('Initial data-theme:', document.documentElement.getAttribute('data-theme'))
+ console.log('OS prefers dark:', window.matchMedia('(prefers-color-scheme: dark)').matches)
+
+ // Monitor for changes
+ const observer = new MutationObserver((mutations) => {
+ mutations.forEach((mutation) => {
+ if (mutation.attributeName === 'data-theme') {
+ console.log('data-theme changed to:', document.documentElement.getAttribute('data-theme'))
+ }
+ })
+ })
+
+ observer.observe(document.documentElement, { attributes: true })
+
+ return () => observer.disconnect()
+ }, [])
+
return (
diff --git a/sites/org/tailwind.config.mjs b/sites/org/tailwind.config.mjs
index 9d01129eeb1..484d20523d7 100644
--- a/sites/org/tailwind.config.mjs
+++ b/sites/org/tailwind.config.mjs
@@ -5,6 +5,7 @@ import daisyui from 'daisyui'
export default {
content: [
'./src/**/*.{js,mjs,mdx}',
+ './docs/**/*.mdx',
'../../node_modules/daisyui/**/*.{js,mjs,ts,tsx}',
'../../packages/react/components/**/*.mjs',
'../../packages/react/context/**/*.mjs',