mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-26 12:08:15 +00:00
fix(website): restore light mode step numbers
This commit is contained in:
@@ -75,7 +75,15 @@ for (const className of gettingStartedLightSurfaces) {
|
||||
}
|
||||
}
|
||||
|
||||
const stepNumberLightRule = landingPrimaryCss.match(/html\.theme-light \.step-num\s*\{([^}]*)\}/)?.[1] || '';
|
||||
if (!/color:\s*oklch\(/.test(stepNumberLightRule)
|
||||
|| !/background:\s*none/.test(stepNumberLightRule)
|
||||
|| !/-webkit-text-fill-color:\s*currentColor/.test(stepNumberLightRule)) {
|
||||
throw new Error('Getting Started step numbers must use solid readable text in light mode');
|
||||
}
|
||||
|
||||
console.log('Extension mockup theme-sensitive text uses theme-aware colors');
|
||||
console.log('Landing CSS is render-blocking, single-request, and cascade-stable');
|
||||
console.log('Foreground film birds use complete, always-on wing and glide animations');
|
||||
console.log('All Getting Started mockups define explicit light-theme surfaces');
|
||||
console.log('Getting Started step numbers stay readable in light mode');
|
||||
|
||||
@@ -244,7 +244,9 @@
|
||||
}
|
||||
|
||||
html.theme-light .step-num {
|
||||
background: linear-gradient(135deg, oklch(0.45 0.10 150), oklch(0.40 0.08 120));
|
||||
color: oklch(0.36 0.10 145);
|
||||
background: none;
|
||||
-webkit-text-fill-color: currentColor;
|
||||
}
|
||||
|
||||
.step-text h3 {
|
||||
|
||||
Reference in New Issue
Block a user