Skip to content

Commit 9ccaad0

Browse files
committed
web: align captcha stage with post-21380 main drift
Picks up the non-PR-#21380 changes to captcha files that are already on main: `.style-scope` selector variants in CaptchaStage.css (from #20134) and `export default CaptchaStage` (from #20397). Both are functionally inert on this branch — no code applies the style-scope class to ak-stage-captcha, and no importer uses the default export — but including them keeps the cherry-pick zero-drift against main.
1 parent 9e66313 commit 9ccaad0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

web/src/flow/stages/captcha/CaptchaStage.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
:host {
1+
:host,
2+
ak-stage-captcha.style-scope {
23
--captcha-background-to: var(--pf-global--BackgroundColor--light-100);
34
--captcha-background-from: var(--pf-global--BackgroundColor--light-300);
45
}
56

6-
:host([theme="dark"]) {
7+
:host([theme="dark"]),
8+
ak-stage-captcha[theme="dark"].style-scope {
79
--captcha-background-to: var(--ak-dark-background-light);
810
--captcha-background-from: var(--pf-global--BackgroundColor--300);
911
}

web/src/flow/stages/captcha/CaptchaStage.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@ export class CaptchaStage
560560
}
561561
}
562562

563+
export default CaptchaStage;
564+
563565
declare global {
564566
interface HTMLElementTagNameMap {
565567
"ak-stage-captcha": CaptchaStage;

0 commit comments

Comments
 (0)